Skip to main content
Glama

Vi probability scenario

calculate_probability_scenario
Read-onlyIdempotent

Calculate the hypothetical dollar impact of user-selected outcome prices for a fixed number of contracts, including explicit entry and exit dollar costs. Pure arithmetic: not a forecast, live quote, strategy backtest, order or paper position.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contractsYes
entryPriceYes
exitCostUsdNo
entryCostUsdNo
scenarioPricesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's burden is lower. It adds real behavioral context by emphasizing the tool is pure arithmetic and not connected to live market data, which no annotation conveys. It doesn't mention output shape, but that's minor for a calculator.

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?

Two sentences, front-loaded with the core action and followed by the scope-restricting disclaimer. Tight and waste-free, though the 'not a...' list is slightly listy and could be trimmed.

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 and 0% param coverage across 5 params, the description leaves gaps an agent would want filled: return structure (per-scenario P&L?), role of entryCostUsd/exitCostUsd, and the 12-item array limit. The arithmetic-only framing is a strong addition, but overall it is adequate rather than 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 coverage is 0% and there are 5 parameters, so the description must compensate. It does communicate the semantic of contracts+entryPrice+scenarioPrices as 'fixed number of contracts' and 'user-selected outcome prices', and mentions entry/exit dollar costs. But it never explains bounds (prices 0-1), the up-to-12 scenarioPrices array, or units/precision, leaving meaningful ambiguity.

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+resource: calculate the dollar impact of user-selected outcome prices over a fixed contract count with explicit entry/exit costs. It also sharply delimits itself from siblings (none of which compute anything) via the 'pure arithmetic: not a forecast, live quote, strategy backtest, order or paper position' clause.

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 negative framing ('not a forecast, live quote, strategy backtest, order or paper position') implicitly tells the agent when NOT to use it, which is genuinely useful given siblings like inspect_prediction_market. But it never states when TO use it or names an alternative for the scenarios it excludes.

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.