Skip to main content
Glama

rivus mcp

Price history of a pair as a PNG chart or as JSON points.

market_chart
Read-onlyIdempotent

Price history of a pair as a PNG chart or as JSON points. Use when: You want the recent price series of a pair, to plot it or to read highs, lows and change. Price: 0.001 RLUSD per call, or the equivalent in XRP, paid on the XRP Ledger with x402 (the first call returns the payment requirements).

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": {
      "pair": "<pair>"
    },
    "name": "market_chart"
  }
}

Input Schema

NameRequiredDescriptionDefault
pairYes
periodNo

Output Schema

NameRequiredDescriptionDefault
gapsNo
pairYes
statsNo
periodYes
pointsYes
networkYes
productYes
data_as_ofYes
disclaimerYes
coverage_pctNo
source_ledgerNo
price_conventionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, open-world behavior, and the description adds genuinely new operational context: a per-call cost of 0.001 RLUSD (or XRP equivalent) and an x402 payment handshake where the first call returns payment requirements. That paywall handshake is critical for an agent to avoid treating the first response as an error. It stops short of describing failure/retry behavior after payment or any rate limits.

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?

Three tight sentences with an explicit 'Use when:' marker and pricing front-loaded before the caveat about the first call. The opening sentence duplicates the title verbatim, which is the only real waste.

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?

An output schema exists, so return-value explanation is unnecessary, and the payment model is well covered. However, for a tool whose schema has zero description coverage, leaving the pair format and period options entirely undocumented is a real gap an agent can stumble on.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden for both parameters, yet it says nothing about them. The required 'pair' has a strict dash-separated pattern and the optional 'period' has an enum of 1d/7d/30d, neither of which is hinted at; only 'recent' loosely gestures at the period.

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?

States a specific verb and resource (retrieve the price history of a pair) and names the two output forms (PNG chart or JSON points), so the agent knows both the content and the serialization. It never names a sibling such as market_ohlc or forecast_price_path, so the boundary with the candle/forecast tools is left implicit.

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?

The 'Use when:' clause gives a clear trigger: you want the recent price series, either to plot it or to read highs, lows and change. It does not state exclusions or point to alternatives, so an agent choosing between this and market_ohlc has to infer the difference itself.

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.

Resources