Skip to main content
Glama

base_logs

Read-only

Query smart-contract event logs on Base by contract address, topics and bounded block range. Costs $0.005 USDC via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicsNoUp to four Ethereum log topics; null keeps a topic position as a wildcard.
addressYesSmart-contract address on Base mainnet.
to_blockNoLast Base block to include in the log query.
from_blockNoFirst Base block to include in the log query.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / address / description
      Added value: +"Smart-contract address on Base mainnet."
    • addedInput schema / properties / from_block / description
      Added value: +"First Base block to include in the log query."
    • addedInput schema / properties / to_block / description
      Added value: +"Last Base block to include in the log query."
    • addedInput schema / properties / topics / description
      Added value: +"Up to four Ethereum log topics; null keeps a topic position as a wildcard."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description adds an important non-schema behavior: a concrete $0.005 USDC cost via x402. It doesn't mention return ordering or result limits, but for a safe read operation the description adds meaningful value beyond annotations.

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 tight sentences with no filler; the core action and scope come first, with the cost disclosure at the end. Every sentence contributes.

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?

With 100% schema coverage, the required address parameter, read-only annotations, and a clear statement of scope and cost, an agent has enough to select and invoke the tool. Return shape is not described, but no output schema exists and the expected result (event logs) is inferable from the tool's purpose.

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 coverage is 100% and already documents address, topics, from_block, and to_block. The description restates those as 'by contract address, topics and bounded block range' but adds no syntax details beyond the schema, matching the baseline.

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 opens with the specific verb 'Query' and names the resource: smart-contract event logs on Base, scoped by contract address, topics, and block range. This clearly distinguishes it from siblings like base_receipt or base_transaction.

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?

It clearly signals when to use the tool: whenever event logs for a Base contract are needed over bounded block ranges. It does not explicitly name alternatives or exclusions, but the stated scope leaves little ambiguity about its niche among sibling tools.

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