Skip to main content
Glama

batch

Read-onlyIdempotent

Execute multiple code-intelligence queries in one request to reduce round-trips and get combined results for independent lookups like outlines, symbols, or searches.

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)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv3.3.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. Addedv1.41.0
  3. Removedv1.38.0
  4. Changed3 schema fields changedv1.35.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / calls / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / calls / items / properties / args / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  5. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already signal readOnly and non-destructive. The description adds useful behavioral context beyond that: it delegates to other tools, is read-only, and returns a JSON structure of batch_results. This informs the agent of the delegation behavior and output shape without contradicting the 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 sentences, each earning its place: purpose, when to use, and return format. It is front-loaded and avoids fluf or redundant schema repetition.

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 tool with no output schema, the return JSON is described well, and the read-only/delegation behavior is stated. The description could also cover per-call error propagation or ordering guarantees, but these are minor given the tools's simple batch semantics and strong annotations.

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?

Schema coverage is 100%, so the baseline is satisfied; the description goes further by showing what kinds of calls to batch with examples like 'get_outline for 3 files' and 'search + get_symbol together.' This makes the calls parameter more tangible without repeating the schema details.

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: 'execute multiple trace-mcp tools in a single MCP request.' It clearly identifies the tool as a batching/composite operation, distinguishing it from the individual sibling tools by its aggregation behavior.

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?

The description explicitly states when to use it: 'reduce round-trips when you need several independent queries' and gives concrete examles such as 'get_outline for 3 files, or search + get_symbol together.' It does not explicitly mention when not to use it, so it stops short of a 5, but the context is clear.

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

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