Skip to main content
Glama

SCRIPTMASTERLABS — PRO-LO

Counterfactual Stress Test

simulate_counterfactual_stress_test
Read-onlyIdempotent

Runs a disclosed hypothetical shock scenario (from a static, pre-defined scenario catalog) against a real live quote. The projected impact is an explicit heuristic model applied to a real spot price, not a claimed prediction.

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": {
      "ticker": "<ticker>",
      "scenarioId": "<scenarioId>"
    },
    "name": "simulate_counterfactual_stress_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerYesTarget ticker symbol
scenarioIdYesPre-configured scenario ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered. The description adds real value beyond them by disclosing the epistemic status of the output: a fixed catalog plus an explicit heuristic applied to a live spot price, explicitly 'not a claimed prediction'. That caveat is the kind of context annotations cannot carry.

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 tight sentences, zero filler, with the scope constraint and the heuristic disclaimer front-loaded. Nothing could be cut without losing meaning.

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 two-parameter, fully documented-schema tool with annotations covering safety, the definition is close to complete, and it flags the heuristic nature of results. The one gap is that with no output schema, the description only loosely gestures at the return ('projected impact') without indicating its shape or structure.

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 scenario enum is fully enumerated in the schema, so the description carries no extra parameter burden. It adds no syntax, format, or selection hints for ticker beyond what the schema says, so the baseline 3 applies.

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?

The description gives a specific verb and resource ('runs a disclosed hypothetical shock scenario ... against a real live quote') and immediately bounds it ('static, pre-defined scenario catalog'). It tells the agent exactly what class of operation this is, which no sibling name would otherwise convey.

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?

It implies the context of use (stress-testing a ticker under a catalog scenario) but never states when to choose it over siblings such as track_volatility_surface or generate_trade_execution_signals, nor any exclusions. A competent agent can infer the case, but the guidance is implicit rather than stated.

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