Skip to main content
Glama

Solana priority fees & Jito tip floor

get_solana_priority_fee
Read-onlyIdempotent

Fetch live Solana compute-unit priority fees and Jito bundle tip floors, refreshed every 10 seconds, to estimate transaction costs and congestion.

Instructions

Fetch live Solana compute-unit priority fees and Jito bundle tip floors refreshed every 10 seconds. Takes no required parameters (optional session_token after free try). Returns slot, congestion_level, priority_fee_microlamports (p50, p75, p95), and jito_tip_floor. Do not use for EVM gas fees (use get_evm_gas_price) or raw RPC queries (use call_chain_rpc). 1 free try per IP, then HTTP 402 ($0.001 USDC).

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

Input Schema

NameRequiredDescriptionDefault
session_tokenNoOptional prepaid x402s_... session token from open_agent_session or https://apix402data.com/pay used after the 1 free try rolls over to HTTP 402.

Output Schema

NameRequiredDescriptionDefault
slotNo
cachedNo
jito_tip_floorNo
congestion_levelNo
priority_fee_microlamportsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv5.6.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, but the description adds cost and auth behavior the annotations cannot express: refresh interval, one free call per IP, then HTTP 402 at $0.001 USDC with a prepaid session token. It also enumerates returned fields, so an agent knows what it gets for the payment.

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

Conciseness5/5

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

Three dense sentences: capability first, cost/access second, exclusions third. No filler, and the prohibitions are front-loaded before the agent commits to a call.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Although an output schema exists, the description still summarizes the return shape, and it covers the two things structured fields cannot: pricing/payment flow and sibling disambiguation. Nothing needed to call this correctly is missing.

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?

Schema coverage is 100%, so the optional session_token is already fully documented including where to obtain it. The description reinforces the key semantic — no required parameters, and the token only matters after the free try rolls over to 402 — which is a useful framing beyond the field text but not essential new information.

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 and resource — live Solana compute-unit priority fees and Jito bundle tip floors — with a refresh cadence (10s). It explicitly names what it is not for and which sibling handles each alternative, so an agent can select it 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 Guidelines5/5

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

Gives explicit negative routing: 'Do not use for EVM gas fees (use get_evm_gas_price) or raw RPC queries (use call_chain_rpc).' It also states the access condition (1 free try per IP, then HTTP 402 payment), which is the practical gate for deciding whether to call.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.