Skip to main content
Glama
TradeRouter

trade-router-mcp

Official

place_trailing_order

Place a trailing stop or trailing buy order on Solana DEXs via WebSocket. Configure trail distance in basis points, amount, holdings percentage, slippage, and expiry hours.

Instructions

Place a trailing stop or trailing buy over WS. action: trailing_sell|trailing_buy. trail: bps distance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wallet_addressYes
token_addressYes
actionYes
trailYes
amountNo
holdings_percentageNo
slippageNo
expiry_hoursNo
Behavior2/5

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

With no annotations, the description must disclose behavior. It mentions 'over WS' but does not explain order lifecycle, error handling, or state changes. Lacks details on connectivity, rate limits, or side effects.

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

Conciseness3/5

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

Very concise at two sentences, but brevity sacrifices clarity. Could be better structured with parameter explanations.

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?

For an 8-parameter tool with no output schema and many siblings, this description is insufficient. Missing return info, parameter tips, and usage examples.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%. The description only mentions action and trail, ignoring 6 other parameters like wallet_address, amount, slippage. No added meaning beyond schema.

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 the tool places a trailing stop or buy order, specifying action types and trail meaning. It distinguishes from some siblings like limit or TWAP orders, but does not explicitly differentiate from similar trailing order variants.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidelines on when to use this tool vs alternatives like place_limit_trailing_order or place_trailing_twap_order. No context about prerequisites or best practices.

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/TradeRouter/trade-router-mcp'

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