Skip to main content
Glama

VistaShares ETFs

Buffer ETF mid-period calculator

buffer_mid_period
Read-onlyIdempotent

For someone buying a buffer ETF partway through its outcome period: remaining upside to the cap, how far the index must fall before the buffer starts, and how much buffer is left, given the index and fund moves since the period began. Same math as https://www.vistashares.com/buffer-etf-mid-period-calculator/.

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

Input Schema

NameRequiredDescriptionDefault
cap_pctNoCap for the full period, in percent. Accepts 0 to 200; default 12.
buffer_pctNoBuffer size for the full period, in percent. Accepts 0 to 100; default 10.
fund_change_pctNoFund value change since the period started, in percent. Accepts -90 to 200; default 3.
index_change_pctNoIndex change since the period started, in percent. Accepts -90 to 200; default 5.

Output Schema

NameRequiredDescriptionDefault
noteYes
pageYes
inputsYes
explanationYes
buffer_remainingYes
remaining_upsideYes
payoff_for_buyer_todayYes
decline_before_buffer_startsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / buffer_pct / description
      Previous value: -"Buffer size for the full period, in percent."New value: +"Buffer size for the full period, in percent. Accepts 0 to 100; default 10."
    • changedInput schema / properties / cap_pct / description
      Previous value: -"Cap for the full period, in percent."New value: +"Cap for the full period, in percent. Accepts 0 to 200; default 12."
    • changedInput schema / properties / fund_change_pct / description
      Previous value: -"Fund value change since the period started, in percent."New value: +"Fund value change since the period started, in percent. Accepts -90 to 200; default 3."
    • changedInput schema / properties / index_change_pct / description
      Previous value: -"Index change since the period started, in percent."New value: +"Index change since the period started, in percent. Accepts -90 to 200; default 5."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "buffer_remaining": {
      +      "type": "string"
      +    },
      +    "decline_before_buffer_starts": {
      +      "type": "string"
      +    },
      +    "explanation": {
      +      "type": "string"
      +    },
      +    "inputs": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "buffer_pct": {
      +          "type": "number"
      +        },
      +        "cap_pct": {
      +          "type": "number"
      +        },
      +        "fund_change_pct": {
      +          "type": "number"
      +        },
      +        "index_change_pct": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "buffer_pct",
      +        "cap_pct",
      +        "index_change_pct",
      +        "fund_change_pct"
      +      ],
      +      "type": "object"
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "page": {
      +      "format": "uri",
      +      "type": "string"
      +    },
      +    "payoff_for_buyer_today": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "buyer_today": {
      +            "type": "string"
      +          },
      +          "index_return_from_today": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "index_return_from_today",
      +          "buyer_today"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "remaining_upside": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "inputs",
      +    "remaining_upside",
      +    "decline_before_buffer_starts",
      +    "buffer_remaining",
      +    "payoff_for_buyer_today",
      +    "explanation",
      +    "page",
      +    "note"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world behavior, so the safety profile is covered. The description adds useful context beyond that: it identifies the inputs as 'index and fund moves since the period began' and states exactly which three results come back, even though an output schema exists.

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?

One front-loaded sentence gives the audience, the quantities computed and the input framing with little waste. The trailing URL is arguably extraneous but signals an authoritative source for the math, so it earns partial credit.

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?

A deterministic calculator with four fully documented optional parameters and an output schema needs little more than a clear statement of what is being computed. The description supplies that and explains the period-relative meaning of the inputs; only the tie to sibling calculators is unaddressed.

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 100%, and every parameter carries its own type, bounds, default and prose description. The description adds no syntax or interpretation beyond what the schema already provides, so the baseline 3 applies.

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?

States a specific computation for a specific situation: buying a buffer ETF partway through its outcome period. It lists the three concrete quantities produced (remaining upside to cap, index decline before buffer engages, remaining buffer), which separates it from a full-period outcome tool. It stops short of naming the sibling it differs from.

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 phrase 'for someone buying a buffer ETF partway through its outcome period' implies the use case, so an agent can infer when it applies. However, nothing states when to prefer this over related calculators such as buffer_outcome or buffer_options_builder, and no prerequisites or exclusions are given.

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