Skip to main content
Glama

price

Read-onlyIdempotent

Current XMR price in one call: the centralized spot (CoinGecko, Kraken fallback) and the Haveno peer-to-peer quote on both sides.

Returns the best offer and the amount-weighted average on each side, resting depth, offer counts and round_trip_cost_pct, the cost of buying XMR and selling it straight back (an upper bound, usually far above the headline premium). Use this for "what does XMR cost now". For the premium history use haveno_premium; for individual price levels use haveno_book. Takes no arguments.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/open-world, and the description goes well beyond them: it discloses the data sources and fallback order, the aggregation method (best offer, amount-weighted average), depth and offer counts, and defines round_trip_cost_pct as an upper-bound round-trip cost "usually far above the headline premium" — a non-obvious caveat an agent would otherwise misread.

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

Conciseness4/5

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

Front-loaded with purpose, then returns, then sibling routing — good ordering with little waste. The closing "Takes no arguments" is mildly redundant given the empty schema, and the return enumeration is dense, but each listed metric earns its place.

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?

No output schema exists, so the description carries the return-value burden and does so by naming the aggregate metrics and explaining the one ambiguous field. Minor gaps remain — no mention of quote freshness/timestamp or units/pair notation — but an agent has enough to call and interpret it.

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?

Zero parameters, so the baseline applies; the description also confirms "Takes no arguments," which is consistent with the empty schema. There is no parameter meaning to add or omit.

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+resource+scope: current XMR price from centralized spot (CoinGecko, Kraken fallback) AND the Haveno P2P quote on both sides. An agent can distinguish this from haveno_premium and haveno_book purely from the description.

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 to use it for "what does XMR cost now" and routes to alternatives by condition: haveno_premium for premium history, haveno_book for individual price levels. Both when-to-use and when-not-to-use are stated.

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.