Skip to main content
Glama

Review an economy as a cheater would

xsolana_review
Read-onlyIdempotent

Reviews an economy the way a cheater reads it, before it goes live (a review, not a validity check). For every route that pays or gives value it says who can trigger it, what the program enforces, what it trusts off the chain, and the most one cheater gets; then findings with stable ids and a severity; then, for each grant paid on vouchers, whether its server decides, replays or only bounds the result (its "trust"), what a cheater gets at that level, and what the next level costs to build. Answers { ok (false when a finding is high, or the spec does not check: then refusals), routes: [{ kind ("grant", "farm", "item", "box", "payment", "recipe", "lottery", "contest", "auction", "schedule", "hold", "decision"), key, name, trigger, enforced: [words], trusts: [words], trust ("decides" | "replays" | "bounds" | null), ceiling (words), feeds: ["farm:", …: what its prize is staked in, crafted into or buys] }], findings: [{ id (R-…), severity ("high" | "medium" | "low" | "info"), route ("grant:", "farm:", … or "economy"), message, fix }] }; the trade-offs are in its text.

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_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
specNoThe spec itself (version 2). Wins over file and example.
exampleNoA worked example’s name (stud-farm, nft-raffle, …).

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. Changed1 schema field 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, …)."
  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

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and closed-world, so the safety profile is covered. The description adds substantial behavioral context beyond that: the ok/refusals semantics, the per-route analysis contract, and the finding structure. It stops short of explaining error modes or what 'refusals' contains in detail, so a 4 rather than 5.

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

Conciseness3/5

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

The purpose is front-loaded, but the remainder is one long run-on sentence with nested parentheses and inline JSON that is hard to parse. The content is dense and largely earns its place, but the structure is not scannable.

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?

This is a complex review tool with no output schema, and the description carries the full burden of explaining the return shape — ok/refusals, routes, findings, and trust levels — which it does thoroughly. The only gap is that the 'example' parameter is not addressed in the text, but the schema covers it.

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 both the 'spec' and 'example' parameters are already documented in the schema. The description does not add meaning about either parameter — it never mentions 'example' and only refers to 'the spec' in passing — so the baseline 3 is appropriate.

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 and resource — 'Reviews an economy' — and immediately distinguishes it from a validity check, which is the sibling xsolana_check's role. An agent can tell what this tool does and what it does not do without opening either schema.

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

Usage Guidelines5/5

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

Explicitly says when to use it ('before it goes live') and when not to ('a review, not a validity check'), which routes the agent to the alternative for validity checking. The condition that selects this tool is stated directly.

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.