Skip to main content
Glama
scipq-mcp
by gdressino

batch

Read-onlyIdempotent

Run multiple Java code queries on the same checkout in one call, using a single freshness check to avoid repeated index validation.

Instructions

Run several queries on the same checkout in one call (one freshness check).

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": {
      "queries": "<queries>"
    },
    "name": "batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
queriesYes[{'tool': 'references', 'args': {'symbol': 'Account#setState'}}, …] — any tool above except setup and batch, with its arguments
project_rootNoCheckout or worktree to query (any directory in it); default: where the server started

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds genuine value by explaining that all queries share one freshness check, implying a single consistent snapshot. It says nothing about failure handling (whether one bad query aborts the batch) or result ordering, which matters for a dispatcher.

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?

One sentence, front-loaded with the core action and followed by the reason it exists. No filler, no repetition of the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a meta-tool that fans out to other tools, the definition is thin on outcome: with no output schema, an agent cannot tell whether results come back as an ordered array, a keyed map, or per-query error objects. The batching rationale is present, but the return contract and partial-failure behavior 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 coverage is 100%, and the schema already documents both parameters in detail, including an example of the {tool, args} shape and the project_root default. The description adds no parameter-level meaning beyond what the schema provides, so the baseline of 3 applies.

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 action and resource: run several queries on one checkout in a single call. The parenthetical '(one freshness check)' clarifies the batching benefit. It doesn't name which sibling tools may be batched or that setup/batch are excluded — that routing detail lives only in the schema.

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 by the condition 'several queries on the same checkout', which is a reasonable when-to-use signal. There is no explicit exclusion in the description (the 'except setup and batch' constraint appears only in the schema) and no guidance on when a single direct call would be preferable.

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