Skip to main content
Glama

Strategy compare

option_strategy_compare

Build and rank every option structure in the playbook from one chain by model expected profit per unit of capital at risk, including calendar and diagonal spreads when a later expiry is available.

Instructions

Build every structure in the playbook from one chain, including the calendar and the diagonal when a later expiry is on disk, and rank them by model expected profit per unit of capital at risk. Returns the full table, the leader, and the caveat that any positive expectation largely measures the gap between the model's single volatility and the market's smile. Not a recommendation. 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

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "option_strategy_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNo
snapshotNo
far_snapshotNo
include_underlyingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Goes well beyond the annotations (readOnlyHint=false, idempotent=false, openWorld=false), disclosing the return shape (full table plus leader), the substantive caveat that positive expectation mostly measures the model-vs-market smile gap, the conditional degraded flag with reason, and the existence of an artifact path. It never states that a file is written or what it costs to run, which the readOnlyHint=false annotation leaves ambiguous.

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: purpose and ranking metric first, then return contents, then the pre-quoting obligation. Dense but each clause carries information; no filler, though the run-on first sentence is heavy.

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?

With no output schema, the description does a good job covering return values, caveats, and the degraded flag, and annotations cover the safety profile. The gap is the four undocumented parameters at 0% coverage, which is material for a tool that takes a chain snapshot and an optional far expiry.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters (size, snapshot, far_snapshot, include_underlying). The description only obliquely hints at far_snapshot via 'when a later expiry is on disk'; size, snapshot, and include_underlying carry no meaning in either place, so an agent must guess formats and defaults.

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?

A concrete verb pair (build + rank) against a named resource (every structure in the playbook, calendar and diagonal) and an explicit ranking metric (model expected profit per unit of capital at risk). An agent can tell this is the multi-structure ranking tool rather than a single-structure builder, though the jargon ('the playbook', 'on disk') assumes domain fluency.

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?

Usage is implied by 'Build every structure... and rank them' plus the explicit 'Not a recommendation' framing, and it gives a post-call obligation (state the degraded flag and cite the artifact path). It never names an alternative such as option_strategy_build or option_backtest, nor states when this is the wrong tool to reach for.

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