Skip to main content
Glama

crypto dca

crypto_dca
Read-only

Dollar-cost-averaging backtest on real daily prices: buy a fixed amount of any Coinbase-listed coin every N days over the last 30 to 1,500 days and see total invested, coins bought, average cost, value now, profit, return, the worst drawdown against money put in, how a lump sum on day one compares, and an equity curve. Optional fee per buy. $0.003. Costs $0.003 USDC per call (x402).

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": {
      "pair": "<pair>"
    },
    "name": "crypto_dca"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNohistory length, default 365, max 1500
pairYesBTC-USD, ETH-USD, SOL-USD or a symbol
amountNoper buy, default 100
every_daysNodefault 7
fee_percentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description is not burdened with safety disclosure — and it earns credit for adding that each call costs $0.003 USDC via x402, a payment requirement an agent could not learn from structured fields. It also discloses the data provenance (real daily Coinbase prices) and the day-range bounds, though it is silent on rate limits or what happens for an unsupported pair.

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

Conciseness4/5

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

The output list is front-loaded into a single dense sentence that pays for itself by telling the agent what it will receive. The tail is marred by a redundant fragment — 'Optional fee per buy. $0.003. Costs $0.003 USDC per call (x402).' — repeating the price twice in two formats.

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?

There is no output schema, so the description correctly takes on the job of enumerating return values, and it does so thoroughly for a 5-parameter tool. Combined with the disclosed per-call cost and the 365/1500-day defaults, an agent has enough to call this correctly; only error behavior for invalid pairs is 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 already 80%, and the description still adds meaning: it states the effective floor of 30 days that the schema's days property omits, and gives semantics to fee_percent ('optional fee per buy') which has no schema description at all. The pair parameter is only loosely clarified by 'any Coinbase-listed coin', which is slightly at odds with the schema's BTC-USD/ETH-USD examples but not misleading.

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 specific verb and resource in the opening phrase: a dollar-cost-averaging backtest over real daily Coinbase prices. It then enumerates the exact outputs (total invested, coins bought, average cost, worst drawdown, lump-sum comparison, equity curve), which makes it unmistakable against siblings like crypto_price or crypto_candles that only return raw market data.

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?

The use case is strongly implied by the enumerated outputs — an agent can infer this is for simulating a recurring buy strategy rather than fetching a quote. However, there is no explicit when-to-use or when-not-to-use statement, and no sibling is named as an alternative, so the routing decision is left 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