Skip to main content
Glama
machine-utility-foundry

machine-utility-foundry

foundry_wallet_status

Read-onlyIdempotent

Inspect the local x402 Base Mainnet USDC wallet address, live balance, per-call cap, and remaining session budget; optionally reconcile unresolved OUTCOME_UNKNOWN entries on Base L2.

Instructions

[FREE Local Wallet Check] Inspect the local x402 Base Mainnet USDC wallet address, live USDC balance, per-call cap, and remaining session budget configured in foundry-x402 mcp.

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

Input Schema

NameRequiredDescriptionDefault
reconcileNoOptional: when true, queries Base Mainnet L2 block-pinned `USDC.authorizationState` to reconcile any unresolved `OUTCOME_UNKNOWN` WAL entries.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds that the check is free and local, which is genuine value, but it omits the notable behavioral wrinkle that reconcile=true reaches out to Base Mainnet to read USDC.authorizationState and resolves WAL entries — a side effect an agent should know about.

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?

One front-loaded sentence with the cost/locality tag first and the inspected fields after; no filler or redundancy.

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?

With no output schema, the description correctly enumerates the returned values, which is the main thing an agent needs. The only gap is the undisclosed network/reconciliation behavior of the optional flag, which is a minor omission for a read-only status tool.

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% and the single optional parameter is fully documented in the schema, so the baseline of 3 applies. The description contributes nothing about `reconcile` beyond what the schema already says.

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 (Inspect) and a precisely scoped resource (the local x402 Base Mainnet USDC wallet) and enumerates the four values returned: address, live balance, per-call cap, and remaining session budget. The bracketed 'FREE Local Wallet Check' tag immediately separates it from the network-calling siblings such as safe_x402_request or guard_evm_preflight_base.

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 only implied: 'FREE Local' signals this is a cheap pre-flight check, but the description never says when to call it (e.g. before a paid x402 request) or when to prefer a sibling like stateful_budget_guard_icp. No exclusions or prerequisites are stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.