Skip to main content
Glama

Bondren Documentation

Read a Bondren documentation page

get_doc
Read-onlyIdempotent

Read the canonical Markdown of one docs page by id, or a single section when an anchor is supplied. Returns the page/section URL, content hash, maturity, effective availability, and last-reviewed date alongside the markdown. Unknown page ids or anchors return a clean not-found error.

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": {
      "page_id": "<page_id>"
    },
    "name": "get_doc"
  }
}

Input Schema

NameRequiredDescriptionDefault
anchorNooptional heading anchor to read one section instead of the whole page
page_idYesthe docs page id (as returned by search_docs); required

Output Schema

NameRequiredDescriptionDefault
urlNocanonical URL of the page or section
hashNocontent hash of the returned markdown
titleNopage or section title
anchorNothe section anchor read, empty when the whole page was returned
page_idYesthe page id that was read
markdownYesthe canonical Markdown of the page (or the section text when anchor is set)
maturityNocontent maturity: ga, preview, or planned
availabilityYeseffective availability: public, invite-only, or planned
markdown_urlNocanonical Markdown URL of the page
last_reviewedNoISO date the page was last reviewed
content_revisionYesimmutable content revision of the corpus backing this document

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description still adds real value beyond them by disclosing the returned metadata (URL, content hash, maturity, effective availability, last-reviewed date) and, more importantly, the failure mode: unknown ids or anchors yield a clean not-found error rather than a partial or empty result.

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?

Three sentences, front-loaded with the core action and scope, then return metadata, then error behavior. Nothing is padded or repeated, and each sentence conveys a distinct fact.

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 rich annotations, a full schema, and an output schema that carries return-shape detail, the description is nearly complete: purpose, scope, metadata, and error behavior are all covered. It does not address handling of very large pages (truncation or size limits), which is the one remaining unknown for a content-fetching tool.

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 both page_id and anchor are already documented in the schema, including that anchor reads a single section. The description's restatement of the anchor behavior adds little beyond that, so the baseline 3 is correct rather than a higher score.

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 resource (canonical Markdown of one docs page), plus the exact scope variation: whole page by id, or a single section when an anchor is supplied. Reading one page by id is clearly separable from the sibling search_docs, which returns ids in the first place.

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?

Context is clear: this is the follow-up read once you have a page id (the schema notes ids come from search_docs), and the anchor option is framed as the narrower mode. There are no explicit when-not conditions or named alternatives in the description itself, so it stops short of full routing guidance.

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