Skip to main content
Glama
mcp-server-docs-search

mcp-server-docs-search

read_doc

Read a complete Markdown document or one section by heading to retrieve exact docs content after search results identify the relevant file and lines.

Instructions

Read a whole doc, or just one section of it by heading (as returned by search_docs).

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": "read_doc"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesDoc path relative to the docs root
headingNoOptional heading or 'Parent > Child' breadcrumb

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses retrieval scope (entire document or a single headed section), but says nothing about behavior for missing paths/headings, large-document sizes or truncation, permissions, or the shape of the returned content.

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?

A single sentence with zero filler; the primary capability and the optional section-selection mode are both front-loaded.

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?

This is a simple two-parameter read tool with full schema coverage and no output schema, so the description needn't explain return values. Error and size behavior remain undisclosed despite the absence of annotations, which is the only meaningful gap.

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 coverage is 100%, so the schema already documents both the path and the heading/breadcrumb format. The description adds only one piece of extra meaning—that headings originate from search_docs results—which is useful provenance but minimal beyond the schema baseline.

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 uses a specific verb (Read) and resource (doc), and explicitly covers both modes: the full document or a single section selected by heading. It does not differentiate itself from the sibling list_docs (e.g., listing vs. fetching content), so it stops short of a 5.

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

Usage Guidelines4/5

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

It states the choice an agent faces (whole doc vs. one section) and links the heading workflow to search_docs output, which tells the agent where heading values come from. It gives no explicit exclusions or prerequisites, so it falls short of full when/when-not guidance.

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