Skip to main content
Glama

pending

Check a batch by ID to identify input IDs missing outputs or needing repair, and flag malformed or unexpected rows that can cause batch failure.

Instructions

Freshly check and return input IDs missing outputs or needing repairs.

Also inspect status/counts: malformed unidentifiable rows and unexpected IDs can make the batch FAIL even when pending is empty. Never claim completion solely because the pending list is empty.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "batch_id": "<batch_id>"
    },
    "name": "pending"
  }
}

Input Schema

NameRequiredDescriptionDefault
batch_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does so well: it warns that malformed rows and unexpected IDs can make the batch fail even when pending is empty. It does not mention permissions or side effects, but the check-and-return phrasing implies a read operation.

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 definition is short and front-loaded, with the core action in the first sentence and the critical caveat immediately after. There is slight redundancy between noting that pending can be empty and warning not to treat an empty pending list as completion.

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

Completeness3/5

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

An output schema exists, so the description need not explain return values, and it covers the important batch-failure caveat. However, the sole parameter remains undocumented and there are no annotations to clarify safety or side effects, leaving a meaningful gap for calling the tool confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is one required parameter, batch_id, and the schema provides no description coverage. The description mentions the batch repeatedly but never explains batch_id format, scope, or meaning, so it only weakly compensates for the schema gap.

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?

The description states a specific action and target: freshly check and return input IDs missing outputs or needing repairs. It is clear enough to distinguish from a generic status check, though it does not explicitly name sibling tools like audit or status as alternatives.

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 clear usage context: use it to check pending IDs, inspect status/counts, and never claim completion solely because the pending list is empty. It lacks explicit routing guidance versus the audit and status siblings, which keeps it below a 5.

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

Deploy Server

Other Tools