Skip to main content
Glama

Forward test

option_forward_test
Destructive

Records paper option positions before outcomes are known: open a structure from a plan, re-mark open trades against the newest chain, close one, or list the ledger with degraded flags noted.

Instructions

Paper ledger of positions recorded before their outcome is known. open records a structure from a plan, mark re-marks open positions against the newest chain, close settles one, status lists the ledger. Marks are mid quotes, not fills; a position with any leg missing from the newer chain comes back unmarkable rather than marked at zero. Before quoting any number from this result, state the degraded flag and its reason when the result carries one, and cite the artifact path it names.

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": {
      "action": "<action>"
    },
    "name": "option_forward_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
priceNo
actionYes
thesisNo
strategyNo
underlyingNo
position_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the mutation profile is known; the description adds substantial context beyond that: marks are mid quotes rather than fills, a position with a leg missing from the newer chain returns unmarkable instead of being marked at zero, and results may carry a degraded flag plus an artifact path. It still omits where the ledger is persisted and what close does to the underlying position data, so it is not fully exhaustive.

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 definition is dense but front-loaded: identity of the ledger first, then action semantics, then result caveats. Every clause carries information, though the final imperative about stating the degraded flag and citing the artifact path is a call-site instruction that sits slightly awkwardly inside a tool description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, non-idempotent, six-parameter mutation tool with no output schema and zero schema coverage, the description covers the action vocabulary and marking semantics well but leaves return behavior for status, persistence location, and most parameter meanings unstated. Adequate to call it, not fully 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 description coverage is 0% across six parameters, so the description must carry the load. It correctly explains the meaning of the action enum values, and 'open records a structure from a plan' hints at the role of thesis/strategy, but price, underlying, and position_id are never described, leaving half the parameters undocumented in both places.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Paper ledger of positions recorded before their outcome is known" is a specific verb-plus-resource statement, and the four action names (open/mark/close/status) pin down the tool's scope. It does not explicitly contrast itself with siblings like option_backtest or option_simulate, so an agent must infer the paper-ledger-vs-simulation distinction, which keeps it below a 5.

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 description gives clear per-action guidance (open records a structure from a plan, mark re-marks open positions, close settles one, status lists the ledger), which effectively tells the agent which action to pick. However, it never states when to use this tool rather than a sibling such as option_backtest, nor any prerequisites or exclusions, so usage is implied rather than framed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.