Skip to main content
Glama

portfolio_greeks

Aggregate delta, gamma, theta, and vega across all option positions in an account to view portfolio-level Greeks and assess aggregate risk.

Instructions

Aggregate Greeks for all option positions in the portfolio. Returns portfolio-level delta, gamma, theta, vega.

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": "portfolio_greeks"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNoAccount ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It does usefully disclose the return shape (portfolio delta, gamma, theta, vega), but says nothing about whether values are netted across long/short legs, what happens when the portfolio holds no options, or whether the call is a live computation versus a cached snapshot.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the verb-and-resource, with the return values listed second. Nothing is padded or redundant.

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 one-optional-parameter read tool with no output schema, the definition covers purpose and returned metrics adequately. The remaining gap is the default scope when account is omitted and the empty-portfolio behavior, which are minor for a tool this simple.

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 coverage is 100% and the single optional 'account' parameter is documented in-schema, so the baseline of 3 applies. However the description never explains what omitting account means (aggregate across all accounts?) or how the parameter scopes the aggregation, which is the one semantic detail that would have added value beyond the schema.

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?

Names a specific verb (aggregate) and resource (Greeks) and scopes it explicitly to 'all option positions in the portfolio', with the resulting metrics enumerated. It is distinguishable from per-contract tools like greeks_calculate by the portfolio-level framing, though it never names an alternative.

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 only implied: the word 'portfolio' signals that this is the roll-up view rather than a single-contract calculation. There is no explicit when-to-use statement, no when-not-to-use, and no named alternative such as greeks_calculate for individual positions.

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

Deploy Server

Other Tools