Skip to main content
Glama

xsolana

xsolana_guide

Read-onlyIdempotent

Read this first whenever someone wants a web3 economy, game economy, token economy, NFT mechanic or onchain reward system: a shop, loot boxes or packs, gacha, a lottery or raffle, an auction (highest bid wins, the outbid refunded at once), staking or a farm, crafting or merging, seasons and emissions, a prediction pool or contest, quests and airdrops, holder-gated drops, using NFTs of any other collection in a game. loot is ONE shared Solana program (devnet until it is audited): the economy is a JSON spec, not a new smart contract, so never write Anchor/Rust for what it covers. Returns every part an economy can have (fields from the schema, who acts at play time, fees), how to write a spec, and what loot cannot do (with the nearest alternative). Pass part for one part with its nested shapes.

Input Schema

NameRequiredDescriptionDefault
partNoOne part, with its nested shapes.

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, closed-world behavior, so the bar is lower, yet the description still adds substantive context: loot is one shared program on devnet until audited, the economy is a JSON spec rather than a new smart contract, and the response includes play-time actors, fees, and documented limitations. It does not describe response size or how partial results behave when `part` is omitted, which keeps it short of a 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 lead "Read this first whenever..." is well front-loaded, but the trigger list balloons into a dense run-on enumeration and the second half (program model, return contents, `part` usage) is crammed into two long sentences without separation. The content largely earns its place, but the structure makes it harder to scan than it needs to be.

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 documentation-retrieval tool with no output schema, the description adequately conveys what comes back (per-part fields, who acts at play time, fees, spec-writing guidance, capability limits) plus the devnet/unaudited caveat. Only the default no-`part` behavior is left unstated, which is a minor gap.

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 single `part` enum is fully documented in the schema, so the baseline of 3 applies. The description does add a small amount of meaning by explaining that `part` yields one part with its nested shapes, but it does not say what happens by default when `part` is omitted or how large the full response is.

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 states a specific resource (the `loot` Solana economy program reference) and what the tool returns: every part an economy can have, how to write a JSON spec, and what loot cannot do. The enumeration of covered domains (shop, loot boxes, gacha, auctions, staking, quests, airdrops) makes the scope unmistakable and separates it from code-writing or review siblings.

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

Usage Guidelines4/5

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

It gives an emphatic, concrete when-to-use trigger ("Read this first whenever someone wants a web3 economy...") and a negative rule against writing Anchor/Rust for covered functionality, which routes the agent away from a wrong action. It does not, however, distinguish this guide from other informational siblings such as xsolana_explain or xsolana_examples, so sibling routing is left implicit.

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.