Skip to main content
Glama
Launch-On-Basis

Basis MCP Server

Official

preview_trade

Simulate a token trade to estimate output before executing on Basis protocol.

Instructions

Preview a buy or sell without executing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYesToken name or address
amount_usdbNoUSDB amount (for buys)
amount_tokenNoToken amount (for sells)
directionYes'buy' or 'sell'
Behavior2/5

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

No annotations are provided, so the description must carry the transparency burden. It only states it is a preview and does not execute, but fails to disclose what the preview shows (e.g., price impact, fees), whether it modifies state, or any required conditions. Minimal disclosure.

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?

The description is extremely concise at 6 words, with no wasted phrases. It front-loads the core purpose effectively.

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

Completeness2/5

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

Given the lack of annotations, output schema, and many sibling tools, the description is too brief. It does not explain what the output represents, prerequisites, or how it integrates with other trade operations.

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?

The input schema has 100% description coverage, so each parameter is already documented. The description adds no extra semantic meaning beyond the schema. Baseline 3 is appropriate.

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?

The description clearly states it previews a buy or sell without executing, using a specific verb and resource. It distinguishes itself from execution tools like buy_token and sell_token, but could be more explicit about what 'preview' entails.

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 description implies using this before executing a trade ('without executing'), but does not explicitly mention when to use or avoid it compared to siblings. No alternatives or exclusions provided.

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/Launch-On-Basis/MCP-TS'

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