Skip to main content
Glama

Get document

get_document
Read-onlyIdempotent

Fetch a single Rendra document by slug, including full HTML body, metadata, and section freshness details showing when each living section was last reviewed.

Instructions

Fetch a single document including its full HTML body. Returns the same metadata as list_documents plus 'html', and a SECTION FRESHNESS block that says when each living section was last reviewed.

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": {
      "slug": "<slug>"
    },
    "name": "get_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesDocument slug.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world behavior, so the description's job is to add context — and it does by disclosing exactly what comes back: metadata, full HTML body, and a SECTION FRESHNESS block describing last-review times per living section. It omits what happens for a missing slug or any size/truncation behavior, which keeps it below 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 sentences, front-loaded with the action and payload, then the return-value detail. Nothing is redundant or padded.

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 no output schema, the description must carry return-value information — and it does, naming both the metadata set and the freshness block. The remaining gap is edge-case behavior (not-found, access) for what is otherwise a simple single-argument read 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?

Only one parameter (slug) exists and schema description coverage is 100%, so the schema already fully documents it. The description adds no format, casing, or resolution rules for the slug, 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 ('Fetch') and resource ('a single document'), and immediately scopes it against list_documents by noting it returns the same metadata 'plus html'. An agent can tell this apart from list_documents or search_documents without opening a schema.

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: the mention of a full HTML body and section freshness signals you'd pick this over list_documents when you need document content. There is no explicit when-to-use statement, no exclusions, and no named alternative for fetching by other keys.

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