Skip to main content
Glama

Read document content

document_content_get
Read-only

Read content as json | markdown | html | strings (binary formats: use the REST content endpoint).

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": {
      "document_id": "<document_id>"
    },
    "name": "document_content_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNojson (default: blocks with ids and translations, what the edit tools need), markdown, html, or strings (key-value corpora).
document_idYesId of one language version of a document (from document_list or document_create).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / document_id / description
      Added value: +"Id of one language version of a document (from document_list or document_create)."
    • addedInput schema / properties / format / description
      Added value: +"json (default: blocks with ids and translations, what the edit tools need), markdown, html, or strings (key-value corpora)."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds a real behavioral boundary beyond that: binary formats are out of scope and must go through the REST content endpoint, which prevents a class of failed calls.

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?

A single front-loaded sentence with pipe-delimited options and the exclusion in parentheses — no wasted words. The terse pipe syntax is slightly cryptic in isolation but still parses cleanly.

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 two-parameter read tool with no output schema and full schema coverage, the definition covers the verb, the format options, and the binary-format exclusion. Only the shape of the returned payload is unaddressed, and the format enum implies it.

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 schema's format description already explains json (blocks with ids and translations), markdown, html, and strings in more detail than the description does. The description only restates the enum values, adding no meaning beyond the schema.

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?

States a specific verb and resource (read document content) and enumerates the supported output formats, which is concrete enough to distinguish it from metadata-oriented siblings like document_get. It stops short of naming any sibling to contrast with, so the differentiation is inferred rather than stated.

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?

The parenthetical 'binary formats: use the REST content endpoint' is a genuine routing rule, but it points outside the tool catalog rather than to a sibling tool. There is no guidance on when to choose this over document_get or when a particular format is appropriate beyond the schema's default note.

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.