Skip to main content
Glama
Anthropic Docs MCP Server

Anthropic Docs MCP Server

Search Anthropic Documentation

search_anthropic_docs

Search Anthropic documentation for a query and return up to 10 top results, helping you find Claude API and MCP guidance and examples.

Instructions

Search Anthropic documentation (docs.anthropic.com) for a query and return top results.

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": {
      "query": "<query>"
    },
    "name": "search_anthropic_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesSearch query for Anthropic documentation
max_resultsNoMaximum number of results to return (1-10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden and does little with it: it never states that the operation is read-only, whether the index is live or cached, rate limits, or authentication needs. Only the corpus (docs.anthropic.com) and that results are 'top results' are disclosed.

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

Conciseness4/5

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

A single front-loaded sentence with no filler. It is efficient, though it is arguably too terse to be genuinely helpful for a tool with no annotations.

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

Completeness3/5

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

For a simple two-parameter read tool with a fully documented schema and no output schema, the core facts are present. What the results contain (URLs, snippets, titles) and whether ranking is deterministic are left unstated.

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 query and max_results are already documented by the schema. The description adds only the domain being searched and does not explain result ordering or what 'top' means.

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?

Names a specific verb (search) and resource (Anthropic documentation at docs.anthropic.com) plus the output shape ('top results'). An agent can distinguish it from the sibling fetch_doc, but the description never says so explicitly.

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?

Usage is only implied by the phrase 'for a query' — there is no statement of when to prefer searching over fetching a known doc page, even though fetch_doc is a plausible alternative. No prerequisites, limits, or exclusions are given.

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

Deploy Server

Other Tools