Skip to main content
Glama

Central Command — x402 Trading Intelligence

Strategy Language Parser

cc.strategy_data_parser
Read-onlyIdempotent

Call cc.strategy_data_parser — Parses natural language strategy descriptions into structured executable specifications: timeframes, indicators, patterns, risk parameters, and entry/exit rules. Purpose: Parses natural language strategy descriptions into structured executable specifications: timeframes, indicators, patterns, risk parameters, and entry/exit rules. Behavior: READ-ONLY. Does not place orders, move funds, or mutate your exchange account. Live / near-real-time data. Auth: X-Api-Key or x402 payment proof (X-PAYMENT / __x_payment). Anonymous unauthenticated calls receive HTTP 402 with payment accepts. Cost: $0.01 USDC per successful call (x402 Base USDC pay-per-use or prepaid X-Api-Key balance). Linked Connect keys are free. This is billing, not a side effect. Rate limit: 20/min (per API key). Tier: standard. Returns: Structured strategy object: TimeframeReq[], IndicatorReq[], PatternReq[], RiskParams, entry_conditions, exit_conditions — ready for backtesting or live execution. Guidelines: Compute / parse / backtest only — no live orders. Feed outputs into cc.agent_strategy with force_paper=true to paper-trade. Tags: parser, nlp, strategy, structured-data, automation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
__x_paymentNoOptional x402 payment proof (same value as X-PAYMENT header). Use when retrying after HTTP 402 if your MCP client cannot set custom headers. Not a business parameter. Optional.
descriptionYesNatural language strategy description Required.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesTrue when the gateway HTTP status is 2xx.
dataNoParsed JSON body from the endpoint (shape varies by slug).
errorNoError message when ok is false.
statusYesUpstream HTTP status from x402-gateway.
billingNoOptional payment / cost metadata when present.
endpointYesCatalog slug that was invoked (e.g. funding-rates).

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint, idempotentHint, destructiveHint), the description adds rich behavioral context: 'READ-ONLY. Does not place orders, move funds, or mutate your exchange account,' plus auth methods (X-Api-Key/x402), billing details, and rate limits. This fully discloses operational characteristics.

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 description is well-organized with clear labels (Purpose, Behavior, Auth, Cost, Rate limit, Returns, Guidelines, Tags) and every section provides useful operational details. However, the Purpose section redundantly repeats the opening sentence almost verbatim, which slightly reduces conciseness.

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?

The description covers all necessary context for a pay-per-use API tool: behavior, auth, cost, rate limits, return format, and usage guidance. It even names an alternative sibling tool for paper trading. With an output schema present, the return-value overview is sufficient and complete.

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 coverage is 100% with both parameters fully described in the schema. The description adds minimal input-specific guidance beyond the schema, though it does clarify the output categories (timeframes, indicators, etc.) that the description parameter should yield. Baseline 3 is appropriate as the schema handles the parameter semantics.

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 states a specific verb+resource: 'Parses natural language strategy descriptions into structured executable specifications.' It clearly differentiates from siblings like cc.agent_strategy (execution) and cc.strategy_backtest (backtesting) by focusing on parsing/structuring, and even references feeding outputs into cc.agent_strategy for paper trading.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit usage guidance: 'Guidelines: Compute / parse / backtest only — no live orders. Feed outputs into cc.agent_strategy with force_paper=true to paper-trade.' This tells when to use (for parsing strategies) and when not (no live orders), and names an alternative tool for paper trading.

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.

TDQS

A3.7/5.0
Disambiguation2/5

Multiple tools have overlapping or unclear boundaries. The AI chat tools cc.squirrel_chat, cc.squirrel_chat_v2, and cc.openclaw_chat all provide conversational trading assistance with near-identical descriptions, while cc.central_signal and cc.external_signal both normalize signals for execution. Additionally, cc.asset_scanner, cc.auto_fetch_market_data, cc.data_tools, and cc.ma_fetch all supply technical indicator data with significant overlap.

Naming Consistency4/5

All tools share the 'cc.' prefix and use snake_case consistently, which creates a uniform feel. However, naming style mixes nouns (cc.asset_scanner, cc.data_tools) with verbs (cc.auto_fetch, cc.list_catalog) and compound forms (cc.strategy_backtest, cc.trade_builder), so it is not a strict verb_noun pattern. Minor deviations keep it from a 5.

Tool Count2/5

With 33 tools, the server is well beyond the typical well-scoped range of 3-15 and even above the 'heavy' 16-25 range. While the trading intelligence domain can be broad, this count feels overstuffed rather than curated, especially given the many overlapping data and AI tools.

Completeness3/5

The core trading workflow is covered: market data, technical analysis, signals, strategy backtesting, paper trading, and live execution all have tools. However, there is no dedicated account management tool (e.g., get_balance, list_positions) and no explicit delete_strategy, with these operations buried inside cc.agent_strategy's action parameter. Notable gaps remain for a complete lifecycle.

Resources