Skip to main content
Glama
sand0vvv

mayan-mcp

by sand0vvv

Get a Mayan cross-chain swap quote

get_quote
Read-onlyIdempotent

Quote a cross-chain swap through Mayan Finance. See expected output, slippage floor, fees, and ETA for every route; no transaction is built.

Instructions

Quote a cross-chain swap through Mayan Finance. Returns every available route with the expected output, the guaranteed minimum after slippage, fees and ETA. Read-only: this builds nothing and moves nothing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYesHuman-readable amount of the source token, as a decimal string. Example: "0.5".
to_chainYesDestination chain.
to_tokenYesToken symbol (resolved against Mayan's verified token list), an exact token address, or "native".
from_chainYesSource chain.
from_tokenYesToken symbol (resolved against Mayan's verified token list), an exact token address, or "native".
slippage_bpsNoSlippage tolerance in basis points (1 bp = 0.01%). Mayan caps this at 500 (5%). "auto" lets Mayan choose.auto
destination_addressNoRecipient address on the destination chain. Optional, but improves quote accuracy on Solana.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
routesYesAvailable routes, best first.
to_tokenYes
from_tokenYes
route_countYes
amount_in_base_unitsYes
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false. The description adds value by confirming read-only nature and detailing the return format (routes, output, minimum after slippage, fees, ETA). This provides transparency beyond structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences front-load the purpose, followed by return information and safety note. Every sentence adds value with no waste.

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?

Given the complexity (7 parameters, output schema), the description covers the essential purpose, behavior, and return format. It does not mention prerequisites like token availability, but those are implicit and covered by sibling tools.

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 does not add parameter-specific meaning beyond what is in the schema, but it also doesn't need to since the schema is comprehensive.

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 uses 'Quote a cross-chain swap' with a clear verb and resource. It distinctly separates from siblings like build_swap (execution) and list_tokens (token listing), making the tool's unique role obvious.

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 explicitly states 'Read-only: this builds nothing and moves nothing,' which guides the agent to use this for quotations without execution. However, it doesn't explicitly mention when not to use or list alternative tools in the description itself.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sand0vvv/mayan-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server