Skip to main content
Glama

APEX x402 Full MCP Hub

Exit check

exit_check

SEVEN CHAINS, FROM LIVE RESERVES OR AN AGGREGATOR QUOTE (for an executed sell test use arc_exit_check on Arc or base_exit_check on Base). Before you buy a token, find out whether you can sell it. Give a token address and a position size in USD and this returns what you would actually receive, the slippage, and the largest position that exits under 5%. WORKS ON SEVEN CHAINS: Solana and X1 (base58 address, constant-product maths against the pool's live reserves and its own fee) and five EVM chains (0x address, routed through LI.FI to USDC) - Base 8453 (the default), Ethereum 1, Arbitrum 42161, Optimism 10, Polygon 137. Any other chain id returns UNSUPPORTED_CHAIN and names these five; it is never reported as a token you cannot sell. This is deliberately NOT a safety grade. Safety grades describe the contract (mint authority, LP burn, holder count); exitability describes the depth. A token can score 100 on every safety check and still be untradeable — PROOF does exactly that in our own data. Verdicts on Solana/X1: EXITABLE, PARTIAL, COSTLY, TRAPPED, THIN, NO_POOL, UNPRICED. On EVM: EXITABLE, PARTIAL, COSTLY, THIN, NO_ROUTE, UNKNOWN. NO_ROUTE means the aggregator we check found no way out, which is strong evidence and not proof that no venue anywhere will take it; UNPRICED and UNKNOWN mean we could not resolve a value and are NOT judgements about the token. PAID: $0.004 per call over x402 (USDC on Base, Arc or Solana, or XNT on X1; no key, no sign-up). Supports native @x402/mcp (_meta["x402/payment"]) or HTTP x402 at https://apexfaucet.xyz/api/x402/exit-check/{mint}?usd=&chain=.

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": {
      "mint": "<mint>"
    },
    "name": "exit_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
usdNoPosition size in USD you intend to exit. Optional — omit to get the largest clean exit instead.
mintYesToken address. A 0x address is an EVM token (Base unless you set `chain`); a base58 address is Solana or X1.
chainNoEVM chain id for a 0x address. Default 8453 (Base). Ignored for base58 addresses.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses the paid model ($0.004/call over x402 with named settlement assets), the payment transports accepted, the underlying method per chain family (live pool reserves + own fee on Solana/X1, LI.FI routing to USDC on EVM), and the default chain. It also pre-empts misreading of results by explaining that NO_ROUTE is strong evidence but not proof, and that UNPRICED/UNKNOWN are not token judgements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is dense and nearly every clause carries information, but it opens with a shouted fragment ("SEVEN CHAINS, FROM LIVE RESERVES OR AN AGGREGATOR QUOTE") rather than the actual purpose, which only appears in the second sentence. Heavy all-caps emphasis and long em-dash-chained sentences make the core call-to-action harder to scan than necessary.

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?

There is no output schema, so the description must describe return values, and it does: received amount, slippage, largest position exiting under 5%, plus the full verdict vocabulary for both chain families. Address formats, defaults, chain coverage, failure modes, and cost are all covered, so an agent has everything needed to call it and interpret the result.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real dispatch semantics: base58 means Solana or X1, 0x means EVM with Base 8453 as default, and the exact supported chain ids (1, 42161, 10, 137, 8453) that the schema only gestures at. It also clarifies that `chain` is ignored for base58 addresses, which the schema hints at but the description makes explicit.

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 and resource: given a token address and USD position size, it returns what you would actually receive on exit, the slippage, and the largest position that exits under 5%. It also crisply distinguishes itself from adjacent concepts ("deliberately NOT a safety grade") and from siblings (arc_exit_check/base_exit_check are for executed sell tests).

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?

"Before you buy a token, find out whether you can sell it" gives an explicit trigger, and the executed-sell-test case is routed to named alternatives (arc_exit_check on Arc, base_exit_check on Base). It also states the boundary condition that unsupported chain ids return UNSUPPORTED_CHAIN rather than a false negative, so the agent knows what a rejection means.

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.