Skip to main content
Glama

ol_paper_trade

WRITE (opt-in): place a market order in YOUR paper (practice) portfolio -- the same engine, quote, fills and rejections as the web sandbox; no real money, no real account. One of TWO mutating tools here (the other is reading_list_annotate). DEFAULTS TO A DRY RUN: with _dry_run omitted or true nothing is placed and you get {dry_run: true, tool, args, idempotency_key, preview, message}. Re-call with _dry_run: false AND that same _idempotency_key to execute; a rejection is a normal (non-error) response you must read and relay, and a repeat of the same key returns {replay: true, ...} without placing twice. shares is whole shares, 1..1,000,000; side is buy or sell; thesis (optional, max 250 chars) is the USER's own reason. Requires an API KEY or a linked OAuth token (a browser session cookie is refused). Capped at 20 executed fills per user per UTC day. Practice money: _meta.disclaimer says so on every response. Caveats ride the response's tool_notes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sideYesbuy or sell (market order at the platform's delayed quote).
sharesYesWhole shares, 1..1,000,000 per order (the engine's per-order cap).
thesisNoOptional: why (max 250 chars). Stored on the fill and shown back to the user beside the position; write it as the USER's reason.
tickerYesSymbol to trade in YOUR paper portfolio (e.g. DAC).
_dry_runNoDefault true: preview the fill (quote, cost, cash after) without placing it. Re-call with false and the returned _idempotency_key to execute.
_idempotency_keyNoOptional replay-safety key; auto-derived if omitted. A repeat of the same key returns the first result and places nothing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, so the description carries the burden and delivers richly: dry-run default, idempotency/ replay semantics ('without placing twice'), rejection being a normal non-error response, API-key/OAuth requirement (browser cookie refused), and a 20-fills-per-UTC-day cap. These are exactly the beyond-annotation traits an agent needs.

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?

Front-loaded with 'WRITE (opt-in)' and organized around the operational flow. It is dense and long, but for a stateful two-step mutating tool nearly every sentence earns its place; only the restated share/side ranges are mildly redundant with the schema.

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?

Despite no output schema, the description discloses the response shapes ({dry_run...}, {replay: true...}), auth needs, rate limits, and the practice-money disclaimer location (_meta.disclaimer). Nothing an agent needs to call and safely relay results is missing.

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 100% (baseline 3), but the description adds real meaning about the interaction between parameters: that the _idempotency_key returned by the dry run must be reused to execute, and framing thesis as the USER's own reason rather than the agent's. It largely restates the ranges (shares 1..1,000,000) already in the schema, so it stops short of a 5.

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 ('place a market order') and resource ('YOUR paper (practice) portfolio') with scope, and explicitly distinguishes itself from siblings by noting it is 'One of TWO mutating tools here (the other is reading_list_annotate).' An agent can identify it without opening any schema.

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?

Gives explicit when-to-use (placing paper trades), the default-and-recall procedure for the dry run, the exact condition to execute (_dry_run: false plus the same _idempotency_key), and names the alternative mutating tool. Nothing 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.