Skip to main content
Glama

spl_warrant_reserve

Reserve the expected cost against a Warrant BEFORE the job runs (pre-spend cap enforcement). File the receipt with the reservation id to settle without double-deducting, or release it if the job never runs.

Input Schema

NameRequiredDescriptionDefault
usdNo
hostNo
actionNo
warrantNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description does real work: it discloses that this is a pre-spend cap enforcement mechanism, that double-deduction is avoided via the reservation id, and that unused reservations can be released. It does not state whether the reservation expires, what happens if the warrant has insufficient balance, or whether the call is idempotent — meaningful gaps for a mutation tool with zero annotation coverage.

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?

Two tight sentences with the critical timing constraint front-loaded. No filler; the only mild cost is that the second clause packs both settle and release paths into one sentence.

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

Completeness2/5

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

No output schema, no annotations, and 4 parameters at 0% coverage. The description covers the workflow well but leaves an agent unable to construct a correct call — particularly the meaning of 'action' and 'host' and what the reservation response contains beyond an id. For a financial mutation tool this is under-specified.

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?

Schema coverage is 0%, so the description must compensate. It hints at 'expected cost' (usd) and 'Warrant' (warrant), but 'action' and 'host' are completely unexplained — and 'action' with no enum is especially risky since it likely selects reserve/settle/release behavior. The bulk of the parameter semantics is left to guesswork.

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 (reserve) and resource (expected cost against a Warrant) and positions it in the spend lifecycle (pre-spend cap enforcement). It implicitly distinguishes itself from spl_warrant_receipt and spl_warrant_release by naming those follow-up actions, though it never names the siblings directly.

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?

Explicit timing guidance: call it BEFORE the job runs. It also gives the two downstream paths — file a receipt with the reservation id to settle, or release it if the job never runs — which is clear context. No explicit exclusions or named alternative tools, so not a 5.

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