Skip to main content
Glama

List Spec Fill Batches

list_spec_fill_batches
Read-only

List recent spec fill batches — the audit trail of bulk spec-fill operations. Each batch shows what was written, where it came from (provenance), how many items were affected, and whether it has been reversed.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax batches to return (default 25).
bookIdNoOptional price book id (GUID) to filter batches by.

Output Schema

NameRequiredDescriptionDefault
okNo
batchesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuine context by enumerating what a batch record contains (what was written, provenance, affected item count, reversal status), which tells the agent this is a historical, non-mutating view. It does not address ordering, pagination beyond limit, or retention window for "recent."

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?

A single front-loaded sentence that names the resource, classifies it, and then lists the record fields. Dense and waste-free; only "recent" is left vague enough to be a minor slack point.

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?

With an output schema present and full parameter documentation, the description needn't explain return values, and it correctly focuses on purpose and audit semantics. The main residual gap is the meaning of "recent" — no time window or sort order is stated for a listing tool where that determines what comes back.

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% — both limit (default 25) and bookId (GUID filter) are documented inline. The description adds no additional meaning about these parameters, such as whether bookId filtering excludes batches spanning multiple books. Baseline 3 applies since the schema does the work.

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 gives a specific verb and resource ("List recent spec fill batches") and immediately defines the resource as "the audit trail of bulk spec-fill operations," which separates it from the mutating siblings like apply_spec_fill and reverse_spec_fill. It stops short of naming those siblings explicitly, so an agent must infer that this is the read-only inspection counterpart.

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 only implied: calling it to review past bulk spec-fill activity follows from "audit trail," and "recent" hints at a recency-scoped default. There is no explicit statement of when to reach for this versus preview_spec_fill or reverse_spec_fill, and no exclusion guidance.

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