Skip to main content
Glama

list batches

list_batches
Read-onlyIdempotent

Retrieve workspace batch inference jobs, sorted newest first, with status, request counts, and billed cost to monitor progress and spending.

Instructions

List this workspace's batch inference jobs, newest first, with status, request counts and billed cost. GET /v1/batches (API-key scope: read). Returns: A bare JSON array (no envelope) of up to 100 batch objects: { id, nebius_batch_id (upstream batch id), endpoint, status (VALIDATING|IN_PROGRESS|FINALIZING|COMPLETED|FAILED|EXPIRED|CANCELLING|CANCELLED), request_total, request_completed, request_failed, completion_window, billed_cost_usd (number|null), created_at, output_file_id, error_file_id, error } Notes: Feature-flagged: every /v1/batches route returns 404 { error: "Batch inference is not enabled" } while the batch flag is off (code default is off). Statuses here are the stored values; GET /v1/batches/{id} refreshes them live.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so thoroughly: it discloses the bare JSON array response, the 100-object cap, the stored-vs-live status caveat, and the feature-flag failure mode. This goes well beyond a minimal definition.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose and route, and the Returns/Notes structure makes the dense information scannable. The field enumeration and status list are long but necessary given the absence of an output schema, so it earns a high score rather than a perfect one.

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?

The description covers the full response shape, field semantics, status enum, nullable fields, pagination cap, failure mode, and the live-refresh caveat. Nothing essential is missing for an agent to select and invoke this tool correctly.

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 input schema has zero parameters, so the baseline is 4; the description confirms no parameters are needed beyond the implicit workspace scope. There is no parameter ambiguity to resolve.

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 action and resource: listing the workspace's batch inference jobs, newest first, with status, request counts, and billed cost. This clearly distinguishes it from sibling tools like create_batch, get_batch, and 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?

It clearly identifies the scope (this workspace), the HTTP route, and the read-only API-key scope, and notes the feature-flag 404 that signals when the capability is unavailable. It also implicitly routes the agent to GET /v1/batches/{id} for live status refreshes, but it does not explicitly enumerate when to prefer get_batch versus list_batches.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/omnia-v/errorbar-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server