Skip to main content
Glama

run_quant_simulation

Evaluate quantitative portfolio allocations and return simulated Sharpe ratio, win rate, and max drawdown (Price: $0.10 USDC via x402 pay-per-call on Base).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tickersYesArray of stock symbols
weightsYesPortfolio weights summing to 1.0
initialCapitalNoInitial capital in USD (default: 10000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / initialCapital / description
      Previous value: -"Initial capital in USD"New value: +"Initial capital in USD (default: 10000)"
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral load, and it does disclose a genuinely useful trait: a $0.10 USDC x402 pay-per-call on Base, which tells an agent about cost and payment/auth requirements. However, it omits simulation methodology, data window, determinism, and error conditions.

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?

A single front-loaded sentence names the action first, then the returns, then the pricing detail at the end where it belongs. It is tight with no filler, though the trailing parenthetical packs two unrelated facts (price and payment rail).

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 annotations and no output schema, the description partially compensates by naming the three return metrics. But for a quantitative simulation tool it lacks the lookback period, data source, and failure behavior an agent would need to call it confidently.

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%, so the schema already documents tickers, weights, and initialCapital. The description only restates 'allocations' generically and adds no format or constraint detail beyond the schema, making the baseline 3 appropriate.

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?

The description uses a specific verb (Evaluate) plus resource (quantitative portfolio allocations) and names the concrete outputs (Sharpe ratio, win rate, max drawdown). It is easy to distinguish from most siblings like get_stock_quote, though it doesn't differentiate itself from the similarly evaluative evaluate_tsunami_strategy.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance. The description implies backtesting/simulation context but never says what scenario selects this tool over evaluate_tsunami_strategy or analyze_stock_ai, leaving routing entirely to inference.

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.