Skip to main content
Glama

Pyfile LLM & Data API

base_gas

Current Base L2 gas price in wei and gwei.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are present, so the description carries the full burden. It discloses the output units (wei and gwei) and that the value is 'current,' implying a live read. However, it does not describe whether this is a read-only operation, how the value is obtained, or any freshness/error behavior. For a simple query tool this is acceptable, though slightly sparse.

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?

One short, well-structured sentence that conveys the resource, the value, and the units. Every word contributes meaning, and there is no filler or redundancy.

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 simple, parameterless read tool, the description is largely sufficient: it names the network, the gas price, and both output units. Since there is no output schema, explicitly stating that the result includes both wei and gwei values is helpful. A minor gap is that it doesn't specify the result shape (e.g., separate fields vs. a formatted string), but this is unlikely to confuse an agent.

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 has zero parameters and the schema is empty (100% coverage), so there is nothing to clarify. Per the baseline for 0-parameter tools, the description adds sufficient meaning by stating what is returned.

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?

The description states a specific query ('gas price') on a specific resource ('Base L2') and specifies the units returned (wei and gwei). It clearly differentiates from the sibling tools, which are about chat, crypto price, DNS, and Wikipedia – none of which overlap with an L2 gas price lookup.

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 implies the exact use case: retrieving the current Base L2 gas price. It doesn't explicitly name alternatives or exclusions, but the tool is so specialized and siblings are unrelated that the context is fully clear. No additional exclusions are needed.

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.