Skip to main content
Glama

AgentData - Executable Liquidity / Exit-Cost

Server Details

Size-aware exit cost, depeg risk & liquidity fragility for a Base token (x402, testnet).

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 4.6/5 across 1 of 1 tools scored.

Server CoherenceA
Disambiguation5/5

Only one tool exists, so there is no possibility of confusion or overlap with other tools.

Naming Consistency5/5

The single tool name 'liquidity_exit_cost' follows a clear noun_noun pattern that accurately describes its function, with no other tools to create inconsistency.

Tool Count1/5

With only one tool, the server's functionality is extremely limited. While the tool is detailed, a typical server should offer multiple tools to cover related operations, making this count inappropriately low.

Completeness3/5

The tool covers exit cost computation with multiple tiers, but lacks complementary tools such as token listing, raw pool data, or comparison features, leaving notable gaps for a liquidity analysis domain.

Available Tools

1 tool
liquidity_exit_costAInspect

Size-aware exit cost, depeg risk, and liquidity fragility for a token on Base. Given a token and a sell size, returns the realized cost of exiting (price impact + fee, in bps and units), the best route across venues, an aggregated fragility score, and — for pegged assets — a depeg-risk score. Computed deterministically from on-chain AMM state, so the result is reproducible and auditable. Three tiers by compute depth (default 'risk'): 'quote' = best-route exit cost for one size; 'risk' = exit cost + fragility (+ depeg for pegged tokens); 'deep' = adds a multi-size exit-cost curve, max-size-before-cost thresholds, and an internal cross-check. Pricing per call (USDC): quote = $0, risk = $0, deep = $0. Status: testnet/preview — payment runs over the x402 HTTP surface, not this tool.

ParametersJSON Schema
NameRequiredDescriptionDefault
poolNoOptional: restrict the computation to a single pool id.
sizeYesSell size in human token units (> 0).
tierNoPricing/compute tier. 'quote' = best-route exit cost only; 'risk' (default) adds fragility + depeg; 'deep' adds a multi-size exit-cost curve and cross-check.risk
tokenYesToken symbol/address to exit (sell), e.g. 'WETH'.

Output Schema

ParametersJSON Schema
NameRequiredDescription
sizeYes
tierYes
depegNo
routeYes
tokenYes
networkYestestnet | mainnet
exit_costYes
fragilityNo
cross_checkNo
exit_cost_curveNo
max_size_before_costNo
Behavior5/5

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

No annotations are provided, so the description bears full responsibility. It discloses that the computation is deterministic from on-chain AMM state, reproducible, and auditable. It details the three tiers, mentions depeg risk only for pegged assets, and states the tool is in testnet/preview with payment outside the tool.

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 around 8 sentences, well-organized with the core purpose first, then tiers, deterministic nature, and pricing/status. Each sentence adds value, though the pricing section could be slightly more concise.

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?

Given the presence of an output schema, the description does not need to explain return values. It fully covers the tool's behavior: what each tier returns, deterministic computation, and pricing limitations. It also addresses fragility and depeg conditions, making it complete for the tool's complexity.

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?

Input schema has 100% coverage with descriptions, so baseline is 3. The description adds value by explaining tier options in more detail, mentioning the optional pool parameter, and giving examples like 'WETH'. This enhances understanding beyond schema, earning a 4.

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 tool computes size-aware exit cost, depeg risk, and liquidity fragility for a token on Base. It specifies the verb (returns), the resources (cost, fragility, depeg), and the domain (token on Base), distinguishing it from potential siblings through tier details and deterministic computation.

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 description explains when to use each tier (quote, risk, deep) and notes pricing (all free) and that payment is handled via x402, not this tool. It lacks explicit when-not-to-use or alternatives, but given the specificity, the guidance is clear and adequate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.

Resources