Skip to main content
Glama
TradeRouter

trade-router-mcp

Official

place_limit_trailing_twap_order

Places a composite order that first sets a limit price, then a trailing stop; upon trail trigger, executes the order using a TWAP strategy over the specified duration and frequency. For buy or sell actions.

Instructions

Place a limit-then-trailing-then-TWAP order. Limit → trail → on trail trigger, execute via TWAP. action: limit_trailing_twap_sell|limit_trailing_twap_buy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wallet_addressYes
token_addressYes
actionYes
targetYes
trailYes
frequencyYes
durationYes
amountNoLamports (buy) or raw token units (sell)
holdings_percentageNoSell only: bps
slippageNo
expiry_hoursNo
Behavior3/5

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

The description discloses the behavioral sequence (limit → trailing → on trigger TWAP), which is valuable. However, with no annotations provided, the description carries full burden. It lacks details on side effects, required permissions, or failure behavior, so it is only moderately transparent.

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: two sentences that efficiently convey the order type and the action parameter. Every sentence adds value, and the structure is front-loaded with the main purpose.

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 (11 parameters, 7 required, no output schema), the description is incomplete. It does not explain return values, side effects, or provide enough context for an agent to understand the full behavior. More details are needed.

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 only 18%, so most parameters lack explanations. The description only clarifies the 'action' parameter's enum values. Parameters like 'target', 'trail', 'frequency', and 'duration' are left unexplained, making it hard for an agent to use correctly.

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 clearly states the verb 'Place' and the resource 'limit-then-trailing-then-TWAP order'. It explains the sequential logic and provides the action enum values. This differentiates it from sibling tools like place_limit_order, place_trailing_order, and place_twap_order.

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?

There is no guidance on when to use this tool versus alternatives. The description does not mention prerequisites, when-not-to-use, or compare with other order types. This forces the agent to infer use cases from the name alone.

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