Skip to main content
Glama

list_batch_jobs

Lists server-side batch jobs in a Temporal namespace, matching the Batch page, and supports pagination by passing the returned next_page_token.

Instructions

List server-side batch jobs in the namespace (the same jobs shown on the Temporal UI Batch page). Paginate by passing the returned next_page_token back.

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

Input Schema

NameRequiredDescriptionDefault
namespaceNoTemporal namespace for this operation; omit to use the server default
page_sizeNoMaximum number of jobs per page (server default if omitted)
next_page_tokenNoOpaque token from a previous list_batch_jobs call

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses the pagination contract (pass the returned next_page_token back) and that results are server-side jobs matching the UI Batch page, but says nothing about ordering, page-size limits, or that the operation is non-destructive.

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, zero filler, with the scope statement front-loaded and the pagination mechanic immediately after. The UI-page parenthetical earns its place by pinning down which jobs are returned.

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-required-parameter read tool with a fully described schema and no output schema, the description covers scope and pagination, which is the main thing an agent must get right. A brief note on what a job entry contains or result ordering would close the remaining gap.

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 description coverage is 100%, so all three parameters are already documented in the schema, giving a baseline of 3. The description only restates the next_page_token round-trip and adds nothing about namespace defaulting or page_size behavior beyond what the schema states.

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 ('server-side batch jobs in the namespace'), and anchors scope to a concrete referent (the Temporal UI Batch page). The list/read framing implicitly separates it from describe_batch_job, start_batch_job, and stop_batch_job siblings.

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 description: call this to enumerate batch jobs and follow the returned token to page. It gives no explicit when-not guidance and never routes the agent to describe_batch_job for job details or to batch_cancel/batch_terminate for acting on the listed jobs.

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