Skip to main content
Glama

Pirate Ship by Cotlet

Refund batch

refund_batch
Destructive

Requests a refund of every unused label in a batch. Waits for the owner's approval.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
batch_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, openWorldHint=true and idempotentHint=false, but the description adds genuinely new context: the call 'requests' a refund and blocks on owner approval, meaning it is not an immediate state change. That approval-gate detail is exactly what annotations can't express. It stops short of saying what happens to labels already used.

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 sentences, zero filler, with the scope constraint front-loaded before the approval caveat.

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?

A destructive, non-idempotent mutation with no output schema needs more disclosure: partially refundable batches (some labels already used), what the approval wait returns to the caller, and whether it can be retried. The approval note helps but leaves real gaps for a destructive operation.

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?

One required parameter with 0% schema description coverage, so the schema does no work here. The description implies the parameter selects a batch ('in a batch'), which is mild semantic help, but batch_id's format and where to obtain it are never stated.

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?

States a specific verb and resource with scope: refunds every unused label in a batch. The batch-scoped wording implicitly separates it from the sibling refund_label (single label) and list_refunds, though it never names them.

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

Usage Guidelines2/5

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

No when-to-use guidance and no explicit alternative named. The sentence 'Waits for the owner's approval' is a behavioral trait, not a usage condition, so an agent gets no routing help between this and refund_label.

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.