Skip to main content
Glama

get_document

Read-onlyIdempotent

Read the Markdown representation of one canonical public Hyperwave page. Paths come from search_docs or the sitemap.

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

Input Schema

NameRequiredDescriptionDefault
pathYesCanonical site path, such as /guides/vital; no domain or query string

Output Schema

NameRequiredDescriptionDefault
urlYes
pathYes
titleYes
markdownYes
markdownUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the description's added value is the disclosure that the return is a Markdown rendering and that only canonical *public* pages are reachable. That access-scope and format information goes beyond the annotations. It omits what happens for a nonexistent or non-public path, which keeps it from a 5.

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?

Two short sentences with zero filler; the core action and scope are front-loaded and the path-provenance hint follows immediately. Every clause earns its place.

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?

With an output schema present, return values need no explanation, annotations cover the safety profile, and the one parameter is fully specified — so the description is nearly complete. The remaining gap is failure behavior for invalid, missing, or non-public paths, which an agent would otherwise have to discover empirically.

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% and the single `path` parameter already carries a description, a regex pattern forbidding double slashes/query/fragment, and a max length. The description reinforces the constraint ("canonical") and adds provenance (search_docs or sitemap), but adds no syntax guidance beyond the schema, so the baseline of 3 applies.

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 ("Read") and a precisely scoped resource ("the Markdown representation of one canonical public Hyperwave page"), including the singular-one-page limit and the public-only constraint. An agent can immediately tell this is a fetch-one-document tool, distinct from a search tool that returns paths.

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?

The sentence "Paths come from search_docs or the sitemap" explicitly wires this tool into a workflow and names the sibling that produces its input, which is exactly the routing information an agent needs. It stops short of stating exclusions (e.g., do not use for private/unpublished pages or for listing multiple pages), so it does not reach a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources