Skip to main content
Glama

verify_transaction

Read-onlyIdempotent

Verify any prior transaction signature on demand (FREE read).

Post-trade verification (harness spec R13): awaits on-chain confirmation of tx_signature at commitment level (up to timeout_s) and, when a state hint is supplied, re-reads the relevant state to compare against what was expected:

  • mint (+ wallet_address): re-reads that SPL/SOL token balance.

  • market (+ wallet_address): re-reads the Drift perp position.

  • protocol (+ wallet_address, optional market / marginfi_account): re-reads the lending obligation health.

Returns {confirmed, slot, commitment, post_state, expected_vs_actual, retry_guidance}. confirmed is False (never True) on a timeout -- NEVER treat an unconfirmed/timed-out result as success; retry_guidance names the next step. Use this after signing + broadcasting a transaction yourself (place_perp_order, lend_deposit/borrow/repay, and every other unsigned-tx tool never broadcast server-side) to confirm it actually landed before treating the position/balance as changed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mintNo
marketNo
protocolNo
caller_idNo
timeout_sNo
commitmentNoconfirmed
tx_signatureYes
wallet_addressNo
marginfi_accountNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A5/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses critical runtime behavior: it awaits on-chain confirmation up to a timeout, re-reads state when hints are provided, and crucially states that confirmed is always False on timeout and must never be treated as success. It also names the retry_guidance output field, which is valuable operational context.

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?

Though long, the description is densely informative and well-structured: a one-line summary, a grouped behavior explanation with bullets, return-field semantics, and a usage directive. Every section earns its place, and critical caveats are front-loaded with emphasis.

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?

For a 9-parameter verification tool with an output schema, the description covers the operation, the state-verification variants, timeout semantics, failure handling, and the exact circumstances in which the tool should be invoked. Nothing needed to call it correctly is materially missing.

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

Parameters5/5

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

With 0% schema description coverage, the description carries the full burden and does so well. It explains tx_signature, commitment, timeout_s, and the semantic role of mint, market, protocol, wallet_address, and marginfi_account via the three state-hint bullets. Only caller_id is left undocumented, which is minor relative to the strong compensation overall.

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 a specific verb and resource: 'Verify any prior transaction signature on demand.' It then elaborates the exact post-trade verification workflow and lists distinct state-hint modes, making the tool's scope unmistakable and clearly distinct from sibling verification/status tools.

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?

The description explicitly states when to use the tool: 'Use this after signing + broadcasting a transaction yourself' and names concrete caller tools like place_perp_order and lend_deposit. It also clarifies that tools which never broadcast server-side do not require this verification, giving the agent clear routing guidance.

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

B3.2/5.0
Disambiguation2/5

Multiple tools overlap significantly: close_perp_position vs perp_close, get_leaderboard vs get_score_leaderboard vs get_strategy_leaderboard, get_venue_status vs get_all_venues_status, send_token_social vs bulk_send_social, and get_crank_score vs get_score. Several read-only tools have nearly identical purposes, and the descriptions do not always clarify boundaries.

Naming Consistency4/5

Most tools follow a consistent verb_noun snake_case pattern (get_balances, create_strategy, set_alert, list_webhooks). However, there are deviations like 'lst_swap', 'jupiter_swap', 'flash_loan', 'sr_backtest', and the use of both 'get_' and 'list_' for reads, plus category prefixes like 'perp_' and 'strategy_' that vary in order. Overall still readable and predictable.

Tool Count1/5

177 tools is an extreme count for any server, far exceeding the 25+ threshold for 'too many'. Even a full DeFi platform does not need this many separate operations; the surface is overwhelming and clearly not well-scoped.

Completeness3/5

The domain (Solana DeFi trading) is covered extensively across swaps, perps, lending, staking, strategies, signals, and support. However, there are notable gaps: no lend_withdraw, no direct way to close a lending position, no spot order cancellation (though aggregator-based swaps may not need it), and a general lack of tiered account management. The huge number of tools makes it hard to identify missing lifecycle steps.

Resources