Skip to main content
Glama

get_gas_price

Fetch current Kaia network gas price in peb and Gpeb, with optional KAIA per unit, for mainnet or Kairos to estimate transaction costs.

Instructions

Get current gas price from the network. Returns gas price in peb, Gpeb (1e9 peb), and optionally KAIA per unit.

Input Schema

NameRequiredDescriptionDefault
networkNomainnet or kairos (default: mainnet)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses the return denominations (peb, Gpeb, KAIA per unit), which no other structured field covers, but says nothing about freshness guarantees, caching, rate limits, or error behavior.

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?

Two tight sentences, front-loaded with the action and followed by the return format. Every clause earns its place with zero filler.

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?

With no output schema, the description correctly covers return units and denominations. The only soft spot is the unexplained 'optionally KAIA per unit', since no parameter in the schema controls that option, leaving a small ambiguity about how that output is obtained.

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?

The single 'network' parameter is fully documented in the schema (100% coverage), including its default, so the description adds no syntax or format detail beyond it. Baseline 3 applies when the schema does the heavy lifting.

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 concrete verb and resource ('Get current gas price from the network'), which is sufficient to separate it from sibling read tools like get_kaia_price (token price) or estimate_gas (per-transaction cost estimate). It never names those siblings explicitly, so the differentiation 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 Guidelines3/5

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

Usage is only implied by the purpose statement; there is no explicit guidance on when to prefer this over estimate_gas or get_kaia_price, and no note on when to select mainnet versus kairos beyond the schema default. Adequate for a simple read tool but with clear gaps.

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