Skip to main content
Glama

List your batches

list_batches
Read-onlyIdempotent

Your most recent batches, newest first, with what each one is doing, how far it has got and what it has cost. Results are not included; ask get for one batch's pages.

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_batches"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many to return, newest first. Up to 100; 20 by default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), so the description's job is to add substance beyond them — which it does, naming ordering (newest first), the per-batch fields returned (current activity, progress, cost), and the important exclusion that results are not included. The main remaining gap is that it says nothing about behaviour when there are no batches or whether the limit truncates silently.

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 sentences, zero filler, with the ordering and payload summary front-loaded and the key negative constraint (no results) plus the hand-off to the sibling tool placed where it is read last and remembered.

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

Completeness5/5

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

For a one-parameter read-only list tool with no output schema, the description supplies exactly what the schema and annotations cannot: what each row contains, the sort order, and that page results are excluded. Nothing an agent needs in order to call this correctly is 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?

With 100% schema description coverage, the single `limit` parameter is fully documented in the schema itself (1–100, default 20, newest first). The description only echoes the 'newest first' ordering and adds no syntax or default information beyond it, so the baseline 3 applies.

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 — listing the caller's most recent batches, newest first — and immediately draws the line between this tool and the single-batch retrieval it points at ('ask `get` for one batch's pages'). An agent can distinguish list_batches from get_batch without inspecting either schema.

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?

It gives a clear selection rule: use this for an overview of recent batches, and switch to the single-batch tool when page results are needed ('Results are not included'). It stops short of stating explicit exclusions (e.g. historical or filtered listings), which keeps it below a full 5.

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.

Resources