Skip to main content
Glama

AgentPay — Pay-per-call AI Microservices

base-gas

base-gas
Idempotent

Base network gas price in gwei, live from the Base RPC ($0.003 USDC per call)

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": "base-gas"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover openness/idempotency/destructiveness, and the description adds genuinely new behavioral facts: the value is live rather than cached, comes from the Base RPC, and each call costs $0.003 USDC. The cost disclosure is the most decision-relevant thing an agent could know here. It does not, however, state freshness cadence or what happens on RPC failure.

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?

A single front-loaded sentence naming the resource first, then the unit, source, and price. No filler, no redundancy with the title, and no wasted clauses.

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 no-argument, no-output-schema lookup, the description supplies resource, unit, freshness, and cost, which is essentially everything needed to call it correctly. Only minor gaps remain, such as error behavior or whether the price is a single snapshot value.

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 no parameters, so there is nothing for the description to disambiguate and the baseline applies. The mention of gwei usefully pre-empts unit confusion about the returned figure.

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 specific resource (Base network gas price) with unit (gwei) and data source (live Base RPC), which is far more than a restatement of the name. It does not name or contrast with the sibling eth-gas, so an agent must infer the Base-vs-Ethereum distinction from the chain name alone.

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: 'Base network' signals when this applies versus Ethereum gas, but there is no explicit when-to-use, when-not, or named alternative. For a zero-parameter tool the implied context is probably enough, but nothing steers an agent away from eth-gas.

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