Skip to main content
Glama

Base Uniswap v4 Zero-Slippage RFQ Hook

univ4_rfq_get_quote

Sub-millisecond (<1ms) indicative quote from Chainlink On-Chain Oracles on Base Mainnet (-0.30% fee) and speculative KyberSwap route pre-fetch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
isWeiNoSet true if amountIn is in raw wei
tokenInYesInput token symbol or address on Base
amountInYesInput amount
tokenOutYesOutput token symbol or address on Base

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does add real context: sub-millisecond latency, a -0.30% fee, Base Mainnet as the chain, and two data sources. But it omits critical behavioral facts for a quote tool — whether the quote is binding, how long it is valid, whether it requires auth, and whether the KyberSwap portion is merely speculative in the sense of unreliable.

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 densely packed sentence that front-loads the headline benefit (sub-millisecond latency) before the sources. No wasted sentences, though the jargon and the ambiguous '-0.30% fee' (is it a fee or a rebate?) slightly reduce clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is adequate for a quote-fetch call but thin given there are no annotations and no output schema. It never indicates what the agent receives back (amounts out, route, fee breakdown, expiry), which matters for deciding whether this quote is safe to act on.

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 tokenIn, tokenOut, amountIn, and isWei are each documented in the schema itself. The description adds nothing about parameter format (e.g., address vs symbol handling, decimal units, how isWei interacts with amountIn), so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a clear verb+resource ('indicative quote') and names the concrete sources (Chainlink On-Chain Oracles on Base Mainnet, KyberSwap route pre-fetch). The word 'indicative' partially distinguishes it from the sibling quote_and_build_swap, but the description never names that sibling or explicitly contrasts get_quote with it, so differentiation is inferred rather than stated.

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?

Usage is only implied: 'indicative' and 'speculative route pre-fetch' signal a preview/read call rather than an executable swap, which nudges the agent toward this tool before quote_and_build_swap. However, there is no explicit when-to-use, no when-not-to-use, and no mention of the alternatives despite three sibling rfq tools.

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.