Skip to main content
Glama

Price going live and each action

xsolana_cost
Read-onlyIdempotent

What going live costs (each account’s rent, the program’s fees, network fees, the seeds, the transactions it takes) and what each action costs whoever signs it while it runs, at the fees of the economy’s own network. It prices only: nothing is sent.

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

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

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description goes beyond that by explicitly reinforcing that nothing is sent and by enumerating the cost components it evaluates (rent, program fees, network fees, seeds, transaction count), which tells the agent what the numbers will cover. It still says nothing about rate limits, network-fee source details, or 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.

Conciseness3/5

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

The core point is front-loaded, but the single long parenthetical list and the clause 'what each action costs whoever signs it while it runs, at the fees of the economy's own network' are convoluted and take work to parse. It is dense rather than wasteful, but phrasing could be tightened considerably.

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 output schema, the description must convey what comes back; it partially does by listing the cost components, but never describes the shape of the result or how per-action costs are keyed. It also omits that inputs are optional and what happens with no inputs. Adequate but with clear gaps for a nested-parameter pricing tool.

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% and only two parameters exist, both optional, so the schema already does the explanatory work. The description adds no meaning about 'spec' (version 2, precedence over file/example) or 'example'; it never mentions either input. Baseline 3 applies.

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 names a specific resource – the cost of going live (account rent, program fees, network fees, seeds, transactions) plus the cost of each runtime action – and distinguishes itself from simulation-style siblings with 'It prices only: nothing is sent.' The verb is implicit ('prices', 'what ... costs') rather than stated, which keeps it from a 5, but an agent can still tell what the tool returns.

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

Usage Guidelines3/5

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

Usage is only implied: you call it to learn what deployment and each action will cost. The line 'nothing is sent' implicitly contrasts with xsolana_simulate, but no alternative is named and no when-not condition is given. An agent must infer the 'price before you deploy' workflow.

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.