Skip to main content
Glama

list_active_batches

Read-only

Lists all currently running batch generations with their IDs, so you can retrieve the identifiers needed to check batch progress.

Instructions

List all currently running batch generations and their IDs.

Use this to find batch IDs for progress monitoring with check_batch_progress.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_active_batches"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 declare readOnlyHint=true, so safety is covered; the description then adds the meaningful behavioral fact that only currently running batches are returned, implying completed and failed batches are excluded. It does not address empty-result behavior or ordering, but with an output schema present those are lower-value gaps.

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?

Two short sentences with the primary behavior front-loaded and the routing hint second. No filler, no restatement of the title or annotations.

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 zero-parameter read-only listing with an output schema and readOnlyHint already supplied, the description covers enough for correct invocation. Only minor details, such as what an empty list means or whether results are ordered, are left implicit.

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?

The tool takes zero parameters, so there is no parameter semantics to add and the baseline is 4. The description correctly implies an unfiltered global listing rather than a per-user or per-batch query.

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?

States a specific verb ('List') and resource ('currently running batch generations') and even names what part of each record is returned ('their IDs'). The scope word 'currently running' separates it cleanly from progress/history-oriented siblings like check_batch_progress or cancel_batch.

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?

Explicitly says the purpose is to obtain batch IDs for progress monitoring with check_batch_progress, which gives a concrete downstream use and names the follow-up tool. It stops short of stating when not to use it (e.g., when the ID is already known from batch_generate), so it is clear but not exhaustive.

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