Skip to main content
Glama

1hlabs_agent_allowance_circuit_breaker

[1HLabs Client-Side Wallet Allowance Policy Calculator (#81)] Model A SaaS (0 bps fee), non-custodial deterministic spending-cap template with 3,600s max TTL for client-side execution. Eliminates prompt-injection wallet drainage and runaway execution costs for autonomous crypto wallets (Exodus, Solana, Lightning, Base USDC). Hard-capped 3,600s TTL with automated clawback.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "parent_wallet_pubkey": "<parent_wallet_pubkey>",
      "task_budget_cap": "<task_budget_cap>"
    },
    "name": "1hlabs_agent_allowance_circuit_breaker"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoDry-Run Software Simulation mode. When true, returns locked preview quote with settlement_token without debiting wallet.
currencyNoDenomination of the task budgetSOL
ttl_secondsNoSession TTL in seconds (strictly capped at 3,600s against wallet drain)
task_budget_capYesMaximum spending ceiling authorized for this autonomous task session
wallet_protocolNoUnderlying blockchain / wallet rail of the autonomous agentSOLANA
settlement_tokenNoOptional dry-run settlement token (tok_dry_...) to redeem a previously locked preview quote.
task_objective_hashNoSHA-256 hash of the agent objective binding the allowance
parent_wallet_pubkeyYesParent crypto wallet public key / address in Exodus or Solana/Bitcoin/EVM
auto_refund_on_failureNoAutomatically return unspent funds on timeout or failure

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / dry_run / description
      Previous value: -"Zero-risk simulation mode. When true, returns locked preview quote with settlement_token without debiting wallet."New value: +"Dry-Run Software Simulation mode. When true, returns locked preview quote with settlement_token without debiting wallet."
  2. Changed2 schema fields changed
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": false,
      +  "description": "Zero-risk simulation mode. When true, returns locked preview quote with settlement_token without debiting wallet.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / settlement_token
      Added value: +{
      +  "description": "Optional dry-run settlement token (tok_dry_...) to redeem a previously locked preview quote.",
      +  "type": "string"
      +}
  3. Added

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure; it does add non-custodial execution, a hard 3,600s TTL cap, and automated clawback. It does not explain permissions, whether wallet funds are debited, how settlement tokens work, or failure behavior beyond the clawback claim.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description repeats the 3,600s TTL cap twice and includes marketing/value claims such as '0 bps fee' and 'Eliminates prompt-injection wallet drainage' that do not help invocation. The core concept is front-loaded, but the text is not tight.

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?

For a nine-parameter tool with no annotations and no output schema, the description is too thin about what the tool returns and how key parameters such as settlement_token, task_objective_hash, and auto_refund_on_failure affect behavior. It communicates the high-level policy concept but not enough to invoke the tool confidently.

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 the schema already defines all nine parameters. The description only echoes the spending-cap and 3,600s TTL concepts, adding no syntax, constraints, or parameter-specific meaning beyond the schema.

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?

The description identifies a client-side wallet allowance policy calculator/template, so the resource and broad purpose are discernible. However, it uses several framings—calculator, template, circuit breaker—and never states a crisp verb such as create/calculate/lock, nor does it distinguish this from any sibling tool.

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?

There is no explicit when-to-use, when-not-to-use, or alternative-tool guidance. The only usage context is the target audience of autonomous crypto wallets, which implies a use case but does not help an agent select this tool over another.

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