Skip to main content
Glama

spl_warrant_verify

Verify a Warrant token. Optional host, action, and expected usd cost — pass usd to enforce the spend cap BEFORE the job runs.

Input Schema

NameRequiredDescriptionDefault
usdNo
hostNo
actionNo
warrantNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / usd
      Added value: +{
      +  "type": "number"
      +}
  2. Added

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It usefully discloses the pre-flight spend-cap enforcement semantic (the check happens before the job runs), but says nothing about whether verification consumes or depletes the warrant, whether it fails closed on an over-cap usd, or whether it requires authentication of the caller.

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 short sentences with the core action front-loaded and the important pre-flight constraint immediately after. The phrase 'Optional host, action, and expected usd cost' is compressed to the point of being slightly clipped, but nothing is wasted.

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?

For a four-parameter check tool with no annotations and no output schema, the definition should say what a successful verification yields (boolean? claims? expiry?) and what a failed one looks like. It covers the input-side contract adequately but leaves the return and failure semantics undefined, and it does not note that warrant is not marked required in the schema.

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 0%, so the description must compensate and it only partly does: it names host, action and usd, and gives real meaning to usd ('enforce the spend cap'), while the warrant parameter is only implied by 'Warrant token'. The host and action parameters are named but their accepted formats and matching semantics remain unexplained.

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?

Specific verb ('Verify') plus specific resource ('a Warrant token'), which cleanly separates it from the sibling warrant tools spl_warrant_issue, spl_warrant_release, spl_warrant_reserve and spl_warrant_receipt. It does not explicitly name those siblings or state how verification differs from reservation, so it stops short of full differentiation.

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?

The clause 'pass usd to enforce the spend cap BEFORE the job runs' gives a concrete usage timing (pre-flight, ahead of executing work) and a conditional mode (with vs. without usd). There is no explicit when-not guidance and no naming of an alternative tool such as spl_warrant_reserve for the case where a token must actually be held.

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