Skip to main content
Glama
rhyne1012

OpenVSP MCP (Maintained Fork)

openvsp.batch_status

Idempotent

Check batch status, counts, resource limits, and paginated case summaries after restart. If a saved running batch lacks an owner, it reports interrupted so you can explicitly resume.

Instructions

Read batch status, counts, resource limits and a paginated case summary, including after restart. Opens or creates .batch.lock to check runner ownership, but does not rewrite batch.json or run a solver. Reports interrupted when a saved running batch has no owner; use openvsp.batch_resume explicitly to retry it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYesExisting batch directory and case-page bounds.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.7.0
    • addedInput schema / $defs / BatchStatusRequest / properties / batch_directory / description
      Added value: +"Existing batch directory returned by batch_submit; it must remain at its original absolute location. Tilde expands; batch.json and the ownership lock are read there."
    • addedInput schema / $defs / BatchStatusRequest / properties / limit / description
      Added value: +"Maximum case summaries to return, 1-100 (default 50); aggregate status/counts are not paginated."
    • addedInput schema / $defs / BatchStatusRequest / properties / offset / description
      Added value: +"Zero-based offset into the ordered case summary (default 0); counts always cover the entire batch."
    • addedInput schema / properties / request / description
      Added value: +"Existing batch directory and case-page bounds."
  2. First observedv0.6.0

TDQS

A4.3/5.0
Behavior4/5

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

The description discloses that it opens or creates .batch.lock to check runner ownership, and that it reports interrupted when a saved running batch has no owner. This adds context beyond the annotations (idempotentHint, destructiveHint) about side effects on the lock file, though it does not detail the lock file's exact behavior or permissions.

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 concise and front-loaded, starting with the core purpose, then side effects, then the explicit instruction to use batch_resume. Every sentence serves a purpose, though it could be slightly more concise by merging the lock file and owner check details.

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?

Given that there is an output schema and the schema covers all parameters, the description provides sufficient context for an agent to call this tool correctly. It explains the key behavior around .batch.lock and the interrupted state, and directs to batch_resume for recovery. Minor gap: it doesn't explicitly state that the tool is safe to call repeatedly (though idempotentHint is true).

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?

The schema already covers all parameters with descriptions (100% coverage), including pagination bounds and the requirement for the batch directory to exist. The description adds the note about the lock file, but the parameter semantics are adequately covered by the schema, so a baseline 3 is appropriate.

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 clearly states that the tool reads batch status, counts, and a paginated case summary, and explicitly notes that it does not rewrite batch.json or run a solver. It distinguishes itself from batch_resume, a sibling tool, by mentioning the 'running batch has no owner' scenario.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to use this tool (to read status) and when not to run a solver, and it directs users to use openvsp.batch_resume explicitly to retry interrupted batches. This provides clear guidance on alternatives.

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