Agent Docs
Server Details
Search the official docs of Claude Code, Cursor, OpenAI Codex and MCP, refreshed daily.
- Status
- Healthy
- Uptime
- 91.6% over 21 days
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- KonstantinStarovoytov/agent-docs
- GitHub Stars
- 0
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 2 tools
The two tools occupy clearly separate roles: search_docs discovers pages by relevance, read_section retrieves the full content of a specific page or heading. Descriptions explicitly chain them (search returns a url, read_section consumes it), so there is no realistic misselection.
Both names follow the same verb_noun snake_case pattern (search_docs, read_section). The convention is predictable and each name directly reflects its action.
Two tools is thin in absolute terms, but this server's scope is a narrow retrieval workflow (find page → read page), for which a search/read pair is the canonical minimum. It is borderline rather than deficient.
The search-then-read lifecycle is covered, including pagination via next_offset and heading traversal, so agents can reach full page content. Minor gaps remain: no way to enumerate available products/versions or to browse an index without a query, and cross-product comparison must be assembled manually.
Available Tools
2 toolsread_sectionRead a section of an agent doc pageARead-onlyIdempotentInspect
Read a page found by search_docs.
Without a heading: the page's description and outline (top-level sections with subsection counts). With a heading: that section's full text, including its subsections; continue long sections with next_offset. outline_depth=3 also lists subsections; use it only on long pages to find one specific subsection.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Page URL exactly as search_docs returned it. | |
| offset | No | Character offset into the section; pass the previous next_offset to continue a long section. | |
| heading | No | Heading to read, as listed in the outline (leading #s optional). Exact text first, case-insensitive, then a unique partial match; use 'Parent > Heading' when two headings share a name. Leave unset to get the page's outline. | |
| outline_depth | No | Outline depth when no heading is given: 2 lists top-level sections with subsection counts, 3 also lists the subsections. |
Output Schema
| Name | Required | Description |
|---|---|---|
| url | Yes | Page URL. |
| text | Yes | Section markdown from its heading to the next heading of the same or higher level, at most 8,000 characters per call. |
| title | Yes | Page title. |
| offset | Yes | Offset of `text` within the section. |
| heading | Yes | Path of the section returned, e.g. 'Hooks > PreToolUse'; null when only the outline was asked for. |
| outline | Yes | Top-level sections as '## Text (N subsections)' when no heading was asked for (at most 40 lines, then '+N more sections'); empty otherwise. |
| description | Yes | One sentence on what the page is. |
| next_offset | Yes | Pass as offset to read the rest; null when nothing is left. |
| total_chars | Yes | Length of the whole section. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered; the description adds the genuinely useful behavior of paginated continuation ('continue long sections with next_offset') and what content each mode returns (description + outline vs. full text plus subsections). It stops short of describing result shape details, but an output schema exists to carry those.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the core purpose, then the two mode-specific behaviors and the one caveat, in roughly five tight lines. Every clause drives behavior; no filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With 100% schema coverage, rich annotations, and an output schema present, the description only needs to add mode selection and pagination — and it does exactly that. Nothing an agent needs to call this correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so url, heading, offset, and outline_depth are already fully documented in the schema, including the exact/case-insensitive/partial heading match and the 'Parent > Heading' disambiguation. The description restates outline_depth and continuation behavior but adds no syntax or semantics beyond the schema, which is the baseline-3 case.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource (read a page/section) and immediately anchors it to its only sibling: 'Read a page found by search_docs.' It also names the two operating modes (no heading = outline, with heading = section text), so an agent can distinguish this from search_docs without opening a schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit conditional routing: omit heading to get the outline, supply heading to get that section's text and subsections. It also warns against over-using outline_depth=3 ('use it only on long pages to find one specific subsection') and points to next_offset for continuation — when-to-use, when-not-to-use, and the alternative tool are all covered.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_docsSearch official agent docsARead-onlyIdempotentInspect
Search the official documentation of Claude Code, Cursor, OpenAI Codex and MCP. Use it before answering any question about using, configuring or administering these products. Not for other products or general programming. If the answer could differ between products and the user hasn't said which one, ask.
Returns one passage per page, with the page's one-line description and a relevance score; under ~0.5 means the docs probably don't cover it. One topic per call: split multi-part questions. Need more than the passage? Call read_section(url), or read_section(url, heading) for one of the passage's other_sections.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Pages to return, 1-20 (default 8). | |
| query | Yes | What to find, in English: keywords or a short question, e.g. "<product> <feature> <what you need>". | |
| product | No | Only this product. Set it when the user has named the product, now or earlier in the conversation. Otherwise leave it empty: an unfiltered search still finds product-specific pages, while a wrong product hides the right ones. | |
| response_format | No | `concise` (default): first 300 characters of each passage, enough to choose. `detailed`: full passages, about 800 tokens each. Start concise; re-run detailed with a small limit for the pages you need. | concise |
Output Schema
| Name | Required | Description |
|---|---|---|
| passages | Yes | Ranked documentation passages. Empty if nothing matched. |
| index_snapshot | Yes | Date the documentation was indexed (ISO); null if unknown. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With readOnly/idempotent already covered by annotations, the description adds genuinely new behavioral context: one passage per page, a relevance score with a ~0.5 signal threshold, and the one-topic-per-call constraint. These are operational traits not available in the schema or annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Purpose and scope are front-loaded in the first two sentences, with return-shape and follow-up guidance after. It is denser than strictly necessary (the relevance-score aside could be trimmed), but every sentence carries actionable content.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a search tool with an output schema, the description covers scope, exclusion criteria, disambiguation, result shape, and the escalation path to read_section. An agent has everything needed to call it and interpret results without opening other fields.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline would be 3, but the description adds decision guidance beyond the field docs: set product only when the user has named it (a wrong product hides the right pages), and start concise / re-run detailed with a small limit. This meaningfully shapes parameter usage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource ('Search the official documentation') and enumerates the exact scope (Claude Code, Cursor, OpenAI Codex, MCP). It also carves itself away from the sibling read_section by naming it as the follow-up for full content.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit when-to-use ('before answering any question about using, configuring or administering these products'), explicit when-not ('Not for other products or general programming'), and an ambiguity rule ('If the answer could differ between products... ask'). It also routes to read_section for deeper content.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
2 tool updates
- First observed
read_section - First observed
search_docs
Related MCP Connectors
Search and read the Claude Platform documentation and API reference.
Search and read guides on Claude Code, Codex and Cursor, in English and Polish.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Search @imqueue docs and scaffold typed services & clients from your AI coding agent.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables searching and fetching Claude and Anthropic documentation with intelligent relevance scoring, optimized for MCP development, APIs, and examples.30 npm6MIT
- -licenseNot gradedqualityCmaintenanceEnables efficient search through Model Context Protocol documentation, supporting clients like Cursor and Claude Desktop.2-
- AlicenseBqualityAmaintenanceEnables AI coding assistants to perform real-time web searches for technical documentation and deep-fetch web pages, returning clean structured results. It supports integration with MCP clients such as Cursor, Claude, and CodeBuddy.371 npm1MIT
- AlicenseBqualityDmaintenanceEnables AI-driven semantic code search via natural language queries, integrating with MCP clients like Claude Desktop to retrieve relevant code context from any codebase.1MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.