Skip to content

fetch_workspace_docs returns "No content found" for all valid URLs #50

@spm1001

Description

@spm1001

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

  1. Initialize an MCP session with workspace-developer.goog
  2. Use search_workspace_docs to find a page (works correctly, returns results with URLs)
  3. Use fetch_workspace_docs with one of those URLs
  4. 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-files
  • https://developers.google.com/workspace/drive/api/reference/rest/v3/files/list
  • https://developers.google.com/gmail/api/guides/overview

Notes

  • search_workspace_docs works correctly and returns relevant results
  • list_workspace_docs works correctly
  • Only fetch_workspace_docs appears 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
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions