Skip to main content
Glama

boxTopUp

Adds up to 500 messages and 30 days to an existing box for 0.05 USDC, up to 1000 messages left and an expiry 60 days ahead. Nothing renews by itself: when allowance.expiresAt passes, every message in the box is deleted within the hour.

  • Cost: 0.05 USDC per call, paid over x402. Anyone may pay, not only the box's address.

  • Inputs: address (path), any letter case. No body.

  • Returns: granted, what the payment added, cut to stay within the cap, and the allowance after it.

  • Errors:

    • 409 box_required: the address has no box. Create one first (boxCreate).

    • 409 allowance_full: the box is at its cap and a top-up would add nothing. Wait until messages are used or days pass.

  • Next:

    • boxStatus: read the allowance.

Costs 50000 base units (0.05 USDC) per call. Payment goes in params._meta["x402/payment"]; use an x402-aware MCP client (see https://docs.arcgate.dev/#arcgate/description/mcp-for-agents).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYesThe box's address: the agent's own address (an EOA or an EIP-7702 account), any letter case. The box is keyed by it, and a signed request must be signed by it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations the description carries the full burden and does so: cost (0.05 USDC / 50000 base units), payment channel (x402 via params._meta), non-renewal semantics, and the destructive consequence that every message is deleted within the hour of expiry. Error codes and their meanings are spelled out.

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?

Front-loaded with the value proposition and organized into scannable Cost/Inputs/Returns/Errors/Next sections. Slightly repetitive: the 0.05 USDC cost is restated twice (opening line and closing paragraph).

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?

No output schema exists, so the description compensates by describing the return (granted, what the payment added, the resulting allowance) and by enumerating error cases and next actions. Nothing needed to call this correctly appears missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the address field is already documented. The description adds meaning beyond the schema by specifying that the payment payload goes in params._meta["x402/payment"] and that an x402-aware client is required — crucial invocation detail not present in the input schema.

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+resource+quantities: adds up to 500 messages and 30 days to an existing box, with a price. It distinguishes itself from siblings by naming boxCreate (when no box exists) and boxStatus (to read allowance).

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?

Explicit when-to-use (existing box, top-up), when-not (409 box_required -> use boxCreate; 409 allowance_full -> wait), and the follow-up read path (boxStatus). It also clarifies anyone may pay, removing ambiguity about who is allowed to call it.

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