Skip to main content
Glama

spraay_free_gas

Read-only

Retrieve gas prices for 7 EVM chains (Alchemy, 15s cache). Free and read-only. Pass query parameters as JSON.

Instructions

Gas prices — 7 EVM chains via Alchemy (cached 15s). Free to call. Read-only. Pass any query parameters as a JSON string via the params argument.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsNoQuery parameters as JSON (e.g. {"key":"value"})

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesTrue when the gateway call succeeded; false when it returned an error.
dataNoThe gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block).
errorNoHuman-readable error message, present only when ok is false.
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint. The description adds behavioral context: data is cached for 15 seconds and sourced from Alchemy. This helps the agent understand staleness and trustworthiness, going beyond what annotations provide.

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 sentences with no wasted words. Front-loaded with the core purpose and key details (chains, cache, cost, safety). Every sentence adds value, and structure is optimal for quick scanning.

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?

The description covers the tool's purpose, data source, cache duration, cost, safety, and parameter usage. With an output schema present, the agent has enough to invoke the tool correctly. A minor gap is the lack of documentation on what keys the params JSON supports, but given the tool's simplicity, this is acceptable.

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?

Schema coverage is 100% with a single parameter 'params' described as JSON. The description reinforces that query parameters are passed as a JSON string, adding clarity. While the schema already covers it, the description's example and instruction add marginal value.

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 clearly states the tool retrieves gas prices across 7 EVM chains via Alchemy with a 15-second cache. The verb 'gas prices' and resource '7 EVM chains' are specific, and the name 'spraay_free_gas' distinguishes it from siblings like 'spraay_oracle_gas' by highlighting it's free.

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 description notes it's free and read-only, which implies it's suitable for cost-sensitive or safe queries. However, it does not explicitly state when to use this tool over alternatives like 'spraay_oracle_gas' or provide when-not-to-use guidance. The usage context is implied but not fully spelled out.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/plagtech/spraay-x402-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server