Skip to main content
Glama

Claude Platform Docs

Read docs page

get_doc
Read-onlyIdempotent

Get the full content of a documentation page. Returns the page title, description, URL, and cleaned markdown content.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "get_doc"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesDocumentation path (e.g., /docs/en/intro or intro) or a result URL from search_docs (e.g., https://platform.claude.com/docs/en/intro). For fuzzy lookup, use search_docs.
sdk_languagesNoOnly include code examples in these languages. Without it, pages include the examples in every language and are much longer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / sdk_languages / items / enum
      Previous value: -[
      -  "typescript",
      -  "javascript",
      -  "boto3",
      -  "python",
      -  "java",
      -  "kotlin",
      -  "swift",
      -  "ruby",
      -  "go",
      -  "cli",
      -  "bash",
      -  "curl",
      -  "php",
      -  "csharp",
      -  "http",
      -  "node",
      -  "terraform",
      -  "shell",
      -  "c#"
      -]New value: +[
      +  "typescript",
      +  "javascript",
      +  "boto3",
      +  "python",
      +  "java",
      +  "kotlin",
      +  "swift",
      +  "ruby",
      +  "go",
      +  "cli",
      +  "bash",
      +  "curl",
      +  "php",
      +  "csharp",
      +  "http",
      +  "terraform",
      +  "node",
      +  "shell",
      +  "c#"
      +]
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered. Without an output schema, the description usefully discloses the return shape (title, description, URL, cleaned markdown), but says nothing about truncation of long pages, rate limits, or handling of invalid paths.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with no filler: the primary action is front-loaded and the return-value sentence carries real information enabled by the absence of an output schema. Nothing is repeated from the annotations or schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only, idempotent fetch with rich annotations and full schema coverage, the description covers what the tool does and what it returns. It falls slightly short on edge behavior such as oversized pages, missing paths, or how sdk_languages affects the returned markdown.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so both parameters (path and sdk_languages) are already documented in the schema, including the fuzzy-lookup routing to search_docs and the length consequences of omitting sdk_languages. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Get the full content of a documentation page') and enumerates the returned fields, which is more than a restatement of the name. It does not, however, distinguish itself from the sibling 'search_docs' (or 'get_api_endpoint') in the description body, leaving that differentiation to the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no when-to-use or when-not-to-use guidance and names no alternative. The only routing hint ('For fuzzy lookup, use search_docs') lives in the path parameter's schema description, not in the description text.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources