Skip to main content
Glama

Fee intelligence

xrpl_fee
Read-onlyIdempotent

Current XRPL fee tiers in drops with a congestion score. When to use: Before submitting a transaction, to choose a Fee and to decide whether the network is congested. Prefer another tool: Not a price feed and not a historical series; it describes the current open ledger only. Example: xrpl_fee {} Paid: 0.01452 USDC or 0.0121 EURC per call on Solana mainnet, VAT included. With prepaid credits, debit per call: 0.0005 EUR-denominated units (approx 2000 calls per bundle) or 0.0006 USD-denominated units (approx 1366 calls per bundle).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "$defs": {
      -    "Meta": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "age_seconds": {
      -          "description": "Age of the data at response time",
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "as_of": {
      -          "description": "When the data was read from the ledger",
      -          "format": "date-time",
      -          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      -          "type": "string"
      -        },
      -        "cache": {
      -          "enum": [
      -            "hit",
      -            "miss",
      -            "stale"
      -          ],
      -          "type": "string"
      -        },
      -        "ledger_index": {
      -          "description": "Validated ledger the data comes from",
      -          "maximum": 9007199254740991,
      -          "minimum": -9007199254740991,
      -          "type": "integer"
      -        },
      -        "stale": {
      -          "description": "True when served past its fresh TTL (stale-on-error)",
      -          "type": "boolean"
      -        }
      -      },
      -      "required": [
      -        "ledger_index",
      -        "as_of",
      -        "age_seconds",
      -        "cache",
      -        "stale"
      -      ],
      -      "type": "object"
      -    }
      -  },
      -  "$schema": "https://json-schema.org/draft/2020-12/schema",
      -  "additionalProperties": false,
      -  "properties": {
      -    "base_fee": {
      -      "description": "Decimal string",
      -      "type": "string"
      -    },
      -    "congestion": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "band": {
      -          "enum": [
      -            "low",
      -            "medium",
      -            "high"
      -          ],
      -          "type": "string"
      -        },
      -        "load_factor_assumed": {
      -          "type": "boolean"
      -        },
      -        "score": {
      -          "maximum": 100,
      -          "minimum": 0,
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "score",
      -        "band",
      -        "load_factor_assumed"
      -      ],
      -      "type": "object"
      -    },
      -    "current_queue_size": {
      -      "description": "Decimal string",
      -      "type": "string"
      -    },
      -    "fee": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "economy": {
      -          "description": "Drops",
      -          "type": "string"
      -        },
      -        "priority": {
      -          "description": "Drops",
      -          "type": "string"
      -        },
      -        "standard": {
      -          "description": "Drops",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "economy",
      -        "standard",
      -        "priority"
      -      ],
      -      "type": "object"
      -    },
      -    "max_queue_size": {
      -      "description": "Decimal string",
      -      "type": "string"
      -    },
      -    "median_fee": {
      -      "description": "Decimal string",
      -      "type": "string"
      -    },
      -    "meta": {
      -      "$ref": "#/$defs/Meta"
      -    },
      -    "minimum_fee": {
      -      "description": "Decimal string",
      -      "type": "string"
      -    },
      -    "open_ledger_fee": {
      -      "description": "Decimal string",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "fee",
      -    "congestion",
      -    "base_fee",
      -    "median_fee",
      -    "minimum_fee",
      -    "open_ledger_fee",
      -    "current_queue_size",
      -    "max_queue_size",
      -    "meta"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered; the description adds the read-only-scope nuance (current open ledger only, no historical) and the return shape (fee tiers in drops plus a congestion score). It also uniquely discloses per-call cost, which matters for a paid zero-arg query. It says nothing about freshness, staleness, or failure modes under congestion.

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?

Well front-loaded with labeled sections (When to use, Prefer another tool, Example), and the core sentence earns its place. The two pricing sentences are dense and transactional, diluting the functional content, though they carry real cost information for a paid call.

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 zero-parameter read tool with no output schema, the description covers trigger, scope, return concept, and cost, which is enough to invoke it confidently. Minor gap: no indication of what the congestion score scale or fee tier structure actually looks like, which the absent output schema leaves unaddressed.

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 is 4; the description reinforces this with an explicit empty-argument example call (`xrpl_fee {}`), removing any doubt about required inputs.

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 resource and output shape ('Current XRPL fee tiers in drops with a congestion score'), and explicitly bounds what it is not ('Not a price feed and not a historical series; it describes the current open ledger only'). An agent can distinguish it from unrelated siblings without opening a schema.

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?

Gives an explicit trigger ('Before submitting a transaction, to choose a `Fee` and to decide whether the network is congested') plus a when-not section ruling out price-feed and historical uses. It stops short of naming the sibling to use instead, so the routing is by category rather than by tool name.

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