Skip to main content
Glama

Precheck

precheck
Destructive

Pre-trade bundle: snapshot + risk screen + curve trade simulation in ONE call. Tells you what your buy will do - quote, slippage, rug-risk verdict. $0.01 USDC. No other x402 service sells trade simulation.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chain": "<chain>",
      "address": "<address>"
    },
    "name": "precheck"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideNoSimulation direction: buy spends quote asset to receive tokens; sell spends tokens to receive quote asset. Must be buy or sell.buy
chainYesLowercase chain identifier used by the data provider, for example base, ethereum or solana. Coverage varies by tool and upstream data availability.
addressYesPublic token contract address on the selected chain. EVM addresses use 0x plus 40 hexadecimal characters; Solana uses its base58 mint address.
fee_bpsNoSimulated trading fee in basis points; 100 means 1 percent. Curve simulation requires at least 0 and less than 10000. This is not the CurveCall API charge.
paymentNoOptional base64-encoded x402 payment payload returned by an authorized payment client, not a private key or API token. Omit to receive payment requirements. A successful authorized call may settle a USDC charge; repeated paid calls may charge again.
amount_inNoOptional positive simulated trade input: quote-asset units for buy, token units for sell. Omit to skip simulation. No trade is executed.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / address / description
      Added value: +"Public token contract address on the selected chain. EVM addresses use 0x plus 40 hexadecimal characters; Solana uses its base58 mint address."
    • addedInput schema / properties / amount_in / description
      Added value: +"Optional positive simulated trade input: quote-asset units for buy, token units for sell. Omit to skip simulation. No trade is executed."
    • addedInput schema / properties / chain / description
      Added value: +"Lowercase chain identifier used by the data provider, for example base, ethereum or solana. Coverage varies by tool and upstream data availability."
    • addedInput schema / properties / fee_bps / description
      Added value: +"Simulated trading fee in basis points; 100 means 1 percent. Curve simulation requires at least 0 and less than 10000. This is not the CurveCall API charge."
    • addedInput schema / properties / payment / description
      Added value: +"Optional base64-encoded x402 payment payload returned by an authorized payment client, not a private key or API token. Omit to receive payment requirements. A successful authorized call may settle a USDC charge; repeated paid calls may charge again."
    • addedInput schema / properties / side / description
      Added value: +"Simulation direction: buy spends quote asset to receive tokens; sell spends tokens to receive quote asset. Must be buy or sell."
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the annotations, the description adds the important behavioral detail that the call costs $0.01 USDC and returns quote, slippage, and rug-risk verdicts. It does not clarify payment authorization, possible repeat charges, or that no trade is executed, but the annotations already carry the safety profile and the schema documents payment mechanics.

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 short and front-loaded, with the bundle composition and outputs stated immediately. The final sentence is unverifiable marketing and the buy-only phrasing is slightly imprecise, but the overall structure is efficient.

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 core bundle and cost, and the output schema means return values need not be explained. However, for a paid composite simulation tool it omits that amount_in is optional and omitting it skips simulation, and it does not mention the payment authorization flow or that no trade is executed.

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?

The input schema has 100% description coverage and fully documents side, chain, address, fee_bps, payment, and amount_in. The description adds essentially no parameter semantics beyond mentioning buy direction, so it meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific composite pre-trade check: snapshot, risk screen, and curve trade simulation in one call, with quote, slippage, and rug-risk verdict outputs. It does not meaningfully differentiate this from siblings such as bundle_check, verdict, quote_buy, or quote_sell, and its buy-oriented wording is narrower than the schema, which supports sell as well.

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?

Use is implied by 'Pre-trade bundle' and 'ONE call,' suggesting this is for checking a trade before executing it. However, it gives no explicit guidance on when to choose this over quote_buy, quote_sell, bundle_check, verdict, or token_risk, nor when not to use 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