Skip to main content
Glama

Confirm a deposit

anthill_confirm_deposit
Idempotent

After sending USDC, submit the transaction hash. We verify it on Base (needs 3 confirmations) and credit your balance. If it says 'pending', wait a few seconds and call again.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tx_hashYesThe Base transaction hash, 0x followed by 64 hex characters.
profile_keyNoYour profile's secret key (starts with 'anthill_sk_'). Optional if sent as an 'Authorization: Bearer' header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations cover the safety profile (idempotent, non-destructive, open-world), and the description adds real operational context: verification happens on Base, requires 3 confirmations, and may return a 'pending' state requiring a re-call. That pending/retry behavior is not inferable from the annotations.

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?

Three short sentences, front-loaded with the trigger action and followed by verification and retry guidance. No filler sentences.

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?

No output schema exists, and the description usefully warns about the possible 'pending' response. Auth handling is covered by the schema. For a 2-param confirmation tool this is nearly complete, though it could note whether failed verification errors or returns a status.

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 coverage is 100%, so both tx_hash and profile_key are fully documented in the schema. The description adds only that the hash is a Base transaction, which is marginal value beyond what the schema already states.

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 (confirm) and resource (deposit) plus the exact input action: submit the transaction hash after sending USDC. It implicitly separates itself from the sibling anthill_deposit, which initiates rather than confirms.

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 clear context for when to call it ('After sending USDC') and an explicit retry condition for the 'pending' case. It does not name an alternative tool for edge cases, but the usage window is unambiguous.

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