Skip to main content
Glama

Manawa Terminal

Get portfolio covered-call yield

get_portfolio_covered_call_yield
Read-only

When to use: the caller wants the yield from selling covered calls on this portfolio's long holdings.

Inputs: portfolio_id from list_portfolios. The caller's token is the owner scope. Do not pass a user id or a symbol list. Short holdings are not covered. The route chooses the call it prices and returns that strike.

What comes back: the route JSON, unchanged. premium is book currency. annualized_yield_pct is the annualized yield of that premium against the book. A long holding with no listed call is named in missing and is not a zero yield. A portfolio the token does not own is the same not-found answer as a missing id.

Args:
    portfolio_id: The portfolio UUID from list_portfolios

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": {
      "portfolio_id": "<portfolio_id>"
    },
    "name": "get_portfolio_covered_call_yield"
  }
}

Input Schema

NameRequiredDescriptionDefault
strategy_idNoStrategy this call belongs to. UUID from list_strategies. The card this call writes keeps that id. Omit when the call is not part of a strategy.
portfolio_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/non-destructive annotations: the caller's token is the owner scope, an unowned portfolio returns the same not-found answer as a missing id (preventing enumeration), and a holding with no listed call lands in missing rather than reading as a zero yield. It also notes the route chooses the strike it prices, which is non-obvious behavior.

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?

Section headers (When to use / Inputs / What comes back / Args) front-load the routing decision. The trailing 'Args' block restates portfolio_id's origin from the Inputs paragraph, a minor redundancy but nothing wasteful.

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?

For a single-read portfolio metric with an output schema, this covers the decision to call, the ownership model, the edge cases (short holdings, missing calls, unowned ids), and the meaning of the key return fields. An agent has everything needed to invoke and interpret it correctly.

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 only 50%, and portfolio_id has no schema description, so the text carries that parameter: it comes from list_portfolios, is a UUID, and ownership is implied by the token rather than passed in. The optional strategy_id is left entirely to its (adequate) schema description, which is acceptable but leaves a small gap.

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: the yield from selling covered calls, scoped to this portfolio's long holdings. It also pins the scope by ruling out user ids and symbol lists, so an agent can tell this apart from the portfolio analytics siblings without opening a schema.

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?

Opens with an explicit 'When to use' trigger and adds exclusions ('Do not pass a user id or a symbol list', 'Short holdings are not covered'). It does not name an alternative tool for other yield or income calculations, so the routing story is clear but not complete.

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