Skip to main content
Glama

Central Command — x402 Trading Intelligence

AI Trade Constructor

cc.trade_builder
Destructive

Call cc.trade_builder — Takes natural language or structured trade ideas, fetches live market context, and generates fully executable order parameters with AI reasoning. Purpose: Takes natural language or structured trade ideas, fetches live market context, and generates fully executable order parameters with AI reasoning. Behavior: mostly READ (plan/validate). WRITE/destructive only when action=execute — that can submit live orders. Prefer action=plan first. Auth: X-Api-Key or x402 payment proof (X-PAYMENT / __x_payment). Anonymous unauthenticated calls receive HTTP 402 with payment accepts. Cost: $0.02 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: 10/min (per API key). Tier: premium. Returns: Complete trade specification: symbol, side, size, leverage, entry type, TP levels, SL level, AI reasoning for each parameter. Guidelines: Prefer paper/simulation paths. For live money require explicit human confirmation (confirm_live / action=execute). Report real HTTP errors; never invent proxy failures. Tags: ai, trade-planning, order-generation, risk-management, automation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ideaYesNatural language trade idea or structured params Required.
risk_pctNoMax risk as % of account Optional.
__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.

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.4/5.0
Behavior5/5

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

The description discloses behavioral traits beyond annotations: it clarifies that it is 'mostly READ (plan/validate)' and 'WRITE/destructive only when action=execute,' which aligns with the annotations but adds essential nuance about when destructive behavior occurs. It also details authentication methods, billing, cost, and rate limits, providing comprehensive behavioral transparency.

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 structured with labeled sections (Purpose, Behavior, Auth, Cost, etc.) and front-loaded with the core purpose. However, it is repetitive: the purpose statement is essentially duplicated at the beginning and again under 'Purpose.' This redundancy prevents a perfect score.

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?

Given the tool's complexity (auth, billing, rate limits, destructive potential, execution risks), the description covers all relevant context: what it returns, when to use plan vs execute, cost implications, authentication methods, and rate limits. The presence of an output schema reduces the need to explain return values, but it does so anyway, making it highly 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?

The input schema already provides full descriptions for all three parameters (idea, risk_pct, __x_payment), achieving 100% schema description coverage. The tool description adds minimal parameter-specific semantics, only mentioning 'action=execute' and 'confirm_live' as potential extra parameters not in the schema, but does not enhance the understanding of the existing parameters beyond the schema.

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 tool's purpose with a specific verb and resource: 'Takes natural language or structured trade ideas, fetches live market context, and generates fully executable order parameters with AI reasoning.' This distinguishes it from sibling tools like cc.asset_scanner or cc.twap_executor, which are data fetchers or execution tools without the AI planning aspect.

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?

The description provides clear context on when to use the tool (for trade idea generation) and gives explicit directives like 'Prefer action=plan first' and 'For live money require explicit human confirmation (confirm_live / action=execute).' However, it does not explicitly name alternative tools for similar tasks, only implying them through the context of siblings.

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