Skip to main content
Glama

spend

spend
Read-only

Wallet spend report: an agent wallet's outgoing USDC payments on Base, grouped by recipient and matched to x402 sellers, with totals for the period. Costs $0.005 USDC per call (x402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoDefault 30
walletYes0x address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely new behavioral context: the paid x402 model and the $0.005 USDC per-call cost, plus the chain (Base) and asset (USDC) scope. It stops short of noting pagination or the result shape, but that is a minor gap against the 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.

Conciseness5/5

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

A single dense sentence that front-loads the resource, scope, grouping, and matching, then appends the cost. Every clause carries information and nothing is redundant.

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 read-only report tool with no output schema and fully documented parameters, the description covers the essentials: what is aggregated, how it is grouped, the chain/asset, and the payment model. It omits any indication of the return shape or the default window rationale, but not enough to block correct invocation.

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 both parameters (days defaulting to 30, wallet as a 0x address) are fully documented in the schema. The description adds no per-parameter syntax or interpretation beyond what the schema already provides, which is the baseline-3 case.

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 names a specific verb+resource+scope: an agent wallet's outgoing USDC payments on Base, grouped by recipient and matched to x402 sellers, with period totals. It is far more precise than the bare name 'spend' would suggest. It does not, however, distinguish itself from related siblings like wallet_portfolio, x402_check, or report_wallet, so the agent must infer which report to pick.

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?

Usage is implied by the framing (an agent checking its own x402 spending), and the per-call cost is a useful usage consideration. But there is no explicit when-to-use vs when-not guidance and no named alternative, so routing against the many wallet/x402 siblings 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