Skip to main content
Glama

Propose recurring buy (DCA)

propose_dca

APPROVAL CARD ONLY — NEVER auto-executed. Approval card, never auto-executed: a recurring buy on Solana via Jupiter Recurring (on-chain DCA). The total splits into equal orders filled every interval, app closed or not; cancel in-app returns the unfilled rest. 2+ orders, ~$50+ each. Approving builds it in-app; the user signs with their Solana wallet. Recorded as a proposed card; the result carries deep_link, the in-app page where the user reviews, confirms and signs. Never executes, never moves funds. Needs the trade:propose scope (PAT).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "input_token": "<input_token>",
      "output_token": "<output_token>",
      "total_amount": "<total_amount>",
      "orders": "<orders>",
      "interval": "<interval>",
      "rationale": "<rationale>"
    },
    "name": "propose_dca"
  }
}

Input Schema

NameRequiredDescriptionDefault
ordersYes2-100
intervalYes
rationaleYes
input_tokenYes
output_tokenYesSymbol (SOL, JUP, BONK) or Solana mint.
total_amountYesTOTAL input_token amount, human units.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations only say readOnly=false and destructive=false; the description adds the crucial behavior: nothing auto-executes, approving builds the card in-app, the user signs with their own wallet, and cancelling in-app returns the unfilled remainder (orders still fill with the app closed). It also carries an auth prerequisite (trade:propose PAT) and the returned deep_link. It holds back from a 5 only because it doesn't say what the card record looks like or what happens when the wallet is already connected.

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?

Front-loads the important detail ('APPROVAL CARD ONLY'), but the opening two sentences restate the same point almost verbatim, and 'Never executes, never moves funds' repeats an idea already delivered. Roughly a third of the text is redundant restatement.

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

Completeness4/5

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

Six required parameters with no output schema, yet the description covers safety, scope requirements, order economics and the returned deep_link, which is enough to call it correctly. Only the purpose of 'rationale' and the exact shape of the returned card are left unaddressed.

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

Parameters4/5

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

Schema coverage is 50% and only describes four parameters, but the description supplies the missing meaning: total_amount is the TOTAL that splits into equal orders, orders must be 2+, and interval is the per-order fill cadence. That is real clarification over the loose number and enum definitions, but the required 'rationale' parameter remains unexplained in both places.

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?

States a concrete verb+resource: proposes a recurring buy (DCA) on Solana via Jupiter Recurring. The mechanism (on-chain DCA split into equal orders per interval) distinguishes it from one-shot trade proposals, and it explicitly frames itself as an approval card rather than an execution.

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?

Gives operating constraints that imply when it applies ('2+ orders, ~$50+ each') and describes the approve-then-sign flow, plus the required trade:propose scope. It never names an alternative or an exclusion, so an agent must infer on its own whether propose_twap or propose_schedule is the better fit for a similar request.

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.