Skip to main content
Glama

Agent Data API

polygon_gas_prices

Current Polygon PoS gas conditions: block number, base fee, gas price and priority fee in gwei, and the estimated cost in POL and USD of a native transfer and an ERC-20 transfer (Chainlink POL/USD). Costs $0.005 USDC on Base via x402.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the material behavioral facts: this is a read-only snapshot of gas conditions, the USD conversion relies on a Chainlink POL/USD feed, and the call requires payment of $0.005 USDC on Base via x402. It stops short of stating freshness/caching behavior or whether the paid amount is charged per call, which would matter for an agent deciding how often to poll.

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: the payload contents first, then the payment terms. Every clause ('in gwei', 'native transfer and an ERC-20 transfer', 'Chainlink POL/USD') adds information an agent would otherwise have to guess, and the cost disclosure is placed where it will be seen rather than buried.

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?

With no output schema and no parameters, the description fully specifies the return payload down to units and the oracle used for the USD leg, and it surfaces the payment requirement that would otherwise be a surprise at call time. Nothing an agent needs to call it 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?

The tool takes zero parameters, so the baseline is 4; there is nothing for the description to clarify on the input side. All useful semantics are packed into the return-value description instead.

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 chain ('Current Polygon PoS gas conditions') and enumerates exactly what is returned: block number, base fee, gas price, priority fee in gwei, and transfer costs in POL/USD. The chain specificity plus the sibling naming convention (eth_gas_prices, base_gas_prices, arbitrum_gas_prices) makes it unambiguous which tool to pick for Polygon.

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?

The Polygon scope implies when to use it relative to the other *_gas_prices siblings, and the explicit '$0.005 USDC on Base via x402' note tells the agent this call has a real cost — important context for deciding whether to invoke it. However, it never states exclusions or names an alternative, and doesn't say whether repeated polling is advisable given the per-call charge.

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