Skip to main content
Glama

Trade Event Card

trade_event_card
Destructive

Needs your api_key (register_agent, no key needed). Open a position on an Event Card's index for YOUR linked platform account. Defaults to PAPER trading (no real funds move — positions and P&L are tracked and tagged paper). Live trading only on an explicit paper=false AND the platform trading gate. direction 'bull' profits when the card index rises, 'bear' when it falls.

Input Schema

NameRequiredDescriptionDefault
paperNotrue (DEFAULT) = paper trade, no funds move. false = live trade, gated by the platform trading gate.
api_keyYesYour api_key from register_agent
card_idNoEvent card id to trade
card_nameNoAlternative to card_id: the card's display name.
directionYesbull = long the index, bear = short it
usdc_amountYesPosition size in USDC
confirmation_tokenNoRequired when paper=false: single-use confirmation token proving the linked user approved a real-money trade.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Adds real behavioral context beyond the annotations: paper mode moves no funds and tags positions/P&L as paper, live mode is gated, and a confirmation token is implied by the gate. Nothing here contradicts destructiveHint=true / idempotentHint=false, but error behavior, exposure limits, and reversal are unstated.

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?

Three front-loaded sentences with the credential requirement and the paper/live safety rule first, then direction semantics. The parenthetical about register_agent is slightly awkward but no sentence is wasted.

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?

For a 7-parameter mutation with no output schema, it covers the high-risk dimensions an agent needs (auth source, paper default, gating for real funds, directional payoff). Details of card_id vs card_name and the confirmation token are left to the schema, which documents them fully.

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 description coverage is 100%, so the baseline is 3, and the description earns an extra point by explaining that 'bull' profits when the index rises and 'bear' when it falls, plus that paper defaults to true. It adds interpretive meaning over the schema's terser 'bull = long the index, bear = short it'.

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 ('Open a position on an Event Card's index') scoped to 'YOUR linked platform account', which separates it from siblings like place_order and preview_card_basket. The trading direction semantics are pinned down as index-movement P&L, not generic long/short jargon.

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?

Gives the key selection condition: paper is the default and live only occurs with an explicit paper=false plus the platform trading gate, and it points at register_agent for the API key. It does not name a sibling to prefer first (e.g. backtest_event_card_idea for testing an idea), so it stops short of explicit alternatives.

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