Skip to main content
Glama

gas_state

Requires a ChainHelix API key as bearer token, or 2 cents per call paid over Binance b402 in USDT, USDC, USD1 or U on BNB Smart Chain, or over x402 in USDC on the Base network. Network load per chain: latest transaction count, MEV count and rate, average gas and large transaction count, against the 24 hour average of each. Omit chain for all nine

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
metaNo
receiptNo
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / x-lexicon / bundleSha256
      Previous value: -"a1c2e10fd3177d6b4d59ca78693e8fb36880165cf0f735f680dd86a510411178"New value: +"e5b4290024a229f2bdf97f8fc6a0079c3fe13b77267f41fdcffeb8b26aa1c41e"
  2. Changed1 schema field changed
    • changedInput schema / x-lexicon / bundleSha256
      Previous value: -"1eeb782ee15fe69fc80776948e0556fa6b795e210e6305935b2c97b73d955cda"New value: +"a1c2e10fd3177d6b4d59ca78693e8fb36880165cf0f735f680dd86a510411178"
  3. Changed1 schema field changed
    • changedInput schema / x-lexicon / bundleSha256
      Previous value: -"c014292cad7497ce9fd68c33345ac32cb42b672c8e77d6c749c26e162cc207e4"New value: +"1eeb782ee15fe69fc80776948e0556fa6b795e210e6305935b2c97b73d955cda"
  4. Changed2 schema fields changed
    • addedInput schema / x-lexicon
      Added value: +{
      +  "bundleSha256": "c014292cad7497ce9fd68c33345ac32cb42b672c8e77d6c749c26e162cc207e4",
      +  "name": "ChainHelix Agentic Lexicon",
      +  "resolve": "lexicon_resolve",
      +  "spec": "lexicon_spec",
      +  "version": "0.1.0"
      +}
    • addedInput schema / x-vocab
      Added value: +{
      +  "chain": "onchain.chain"
      +}
  5. Changed2 schema fields changed
    • addedOutput schema / properties / results / items / properties / rules
      Added value: +{
      +  "additionalProperties": true,
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / results / items / properties / source
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  6. Changed2 schema fields changed
    • addedOutput schema / properties / meta
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "contentHash": {
      +      "type": "string"
      +    },
      +    "generated": {
      +      "type": "number"
      +    },
      +    "priceUsd": {
      +      "type": "number"
      +    },
      +    "validUntil": {
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / receipt
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "bytes": {
      +      "type": "number"
      +    },
      +    "covers": {
      +      "type": "string"
      +    },
      +    "issuedAt": {
      +      "type": "number"
      +    },
      +    "lookup": {
      +      "type": "string"
      +    },
      +    "network": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "nonce": {
      +      "type": "string"
      +    },
      +    "seq": {
      +      "type": "number"
      +    },
      +    "settleTx": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "sha256": {
      +      "type": "string"
      +    },
      +    "tool": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  7. Added

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It transparently states authentication and payment prerequisites, including bearer token or per-call payment options, and explains that metrics are compared against 24-hour averages. It does not mention side effects, rate limits, or whether the operation is read-only, but for a network-state reporting tool with an output schema this is a moderate gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is only two sentences and packs meaningful detail: auth/payment requirements, metric definitions, and the omit-chain behavior. The payment sentence is long but necessary for invocation. It is structured effectively, leading with prerequisites and ending with the parameter behavior.

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?

Given one optional parameter and an existing output schema, the description covers the essential invocation details: prerequisites, metric semantics, and how to request all chains. It does not discuss time windows or units, but those may be derivable from the output schema. The main missing piece is differentiation from sibling tools, which is more of a usage-guideline gap.

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 description coverage is 0%, so the description must compensate. It does by explaining that the `chain` parameter selects a specific chain, and that omitting it returns all nine chains. The enum values are already in the schema, and the description adds the crucial optionality and aggregation semantics.

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?

The description clearly identifies what the tool reports: network load per chain with specific metrics like transaction count, MEV count/rate, average gas, and large transactions, compared against 24-hour averages. It also clarifies scope with 'Omit chain for all nine.' It lacks an explicit active verb like 'returns' or 'gets,' and it does not name a direct sibling, but the metric list makes its function reasonably distinct.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no guidance on when to choose gas_state over sibling tools like congestion, mev_pressure, or market_state. The only call-time instruction is 'Omit chain for all nine,' which is parameter guidance rather than tool-selection guidance. No exclusions or alternatives are mentioned.

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