Skip to main content
Glama

ScorpTech x402 Tools

Sol Priority Fees

sol_priority_fees
Read-onlyIdempotent

Solana priority-fee estimator from getRecentPrioritizationFees (last ~150 slots), globally or for the accounts your transaction writes to: min / p25 / median / p75 / p90 / p95 / max in micro-lamports per compute unit (all slots and non-zero slots), suggested low / medium / high / very-high compute-unit prices, and the resulting fee in lamports and SOL for your compute-unit limit and signature count. Public Solana RPC, read-only. Returns JSON with: scope, accounts, samples, slotRange, zeroFeeSlotsPct, allSlots, nonZeroSlots, computeUnits. Price: $0.003 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/sol-priority-fees

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

Input Schema

NameRequiredDescriptionDefault
accountsNoWritable accounts of your transaction (base58), up to 64; empty = global fees
signaturesNoSignatures in the transaction (5000 lamports base fee each)
computeUnitsNoCompute-unit limit used for the cost estimate

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open world), yet the description adds context they cannot: the ~150-slot sampling window, the public RPC source, the JSON fields returned, the per-call price of $0.003 USDC via x402 on Base or Solana, and an equivalent HTTPS endpoint. Cost and billing-rail disclosure is exactly the kind of behavioral fact an agent needs before invoking a paid tool.

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?

Purpose and scope are front-loaded in the first clause, and the pricing/transport facts are appended after the substantive content. The metric enumeration (min / p25 / median / p75 / p90 / p95 / max, all slots and non-zero slots) is dense but sets precise expectations for a tool with no output schema.

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?

For a three-parameter, zero-required, no-output-schema estimator, the description supplies the data source, sampling window, returned fields, unit of measure (micro-lamports per compute unit), cost, and an alternate transport. Nothing needed to call it correctly or to anticipate the response appears to be missing.

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%, so accounts, signatures, and computeUnits are already documented in the input schema, including the 5000-lamport base fee and max items. The description echoes that these parameters drive the fee estimate but adds no new format, default, or constraint detail beyond the schema, so the baseline 3 applies.

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?

Names a specific verb and resource ('Solana priority-fee estimator') and its upstream data source (getRecentPrioritizationFees, last ~150 slots), plus the exact statistics computed. This clearly separates it from the other sol_* siblings, which handle accounts, balances, PDAs, signatures, and token metadata rather than fee estimation.

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 description tells the agent the two modes of use: global fees versus fees scoped to 'the accounts your transaction writes to', which is the key decision an agent must make. It does not name an alternative tool to use instead nor state an explicit exclusion, so it stops short of a 5.

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