Skip to main content
Glama

base_exit_check

BASE ONLY, EXECUTED (not a quote). Can you get out of a Base token, and what does it cost? Executes a buy and a full sell through its deepest pool we can simulate (Uniswap v2/v3/v4 against WETH or ETH, Virtuals agent tokens through their VIRTUAL pool, Aerodrome basic and Slipstream pools) in one simulated Base block and returns the ETH that comes back, the round-trip cost and the revert reason if a leg fails. $0.01 per call over x402 (Base USDC first).

Input Schema

NameRequiredDescriptionDefault
tokenYesthe Base token contract address (0x...)
paymentNoa signed x402 payment (the same base64 payload you would put in the PAYMENT-SIGNATURE header). Pass it here and the purchase completes inside this tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/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 well: it discloses that the operation is a simulation in a single Base block, the venues used, that it returns ETH back plus round-trip cost and revert reason on a failed leg, and the pricing/payment model ($0.01 per call over x402). It does not explicitly state that no real funds move, but 'simulated' conveys that.

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 key constraint is front-loaded in a short emphatic clause, followed by dense but relevant detail. The parenthetical list of venues is long but earns its place by defining coverage. 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?

For a simulation tool with no output schema and no annotations, the description covers the mechanism, venues, return values (ETH back, round-trip cost, revert reason), and payment. Complete enough to call correctly; only the real-funds question is left implicit.

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 description coverage is 100% and both parameters (token, payment) are documented in the schema. The description adds no syntax or format detail beyond what the schema already provides, so the baseline of 3 applies.

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 action (executes a buy and full sell simulation) on a specific resource (Base token) and front-loads the scoping constraint 'BASE ONLY, EXECUTED (not a quote)'. An agent can distinguish it from exit_check / arc_exit_check / exit_check_bulk without opening any schema.

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?

The 'BASE ONLY' and 'not a quote' qualifiers make clear when this tool applies versus quote-style tools, and it names the pools it covers. It stops short of explicitly naming an alternative for other chains, so it is clear context without explicit exclusions.

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.