Skip to main content
Glama

batch

Read-onlyIdempotent

Execute multiple independent code intelligence queries in a single request to reduce round-trips. Returns results for all calls together.

Instructions

Execute multiple trace-mcp tools in a single MCP request. Returns results for all calls. Use to reduce round-trips when you need several independent queries (e.g., get_outline for 3 files, or search + get_symbol together). Read-only (delegates to other tools). Returns JSON: { batch_results: [{ tool, result }], total }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
callsYesArray of tool calls to execute (max 10)
Behavior4/5

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

Annotations already provide readOnlyHint=true, destructiveHint=false, idempotentHint=true. Description adds that it delegates to other tools, returns results for all calls, and specifies the return JSON format. No contradictions; adds useful behavioral context beyond annotations.

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 clear sentences, each adding value: purpose, usage guidance, and return format. Front-loaded with the core action. No fluff; every sentence earns its place.

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?

Given no output schema, description specifies return format (JSON with batch_results and total). Covers purpose, usage, safety (read-only), and output structure. Could mention result-order preservation or error handling, but adequate for a batching tool with good annotations.

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% with descriptions for 'calls', 'tool', and 'args'. Description adds usage context and return format but doesn't elaborate on parameter details beyond schema. Baseline 3 is appropriate as description adds marginal value.

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?

Clearly states 'Execute multiple trace-mcp tools in a single MCP request' (verb+resource) and distinguishes from individual get_* or search tools. The benefit (reducing round-trips) is explicitly mentioned, making it specific and differentiated from siblings.

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?

Provides explicit context: 'Use to reduce round-trips when you need several independent queries' with examples (e.g., get_outline for 3 files, or search + get_symbol together). It implies when to use (multiple independent queries) but could explicitly exclude dependent queries; still clear overall.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nikolai-vysotskyi/trace-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server