Skip to main content
Glama

templates: GET /api/templates/documents/:id

get_templates_documents_by_id_b2cb13d74a326d3a7dea6c12
Read-onlyIdempotent

GET /api/templates/documents/:id. GET /api/templates/documents/:id. Operation ID: b2cb13d74a326d3a7dea6c12; describe_operation provides native request schemas.

Input Schema

NameRequiredDescriptionDefault
queryNo
paramsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds nothing beyond that: no mention of what a 'template document' contains, what happens on a missing/invalid id, or any auth or rate constraints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The endpoint string is duplicated verbatim in back-to-back sentences, wasting the entire first half of a very short description. The only substantive content (operation ID, pointer to describe_operation) is boilerplate appended after the redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With a nested object parameter, no output schema, and zero schema description coverage, the definition should explain what a template document is and what the response looks like. It provides none of that, leaving the agent unable to know what it will receive.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden of explaining the two parameters. It only implicitly reveals that 'id' is a path identifier; the 'query' object parameter is never mentioned, and no format, example, or constraint for 'id' is given.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description restates the raw HTTP route 'GET /api/templates/documents/:id', from which an agent can infer it fetches a single template document by ID. However, it never says this in natural language, and it does not explicitly distinguish itself from the sibling 'get_templates_documents_a317937e9b02619bba36c967' (the collection listing) beyond the ':id' path segment.

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

Usage Guidelines2/5

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

There is no indication of when to use this versus the sibling templates tools or the generic 'execute_read'. The only guidance-like text, 'describe_operation provides native request schemas', points at another tool for schema lookup, which is meta-information rather than usage criteria.

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