Skip to main content
Glama
MCP Docs Scraper
by kwiscion

Get Docs Content

get_docs_content

Retrieve full markdown content, titles, headings, and sizes for specific documentation files after searching, so you can read the relevant pages in detail.

Instructions

Retrieve markdown content of specific files. Use after search_docs to get full content of relevant files. Returns content, title, headings, and size for each path.

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": {
      "docs_id": "<docs_id>",
      "paths": "<paths>"
    },
    "name": "get_docs_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYesFile paths to retrieve (e.g., ['README.md', 'docs/guide.md'])
formatNoOutput format (default: markdown)
docs_idYesDocs ID from index_docs or list_cached_docs

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It helpfully discloses the response fields (content, title, headings, size), but says nothing about whether missing paths error or are skipped, whether content is truncated, or whether docs_id must match a previously indexed cache state.

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?

Three short sentences, front-loaded with the action, followed by sequencing guidance and return shape. No filler; each sentence contributes something.

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 three-parameter read tool with fully documented schema and no output schema, the description supplies both usage context and an outline of returned fields. Only edge-case behavior for invalid or missing paths is left unaddressed.

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 docs_id, paths, and the format enum. The phrase 'for each path' adds the useful batch semantics (one result per path), but no additional detail on format tradeoffs or path resolution is offered.

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

Purpose5/5

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

States a specific verb and resource ('Retrieve markdown content of specific files') and explicitly positions the tool relative to search_docs ('get full content of relevant files'), so an agent can immediately distinguish retrieval-by-path from searching.

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?

Gives clear when-to-use guidance: call this after search_docs to fetch full content for the files identified there. It does not state when not to use it or point to get_docs_tree for structural browsing, but the primary sequencing guidance is explicit.

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