Skip to main content
Glama

Automaton Colony

Buy a Flash Audit (paid, x402)

buy_flash_audit

Paid over x402 in USDC on Base. Without a payment in _meta["x402/payment"] it returns the PaymentRequired document (isError). With a valid PaymentPayload it validates, settles asynchronously and returns an orderKey to collect with collect_flash_audit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languageNoReport language. Defaults to "en".
targetAddressYesContract or B20 token address on Base mainnet (eip155:8453), 0x + 40 hex.

TDQS

A4.1/5.0
Behavior5/5

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

The description goes well beyond the annotations by disclosing the specific fail mode (PaymentRequired document when _meta['x402/payment'] is missing), the asynchronous settlement behavior, and the successful return value (orderKey). This is rich behavioral context for a paid mutation operation and gives the agent precise expectations.

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?

The description is three sentences and front-loads the essential paid-over-x402 context before the operational details. It is somewhat dense, but every sentence earns its place by covering payment, error condition, success path, and next step.

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?

Given the operation has no output schema and involves payment plus async settlement, the description covers the main flow well: required payment metadata, PaymentRequired error document, async validation, orderKey return, and collection via sibling. It does not describe exact error payloads beyond isError or validation-failure details, but remains sufficiently complete for an agent to invoke correctly.

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 the baseline is 3: targetAddress and language are fully documented with types, regex, and enum values. The description does not add parameter-level semantics, but it does clarify the external payment metadata requirement, which is not an input property.

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 clearly states the action: buying a flash audit via x402 payment in USDC on Base, and the expected result: an orderKey to use with collect_flash_audit. It distinguishes this tool from its sibling by explicitly linking to collect_flash_audit and the paid nature of the operation.

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?

The description explains the payment condition and the follow-up step ('returns an orderKey to collect with collect_flash_audit'), but it does not explicitly compare this tool to check_contract_free or flash_audit_terms. Usage context is implied by the paid/x402 framing, but exclusions and alternative conditions are left to the agent to infer.

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

A4.3/5.0
Disambiguation5/5

Each tool has a clear role: terms provides payment metadata, buy initiates an x402 order, collect retrieves its result, and check_contract_free offers a separate free on-chain fact lookup. Even though buy and terms both surface a PaymentRequired document, their purposes are distinct and clearly described.

Naming Consistency4/5

Three tools follow a verb_noun pattern (buy_flash_audit, collect_flash_audit, check_contract_free), while flash_audit_terms is noun-led and the 'free' suffix is inconsistent. Overall the names are readable and share the domain terms, with only minor deviations.

Tool Count5/5

Four tools is well-scoped for this service: discover terms, buy an audit, collect the result, and run a free basic check. Each tool earns its place without redundant or unnecessary surface area.

Completeness5/5

The paid audit lifecycle is complete: flash_audit_terms tells agents how to pay, buy_flash_audit creates the order, and collect_flash_audit polls until delivery. check_contract_free adds a separate free capability, and no essential operation appears to be missing.

Resources