Skip to main content
Glama

Read up to 25 reports in one request

batch_get_reports
Read-only

Batch read: send a list of report ids and get each report (or its error) in one answer, instead of one call per report. Each result has its own status, so one unknown id does not fail the rest. Read-only. Needs login with scope reports:read.

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": {
      "report_ids": "<report_ids>"
    },
    "name": "batch_get_reports"
  }
}

Input Schema

NameRequiredDescriptionDefault
report_idsYesReport ids to read, 1 to 25.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavior: per-result status isolation so one unknown id does not fail the rest, plus an explicit auth requirement (scope reports:read). It omits ordering or duplicate-id handling, keeping it below top marks.

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?

Three short sentences, front-loaded with the batch contract, then the partial-failure guarantee, then the auth prerequisite. No sentence repeats the name, title, or schema content wastefully.

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?

With no output schema and a single-parameter input, the description covers what an agent needs: batching semantics, the per-item error model in the response, and the required scope. Minor gaps remain around result ordering and what happens with duplicate or more than 25 ids, but nothing essential is missing for correct invocation.

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 single parameter already documents "Report ids to read, 1 to 25." The description restates the list-of-ids contract and adds that each id can come back as an error, but supplies no further syntax or formatting detail, so it sits at the baseline when the schema does the heavy lifting.

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

Purpose5/5

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

The description states a specific verb and resource ("Batch read ... a list of report ids") and explains the mechanism (one answer instead of one call per report). That implicitly contrasts with the singular sibling get_report, so an agent can distinguish it without opening either schema.

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?

Usage is clearly implied: use this when you have several report ids and want them in one round trip rather than a call per report. It does not explicitly name get_report or say when to fall back to it (e.g., single id), so the alternative routing is left slightly to inference.

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.