Skip to main content
Glama

STRAELO DeFi Execution Snapshot

defi_execution_snapshot
Read-only

Compare read-only Base swap quotes from 1inch and KyberSwap, returning normalized comparable output, consensus, dispersion, quote evidence, and explicit provider limitations without executing a swap.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYesBase Mainnet only in this quote-only MVP.
token_inYesInput Base asset symbol.
amount_inYesPositive decimal input amount, converted exactly to raw token units.
token_outYesOutput Base asset symbol; must differ from token_in.
slippage_bpsYesSlippage tolerance in basis points; it is not treated as a cost.
baseline_providerNoOptional provider used only for a direct economic comparison.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
usageYesPer-provider call success, latency, and configured cost-estimate availability.
quotesYesNormalized provider quote evidence in raw token units.
statusYes
partialYesTrue when one or more providers did not yield a valid quote.
consensusYesComparable-output median and comparison basis when two provider quotes are valid.
economicsYesKnown or unknown estimated provider COGS; unknown is never represented as zero.
confidenceYesDeterministic quote-comparison confidence; two providers never produce HIGH in this MVP.
observed_atYes
best_providerYesBest comparable provider only when at least two valid quotes are available.
evidence_qualityYesPer-provider reported, calculated, estimated, or unavailable field quality.
provider_failuresYes
economic_advantageYesBest quote versus declared baseline or next available quote; never ROI.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so safety is covered. The description adds that it aggregates normalized output, consensus, dispersion, and provider limitations, but most of those are also enumerable from the output schema, and it omits practically important traits implied by openWorldHint/idempotentHint=false: external provider availability, rate limits, and quote freshness/volatility.

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?

A single sentence with the action and scope front-loaded followed by a compact list of outputs. It is dense and mostly earns its words, though the return-value enumeration ('consensus, dispersion, quote evidence') partly duplicates the output schema.

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?

With an output schema, full schema coverage, and safety annotations, the description covers what an agent needs to call this correctly and to know no swap executes. The notable remaining gap is behavioral: nothing about external provider failures, rate limiting, or rate/quote volatility for a comparison whose results change between calls (idempotentHint=false).

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% (6 parameters, 4 with enums), so the schema already carries parameter meaning, including the Base-only chain, token enums, exact decimal handling, and the optional baseline_provider. The description adds no parameter-level detail beyond what the schema 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?

The description names a specific verb (compare), the exact resource (read-only Base swap quotes from 1inch and KyberSwap), and the scope limitation (Base only, no swap execution). An agent can immediately tell this apart from the other siblings such as pay_decision_snapshot or chain_contract_call, none of which aggregate DEX quotes.

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 phrase 'without executing a swap' implies this is the pre-trade quoting/comparison step, but the description never states when to use it versus alternatives such as pay_decision_snapshot or chain_contract_call, nor any prerequisite (e.g., only relevant before an execution decision). Usage is implied rather than spelled out.

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