Skip to main content
Glama

DropEngine x402 Agent Services

agent_spend_governor

Enforce autonomous-agent budgets before paid actions. Call before spending; authorize, commit, release, or inspect an opaque reservation. Do not use for free operations or an equivalent trusted budget system. Price: $0.001 USDC per call.

Agent entry points: risky external action → use Agent Action Gate when a combined action-specific safety assessment is needed; unclear capability/provider → use free /api/discover; constrained comparison between callable alternatives → use paid route_tool; known single capability → call the direct tool; multi-step objective → read the matching workflow recipe and call only relevant steps. Workflows are stateless recipes, not executors; calls are paid separately and are not bundle charged. Agent Action Gate does not approve payment, sign or broadcast transactions, evaluate seller reputation, replace transaction simulation, replace route_tool, or replace human approval.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
metaNo
nextNo
errorNo
resultNo
statusNo
paymentNo
successYes
agent_uxNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses real behavioral facts: paid at $0.001 USDC per call, calls are "paid separately and are not bundle charged," and the reservation is opaque. It does not disclose auth/credential requirements, whether authorize is idempotent or expiring, what release does to a held amount, or failure semantics for an already-committed action_id.

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

Conciseness3/5

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

Correctly front-loaded with purpose, cost and the do-not-use clause in the first three sentences. The remainder is a generic routing/boilerplate block shared across the tool family, and the final sentence enumerates what "Agent Action Gate" does not do — content about a different tool that dilutes focus rather than earning its place here.

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

Completeness5/5

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

An output schema exists, so return-value explanation is not owed. Given the multi-operation oneOf schema, the description covers purpose, cost, trigger and routing scope sufficiently for an agent to call it. The lifecycle semantics of the four operations remain implicit, which is the only shortfall.

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 reported at 100%, so the baseline is 3. The description names the operation values (authorize, commit, release, inspect) which aligns with the schema's const/enum, but adds nothing about amount, action_id, scope, asset or vendor semantics, and the oneOf branch split (amount/action_id only valid on authorize) is left unexplained in prose.

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: "Enforce autonomous-agent budgets before paid actions," then names the four operations (authorize, commit, release, inspect). The routing paragraph distinguishes it from route_tool, Agent Action Gate and /api/discover. However, the closing exclusion list is written about "Agent Action Gate" rather than this tool, which muddles which tool the caveats apply to.

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?

Gives an explicit trigger ("Call before spending") and an explicit negative ("Do not use for free operations or an equivalent trusted budget system"). The entry-point routing table adds clear when-to-use branches per situation. No guidance on the ordering/sequencing of authorize vs commit vs release is given, which is the main gap.

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