Skip to main content
Glama

spl_warrant_issue

Issue a Warrant (spend mandate) for an Agent-Rider identity, capping what an agent may spend, where, and for how long. Mutating: mints a signed token. Pass a Rider JWT, or demo:true for a 10-minute shape check that issues nothing billable. Use to authorize an agent's spending before it acts; use spl_warrant_verify to check a token, spl_warrant_reserve to hold funds, spl_warrant_receipt to settle.

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": "spl_warrant_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
demoNoTrue for a 10-minute shape check without a Rider token. Defaults to false.
riderNoAgent-Rider JWT proving the identity the Warrant is issued for. Required unless demo is true.
actionsNoAllowed action names, e.g. ["compress", "quote"]. Omit for no action restriction.
max_usdNoMaximum spend in USD across the Warrant's life. Omit for no cap.
max_callsNoMaximum number of calls under this Warrant. Omit for no cap.
allow_hostsNoAllowed hostnames the agent may call. Omit for no host restriction.
ttl_secondsNoLifetime in seconds. Demo defaults to 600 (10 minutes).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / actions / description
      Added value: +"Allowed action names, e.g. [\"compress\", \"quote\"]. Omit for no action restriction."
    • addedInput schema / properties / allow_hosts / description
      Added value: +"Allowed hostnames the agent may call. Omit for no host restriction."
    • addedInput schema / properties / demo / description
      Added value: +"True for a 10-minute shape check without a Rider token. Defaults to false."
    • addedInput schema / properties / max_calls / description
      Added value: +"Maximum number of calls under this Warrant. Omit for no cap."
    • addedInput schema / properties / max_usd / description
      Added value: +"Maximum spend in USD across the Warrant's life. Omit for no cap."
    • changedInput schema / properties / rider / description
      Previous value: -"X-Agent-Rider JWT"New value: +"Agent-Rider JWT proving the identity the Warrant is issued for. Required unless demo is true."
    • addedInput schema / properties / ttl_seconds / description
      Added value: +"Lifetime in seconds. Demo defaults to 600 (10 minutes)."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare mutating/open-world/non-idempotent, and the description reinforces this with 'Mutating: mints a signed token.' It adds genuinely new context annotations cannot carry: the demo path is a 10-minute shape check that issues nothing billable, which is a key safety distinction. Minor gap: it does not state whether issued warrants are revocable or what the returned token looks like.

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?

Three dense sentences, front-loaded with the definition, then the mutating/demo caveat, then sibling routing. Every sentence earns its place; slightly compressed telegraphic style but no filler.

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?

For a 7-parameter mutation with no output schema, the description covers the mutation, the demo escape hatch, and the surrounding tool family. It stops short of describing the returned token or lifecycle (revocation/expiry behavior), but 'mints a signed token' plus ttl_seconds covers the essentials.

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%, so all seven parameters are already documented. The description restates the rider/demo dual path ('Pass a Rider JWT, or demo:true') but adds no format, validation, or edge-case detail beyond the schema; 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?

States a specific verb and resource ('Issue a Warrant') and immediately defines it as a spend mandate scoping amount, location, and duration. An agent can distinguish this from spl_warrant_verify/reserve/receipt without opening any schema.

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?

Explicitly says when to use it ('authorize an agent's spending before it acts') and routes to three named sibling tools with their distinct roles (verify to check, reserve to hold, receipt to settle). Nothing is left to inference.

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