Skip to main content
Glama

extract_page

Fetches a Doxygen-generated documentation page by refid or name (e.g., 'index', 'todo') so AI assistants can access specific page content.

Instructions

Extract a Doxygen page (by refid or name, e.g. 'index', 'todo').

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": {
      "ref": "<ref>"
    },
    "name": "extract_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/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. 'Extract' hints at a read operation, but the description says nothing about the effect of an unresolvable ref, whether lookups are case-sensitive, or what the caller gets back (raw page markup vs. parsed content, size limits).

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 the accepted parameter forms front-loaded and examples inline; nothing is padded and nothing relevant is buried.

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 one-parameter read tool with no output schema this is close to adequate, since the identifier question is answered. The remaining gap is the return value — nothing says what an extracted 'page' looks like or its format, which is exactly the kind of detail an output-schema-less tool must state in prose.

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

Parameters4/5

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

Schema coverage is 0% and the only field is a bare 'ref' string, so the description does real work by stating that either a refid or a page name is accepted and giving two sample names. It still leaves the shape of a refid undescribed (opaque hash vs. path-like), which prevents a 5.

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?

Specific verb ('Extract') plus a specific resource ('Doxygen page'), with the two accepted identifier forms and concrete examples ('index', 'todo'). The resource noun 'page' also implicitly separates it from the sibling extractors (class/dir/file/namespace/struct), though the description never states that distinction explicitly.

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

Usage Guidelines3/5

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

Usage is only implied via the examples: an agent can infer this is for documentation pages like 'index' or 'todo' rather than code symbols. There is no explicit when-to-use, no when-not-to-use, and no statement of what to do if the ref is ambiguous or refers to another compound type.

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