Skip to main content
Glama

fetch_nodes

Fetch full node bodies by ID in one call, returning inaccessible IDs in a missing list instead of failing so agents can retrieve reviewed content and handle access gaps.

Instructions

Fetch full bodies for specific node ids, in ONE call.

Ids you are not entitled to come back in missing rather than as an error - that is the review gate working.

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": {
      "ids": "<ids>"
    },
    "name": "fetch_nodes"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.2.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose a genuinely important behavior: unentitled ids surface in `missing` rather than raising an error, which tells the agent to inspect partial results instead of treating the call as atomic. It does not say what happens to non-existent vs unauthorized ids, nor how bodies are keyed in the response.

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 short sentences, front-loaded with the core action, with the second sentence delivering the non-obvious failure semantics. Nothing is wasted, though the inline code formatting on `missing` is a minor stylistic artifact.

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 single-parameter read tool with no output schema and no annotations, the definition covers purpose, batching, and partial-success behavior, which is most of what an agent needs. The remaining gap is response shape: how bodies map back to the requested ids is left unstated.

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

Parameters4/5

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

One parameter at 0% schema coverage, so the description must supply meaning, and it does: `ids` are node identifiers whose full bodies are returned, and entitlement filtering applies per id. It stops short of stating whether mixed node types are accepted or whether there is a batch-size limit.

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 (fetch) and resource (full bodies) scoped to explicit node ids, and the phrase 'in ONE call' signals the batch nature that separates it from a single-item retrieve. It never names a sibling like retrieve_context or retrieve_index, so the differentiation is inferable rather than explicit.

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 implied: this is the tool for when you already hold concrete node ids, as opposed to a broad retrieval. There is no explicit when-to-use or when-not-to-use statement, and no pointer to an alternative for cases where you only have a query rather than ids.

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