Skip to main content
Glama

set_auto_topup

Configure auto-topup: when the prepaid balance falls below threshold_usd, the platform settles one of the pre-signed EIP-3009 authorizations you supply (signed outside MCP — this server cannot sign). Auth required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_per_monthNocap on automatic top-ups per month (default 10)
threshold_usdYesrefill when balance drops below this, USD decimal string
authorizationsYespre-signed transferWithAuthorization payloads: each {from, to, value, valid_after, valid_before, nonce, signature}

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the burden. It discloses a critical limitation ('this server cannot sign') and auth requirements, but does not explain side effects like replacing existing auto-topup config, impact on balances, or behavior when authorizations are spent or expire. The provided constraints are useful but incomplete.

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 packs the core purpose, trigger condition, key restriction (no signing), and auth requirement. Every clause earns its place, and it is front-loaded with the action. No filler or redundancy.

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

Completeness3/5

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

The description covers the trigger and input but omits post-configuration behavior (e.g., confirmation, how to check existing config via get_auto_topup, or whether settings are replaced). Since there is no output schema and no annotations, a little more context about effects and verification would improve completeness, though it is adequate for a straightforward config tool.

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?

The schema has 100% coverage, so a baseline of 3 applies. The description adds meaning by explaining that 'threshold_usd' triggers the top-up and that 'authorizations' are pre-signed payloads used for settlement. It does not elaborate on 'max_per_month' but that is adequately described in the schema. Overall, it enhances understanding beyond the raw 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?

The description opens with 'Configure auto-topup', specifying the exact action and resource. It then explains the trigger condition (balance below threshold) and the mechanism (pre-signed EIP-3009 authorizations), which clearly distinguishes it from siblings like get_auto_topup, remove_auto_topup, and topup_balance.

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?

The description conveys when the tool is used (when configuring automatic refills) and includes a key prerequisite ('Auth required' and the need for pre-signed authorizations). It does not explicitly list alternatives, but the context of configuring vs. manual top-up (topup_balance) is implied.

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.

TDQS

A3.8/5.0
Disambiguation5/5

Each tool targets a distinct resource and action. Within the prediction market domain, prepare vs create vs submit are clearly differentiated by signing model (client-signed vs server-signed). Even similar-sounding tools like check_spend and check_pm_order are unambiguously scoped to general spending vs PM orders, and their descriptions reinforce the boundary.

Naming Consistency5/5

All 47 tools follow a consistent verb_noun pattern with lowercase snake_case. Verbs like get, list, create, cancel, revoke, prepare, submit, set, remove, and poll are used uniformly. There is no mixing of styles or vague verbs like 'process' or 'run', making the surface highly predictable.

Tool Count2/5

47 tools is significantly above the 25-tool threshold for 'too many'. While the server covers a broad and complex domain (prediction markets, policy, delegations), the sheer count makes the surface heavy and potentially overwhelming. Some consolidation (e.g., merging related PM order operations) could reduce cognitive load without sacrificing functionality.

Completeness4/5

The tool set provides comprehensive lifecycle coverage across all major subdomains: authentication, policy versioning, delegation CRUD (prepare/confirm/list/get/revoke/renew), intent management, PM order flow (create/cancel/list/prepare/submit/check), credential management (store/list/revoke), balance and top-up operations, and account-level actions (export, offboard, panic). Minor omissions exist (e.g., no dedicated tool to view a single credential in detail or update an intent), but agents can work around these with existing tools.

Resources