Skip to main content
Glama

place_dca_order

Ask the user to approve a DCA program: sell amount of tokenIn for tokenOut in executions equal slices, one every every (15m, 1h, 1d…). Optionally gated by triggerPrice (only sells at or below it). Keeper-executed after signing; always returns an approval link — DCA is never executed under an agent grant. HUMAN units; amount is the TOTAL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNooptional one-line reason shown to the user (≤ 140 chars)
everyYesinterval between sells like 15m, 1h, 1d (minimum 1m)
amountYesTOTAL amount of tokenIn across the whole program, HUMAN units, decimal string
tokenInYesERC-20 address being sold in slices (0x-hex)
tokenOutYesERC-20 address being accumulated (0x-hex)
executionsYesnumber of sells, 2–500; each sells amount/executions
slippageBpsNoslippage tolerance per execution in basis points (default 100)
triggerPriceNooptional: only sell while price is at or below this (tokenOut per tokenIn); omit to sell every interval regardless
pauseOnRecoveryNowith triggerPrice: pause the program while price is back above the trigger

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=false, openWorldHint=true, and non-idempotency, but the description adds material behavior an agent cannot infer: execution is keeper-driven after signing, the tool always returns an approval link, and DCA is never executed under an agent grant, so user consent is mandatory. That is exactly the kind of context annotations cannot carry.

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?

Three tight sentences, front-loaded with the core action and slices, then the optional gate, then the execution/approval behavior. No filler or restated boilerplate.

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

Completeness5/5

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

For a 9-parameter mutation tool with no output schema, the description covers the approval flow, the return value (an approval link), and execution semantics. Combined with full schema coverage and annotations, an agent has everything needed to invoke it correctly.

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 every parameter (including `amount`, `executions`, `triggerPrice`, `pauseOnRecovery`) is already documented in the schema. The description reinforces that amount is the TOTAL in human units, but that duplicates the schema text rather than adding new meaning; baseline 3 is appropriate.

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 gives a specific verb+resource (place a DCA program), states the exact mechanic (sell amount of tokenIn for tokenOut in `executions` equal slices, one every `every`), and adds an optional triggerPrice gate. This clearly separates it from the sibling order tools (place_limit_order, place_market_order, place_stop_order), which are single-execution orders, not recurring sliced programs.

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?

It gives clear context: this is for a sliced DCA program, optionally gated by a price threshold, requiring user approval before anything happens. It does not, however, explicitly state when to prefer DCA over place_market_order or place_limit_order, so the routing decision is left partly to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources