Skip to main content
Glama

Simulate where the money goes

xsolana_simulate
Read-onlyIdempotent

The quick simulation: expected values from the spec, computed at once. Returns what each box, ticket and craft gives back against its price, what the game keeps, each pool’s money in and out per day and whether it runs dry, settles or grows, farm rewards per unit staked, and what players, the treasury and the platform get each day, at the fees of the economy’s own network; a box’s chances with its odds rules at their most, what a box that gives nothing for a miss misses as its outcomes run out, what a ticket weighs in a lottery weighed by time, and what places get from a pool that starts short. scenario overrides the spec’s own ({"perDay": {"box:flip": 1000}, "days": 30, "staked": {"": 1000}}).

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

Input Schema

NameRequiredDescriptionDefault
jsonNoAlso return every row.
specNoThe spec itself (version 2). Wins over file and example.
exampleNoA worked example’s name (stud-farm, nft-raffle, …).
scenarioNoWhat to assume in place of the spec’s scenario.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / example / description
      Previous value: -"A worked example by name (stud-farm, nft-raffle, …)."New value: +"A worked example’s name (stud-farm, nft-raffle, …)."
    • changedInput schema / properties / spec / description
      Previous value: -"An economy spec (version 2) given inline. Takes precedence over file and example."New value: +"The spec itself (version 2). Wins over file and example."
  2. Changed2 schema fields changed
    • changedInput schema / properties / example / description
      Previous value: -"A worked example by name, from xsolana_examples (stud-farm, nft-raffle, …)."New value: +"A worked example by name (stud-farm, nft-raffle, …)."
    • changedInput schema / properties / scenario / description
      Previous value: -"What to assume instead of the spec’s scenario."New value: +"What to assume in place of the spec’s scenario."
  3. Changed1 schema field changed
    • changedInput schema / properties / example / description
      Previous value: -"A worked example by name, from xsolana_examples (coin-flip-arena, stud-farm, …)."New value: +"A worked example by name, from xsolana_examples (stud-farm, nft-raffle, …)."
  4. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered. The description adds real value by disclosing the shape of the returns (pool dry/settle/grow outcomes, per-day splits) in the absence of an output schema. It says nothing about cost, runtime, or determinism guarantees beyond idempotentHint.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is one dense, ornate block where the return-value enumeration dominates before the key input override is mentioned. Phrases like 'what a box that gives nothing for a miss misses as its outcomes run out' and 'what places get from a pool that starts short' are obscure filler rather than useful specification, and the important scenario information is buried at the end.

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?

For a complex tool with nested objects and no output schema, the description does attempt to cover return contents and the scenario override, which is the right instinct. However, it never clarifies the relationship among spec/example/scenario/json inputs or the domain terms it leans on, so an agent still has gaps before calling 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 100%, so the baseline is 3, but the description earns extra by explaining that `scenario` overrides the spec's own scenario and giving a concrete payload example (perDay, days, staked). The `json`, `spec`, and `example` parameters are not elaborated in prose, leaving some reliance on the schema.

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 opening clause states a specific action and scope: a quick simulation computing expected values from the spec at once. The rest enumerates what the results cover (box/ticket/craft returns, house edge, pool sustainability, farm rewards, player/treasury/platform splits), so the resource is identifiable. It never names or contrasts with siblings such as xsolana_review or xsolana_cost, so an agent cannot tell from the text which to pick.

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?

The label 'the quick simulation' vaguely implies a faster alternative but never names one or states when-not to use it. There are no prerequisites, no guidance on choosing between spec, example, and scenario inputs beyond the schema's own note, and no routing to the review or cost siblings.

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.