Skip to main content
Glama
TradeRouter

trade-router-mcp

Official

place_limit_trailing_order

Initiate a two-stage order: first a limit price trigger, then a trailing stop; executes a single swap when the trailing condition activates. Supports buy or sell actions.

Instructions

Place a limit-then-trailing order. Wait for limit, then trailing phase; when trail triggers, single swap. action: limit_trailing_sell|limit_trailing_buy.

Input Schema

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

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

With zero annotations, the description must fully convey behavior. It explains the two-phase execution ('Wait for limit, then trailing phase; when trail triggers, single swap'), which provides moderate transparency. However, it omits details on order lifecycle (expiry, cancellation, partial fills) and does not mention authorization requirements or potential 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.

Conciseness2/5

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

The description is very short (two sentences) but sacrifices necessary detail. While brevity is good, it omits vital information like parameter explanations and usage guidance. It is not well-structured for quick comprehension.

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 tool's complexity (9 parameters, two-phase order), the description is far from complete. It lacks return value information (no output schema), does not explain how the limit and trail parameters interact, and provides no help for the agent to choose among many sibling order tools. The description is insufficient for reliable tool selection and invocation.

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

Parameters1/5

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

Schema coverage is 0%, so the description should explain all parameters. It only mentions the 'action' enum. Critical parameters like 'wallet_address', 'token_address', 'target', 'trail', 'amount', 'holdings_percentage', 'slippage', and 'expiry_hours' are left completely unexplained.

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 places a limit-then-trailing order with a two-phase process (wait for limit, then trailing). It specifies the action field with the allowed values, distinguishing it from simple limit or trailing orders. However, it does not differentiate from the similar 'place_limit_trailing_twap_order' sibling.

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 explicit guidance on when to use this tool versus alternatives. The description implies it's for limit-then-trailing orders but does not mention when to choose this over limit, trailing, or TWAP variations. No when-not-to-use or prerequisite information.

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