Skip to main content
Glama

From what a person wants to the specs that do it

xsolana_design
Read-onlyIdempotent

From what a person wants to the specs that do it, when no single part does it all or the wants pull against each other. Each want is a requirement naming its route (the key of the lottery, item, grant, farm or contest it is about; its family follows from that): a draw ("pay-in" {currencies: [{token, amount}]}, "burn", "refund-as-paid", "free-entry" {grant, perPerson, spendable}, "one-approval", "one-draw", "one-token", "first-reward-no-sol"); a sale of an item ("pay-in", "fixed-price", "instant", "fair-scarce" {perPerson, list}, "one-approval"); a reward, a grant ("per-person" {claims}, "no-server", "bot-proof", "bounded" {total}, "first-reward-no-sol"; a server’s voucher keys as "serverKeys" on any of them); staking, a farm ("emission-cap" {total}, "predictable", "no-lock", "whale-fair"; "perDay" and "days" on any of them); a contest ("no-owner-trust", "equal-stakes" {amount}, "refund-if-no-result"; decider keys as "serverKeys"). Takes the spec as it stands, with each route’s skeleton. For each route it builds every combination of known bridges (an entry token each currency buys, crafted in the purchase; a payment held to the draw; a fixed-price listing in each currency; an allowlist; a deciding voucher server; a fixed or shared rate, minted or from a vault, with an end or a halving; a decider key), checks each, tests every requirement on it, and answers the designs best first (what the person asked for, then how it plays, then how clean, then how secure), with what each keeps (✓), keeps in part (~) and gives up (✗), a sentence for the person and what each needs from them; when none keeps them all, what has to give. Each design’s spec is in designs.

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": {
      "requirements": "<requirements>"
    },
    "name": "xsolana_design"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNoHow many designs to answer (3 by default).
specNoAn economy spec (version 2) given inline. Takes precedence over file and example.
exampleNoA worked example by name (stud-farm, nft-raffle, …).
requirementsYesWhat the person wants, each a requirement the tools can test.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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, …)."
  2. 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, …)."
  3. Added

TDQS

B3.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, but the description adds substantial behavioral detail: it builds combinations of known bridges, checks each, tests every requirement, ranks designs by requested fit then play then cleanliness then security, and explains fallback behavior when no design satisfies all requirements. It remains vague on error handling and limits, but is rich beyond the annotations.

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 enormous run-on paragraph full of nested parentheses and semicolon chains. The metaphorical first sentence delays the actionable meaning, and the dense enumeration is not scannable despite the tool's complexity.

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 design-search tool with no output schema, the description explains the conceptual output (designs, what each keeps/partially keeps/gives up) and the fallback when nothing satisfies all requirements. However, it does not describe the concrete shape of `designs`, error behavior, or how `spec` and `example` interact in enough detail for an agent to predict exact returns.

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?

With 100% schema description coverage the baseline is 3, but the description adds meaning by defining requirement kinds and optional keys such as currencies, perPerson, total, claims, and serverKeys, and by clarifying how top, spec, and example are used. The nested requirement extras are not represented in the schema, so this extra context is valuable even though the prose is difficult to parse.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description conveys that it turns wants/requirements into candidate economy specs, but the opening is metaphorical and the actionable meaning is buried in dense jargon. It never cleanly states 'generate economy designs' and does not distinguish itself from siblings like xsolana_review or xsolana_simulate.

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?

Usage is only implied by 'when no single part does it all or the wants pull against each other.' There is no explicit when-not guidance, no named alternatives, and no prerequisites or routing advice for choosing between this and sibling tools.

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.