Skip to main content
Glama

PlanOps

Fetch a PlanOps doc

fetch
Read-only

Retrieve the full text of a documentation record by the id returned from search.

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": {
      "id": "<id>"
    },
    "name": "fetch"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRecord id from a `search` result

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the description's contribution is limited to clarifying that this returns the document body rather than a summary or snippet. It says nothing about size limits, truncation, failure modes for stale ids, or authorization requirements.

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?

One sentence, front-loaded with the verb and the resource, ending with the key dependency in backticks. Nothing is redundant against the annotations or title.

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?

This is a simple single-parameter read tool with clear annotations and no output schema, and the description's mention of "full text" gives a usable picture of the return value. Missing only edge-case behavior for invalid or expired ids, which is minor at this complexity.

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 description coverage is 100% and the single `id` parameter is already documented as "Record id from a `search` result". The description's wording mirrors the schema almost verbatim, adding no format, provenance, or validation detail beyond it — the baseline 3 for a well-covered single parameter.

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?

The description pairs a specific verb ("Retrieve") with a specific resource ("the full text of a documentation record") and distinguishes it from `search` by noting that the latter produces the ids consumed here. It stops short of explicitly separating itself from the `search_docs` sibling, so the read-vs-search split must still be inferred.

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?

It states the precondition for use clearly — the id must come from a `search` result — which gives an agent a concrete workflow to follow. It does not state when not to use it (e.g., how it differs from `search_docs` or when metadata is sufficient instead of full text).

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