Skip to main content
Glama

Get batch status

get_batch
Read-onlyIdempotent

Read a batch's status by its taskId: its state, item counts and the items waiting for the person (waitingForPerson).

Input Schema

NameRequiredDescriptionDefault
idYes

Output Schema

NameRequiredDescriptionDefault
statusYes
taskIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered structurally. The description adds that the read returns state, item counts and the items awaiting a person, which is useful operational context, but says nothing about polling behavior, freshness, or what happens for an unknown/expired id.

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?

A single sentence that front-loads the verb and resource and then enumerates the returned fields; no filler or redundancy.

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?

An output schema exists, so return values need not be spelled out, and the annotations carry the safety profile. The definition is nearly complete for a simple read tool, with the only gap being how to obtain the taskId and when to poll versus using wait_batch.

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 0% and the lone parameter is the opaque name 'id'; the description supplies the key semantic that this id is a taskId, which the schema does not. It stops short of giving the id's format or where it comes from (e.g. the value returned by batch_scrape).

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 verb (Read) and resource (a batch's status), and names the salient return fields (state, item counts, waitingForPerson items). It distinguishes itself from the more generic crawl/scrape siblings, though it does not explicitly contrast with the closest ones like get_batch_items and wait_batch.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance and no mention of alternatives, despite siblings wait_batch, get_batch_items and get_batch_errors that an agent could confuse it with. Usage is only weakly implied by 'read a batch's status'.

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.