-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
fetch_workspace_docs returns "No content found" for all valid URLs
Summary
The fetch_workspace_docs tool on the workspace-developer.goog MCP server returns "No content found for the provided URL" for all URLs, including URLs returned by search_workspace_docs.
Environment
- MCP endpoint:
https://workspace-developer.goog/mcp - Protocol version:
2024-11-05 - Tested: 2026-01-15
Steps to Reproduce
- Initialize an MCP session with workspace-developer.goog
- Use
search_workspace_docsto find a page (works correctly, returns results with URLs) - Use
fetch_workspace_docswith one of those URLs - Observe: Returns "No content found" instead of page content
Minimal Reproduction
# Initialize session
RESPONSE=$(curl -s -D - -X POST https://workspace-developer.goog/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}},"id":1}' 2>&1)
SESSION=$(echo "$RESPONSE" | grep -i "mcp-session-id" | cut -d' ' -f2 | tr -d '\r')
# Send initialized notification
curl -s -X POST https://workspace-developer.goog/mcp \
-H "Content-Type: application/json" \
-H "mcp-session-id: $SESSION" \
-d '{"jsonrpc":"2.0","method":"notifications/initialized"}'
# This works - returns search results with URLs
curl -s -X POST https://workspace-developer.goog/mcp \
-H "Content-Type: application/json" \
-H "mcp-session-id: $SESSION" \
-d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"search_workspace_docs","arguments":{"query":"Drive API files.list"}},"id":2}'
# This fails - returns "No content found"
curl -s -X POST https://workspace-developer.goog/mcp \
-H "Content-Type: application/json" \
-H "mcp-session-id: $SESSION" \
-d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"fetch_workspace_docs","arguments":{"url":"https://developers.google.com/workspace/drive/api/guides/search-files"}},"id":3}'Expected Behavior
fetch_workspace_docs should return the markdown content of the requested documentation page.
Actual Behavior
Returns:
{
"result": {
"content": [
{
"type": "text",
"text": "No content found for the provided URL: https://developers.google.com/workspace/drive/api/guides/search-files"
}
]
}
}URLs Tested (all fail)
https://developers.google.com/workspace/drive/api/guides/search-fileshttps://developers.google.com/workspace/drive/api/reference/rest/v3/files/listhttps://developers.google.com/gmail/api/guides/overview
Notes
search_workspace_docsworks correctly and returns relevant resultslist_workspace_docsworks correctly- Only
fetch_workspace_docsappears broken - The tool description says it "Fetches and returns the full content of a Workspace developer documentation page" but it never returns content
Metadata
Metadata
Assignees
Labels
No labels