Skip to main content
Glama

AgentLogic MCP Server

block_info

Read the latest block on an EVM chain: number, hash, timestamp, transaction count, base fee, gas used and limit. Price: $0.001 USDC on Base via x402.

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": "block_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoChain to read: base (default), ethereum, polygon, arbitrum or optimism.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add genuine behavioral context: the operation is a read, it is limited to the latest block, and it costs $0.001 USDC on Base via x402 — payment terms an agent otherwise could not know. It omits error behavior, rate limits, and whether payment is handled automatically or must be pre-arranged, which matters for a paid endpoint.

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?

Two tight sentences: capability and returned fields first, pricing last. No filler. It could be marginally better structured by separating the cost note, but every clause earns its place.

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 one-optional-parameter read tool with no output schema, the description is nearly sufficient — it enumerates the returned fields in lieu of an output schema and discloses cost and payment rail. The remaining gap is guidance on failure and payment mechanics, which is modest for this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the single chain parameter already documents the default (base) and all five accepted values. The description adds nothing about the parameter, so the schema does the work — baseline 3.

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 verb and resource ('Read the latest block on an EVM chain') and enumerates exactly what comes back: number, hash, timestamp, transaction count, base fee, gas used and limit. The 'latest' qualifier also scopes it away from historical block lookups, so an agent can distinguish it from gas_price or tx_lookup without opening the schema.

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 implied rather than stated: 'latest block' tells the agent this cannot fetch a block by number or hash, which is a real constraint. However, it never names an alternative (e.g. gas_price for fee-only queries) or gives an explicit when-to-use condition.

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.