Skip to main content
Glama

base_exit_check

Can you get out of a Base token, and what does it cost? Executes a buy and a full sell through its deepest Uniswap v2/v3/v4 WETH or ETH pool 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

TableJSON 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

A3.9/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 behavioral burden. It discloses that the operation is a simulated buy+sell in one block, that it returns the ETH received, the round-trip cost, and the revert reason if a leg fails. It also reveals the $0.01 x402 fee. It does not explicitly state that no real funds move, but 'simulated' strongly implies it.

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 compact and information-dense, front-loading the purpose and then explaining execution, return values, and pricing. The opening rhetorical question adds slight redundancy but is not wasteful; every other sentence earns its place.

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 paid, simulated tool with no output schema and no annotations, the description covers the essential behavioral contract: what happens, what is returned, how failures surface, and the cost. Minor gaps remain, such as not explicitly mentioning the 'payment' parameter in the description and not stating whether payment is required up-front, but the schema covers the parameter itself.

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%, so the baseline is 3. The description adds some context around token address ('Base token') and payment ('$0.01 per call over x402 (Base USDC first)'), but it does not provide parameter-specific details beyond what the schema already documents.

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 names a specific resource ('Base token') and a specific verb+outcome ('Executes a buy and a full sell through its deepest Uniswap v2/v3/v4 WETH or ETH pool... and returns...'). It clearly distinguishes itself from siblings like exit_check by scoping to Base and to Uniswap pools, so an agent can tell what this tool does even among many similar exit-check tools.

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 interrogative opening ('Can you get out of a Base token...') implies the use case, and the pricing note gives a precondition. However, there is no explicit guidance about when to prefer this over siblings such as exit_check, arc_exit_check, or exit_check_bulk, nor any stated exclusions or alternatives.

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