Skip to main content
Glama

read_doc_sections

Batch retrieve multiple documentation sections in one call by supplying section IDs, returning each section's content to reduce repeated single-section requests.

Instructions

Batch retrieves multiple documentation sections in one call. Returns content for each section ID.

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": {
      "section_ids": "<section_ids>"
    },
    "name": "read_doc_sections"
  }
}

Input Schema

NameRequiredDescriptionDefault
section_idsYesList of section identifiers

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.2

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it does disclose the read-only nature and that content is returned per section ID, which is useful. It says nothing about what happens with an invalid or missing section ID (error vs. omission), result ordering, or size limits on the returned content.

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 with zero filler, and the batch scope is front-loaded before the return-value note.

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 one-parameter read tool with no output schema, stating the batch scope and that content is returned per section ID covers most of what an agent needs. Only partial-failure semantics for bad IDs are missing.

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% for the single section_ids array, so the schema already documents the parameter fully. The description only restates that IDs map to returned sections, adding no format or constraint detail 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?

"Batch retrieves multiple documentation sections in one call" gives a specific verb and resource, and the word "batch"/"multiple" implicitly separates it from the singular sibling read_doc_section. It stops short of naming the sibling or stating the contrast outright, so it is clear but not fully differentiated.

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 word "batch" implies you should use this when you need several sections rather than one, but no alternative is named and no exclusion is given. An agent must infer that read_doc_section is the single-item path.

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