Skip to main content
Glama

crypto.base-event-logs

Read-onlyIdempotent

Query validated eth_getLogs events from one Base mainnet contract using a required event signature and optional indexed topic filters across a bounded resolved block range.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum newest-first validated logs returned
topicsYesOne required event-signature topic followed by optional indexed topic values or null wildcards. Signature-only scans are limited to 100 resolved blocks; adding an indexed value permits up to 2,000.
contractYesThe 20-byte Base mainnet contract whose event logs are queried
block_tagNoBase block tag resolved once as the inclusive upper boundsafe
lookback_blocksNoInclusive resolved Base blocks to scan; defaults to the 100-block signature-only ceiling and may be raised to 2,000 with an indexed topic value

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesStructured Base contract event logs result
metaYes
serviceYes
versionYes
request_idYesUnique request identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedOutput schema / properties / meta / properties / next_actions / items / properties / checkout_path
      Added value: +{
      +  "pattern": "^/try/",
      +  "type": "string"
      +}
    • addedOutput schema / properties / meta / properties / next_actions / items / properties / executes_automatically
      Added value: +{
      +  "const": false,
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / meta / properties / next_actions / items / properties / handoff_path
      Added value: +{
      +  "description": "Free full contract and spend-capped command handoff; reading it does not execute or purchase the follow-up.",
      +  "pattern": "^/catalog/",
      +  "type": "string"
      +}
    • addedOutput schema / properties / meta / properties / next_actions / items / properties / handoff_payment_required
      Added value: +{
      +  "const": false,
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / meta / properties / next_actions / items / properties / maximum_atomic_usdc
      Added value: +{
      +  "pattern": "^[1-9][0-9]*$",
      +  "type": "string"
      +}
    • addedOutput schema / properties / meta / properties / next_actions / items / properties / sample_path
      Added value: +{
      +  "pattern": "^/samples/",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / meta / properties / next_actions / items / required
      Previous value: -[
      -  "service",
      -  "title",
      -  "reason",
      -  "method",
      -  "path",
      -  "price",
      -  "input_template",
      -  "use_output",
      -  "authorization_required"
      -]New value: +[
      +  "service",
      +  "title",
      +  "reason",
      +  "method",
      +  "path",
      +  "price",
      +  "input_template",
      +  "use_output",
      +  "handoff_path",
      +  "checkout_path",
      +  "sample_path",
      +  "maximum_atomic_usdc",
      +  "handoff_payment_required",
      +  "executes_automatically",
      +  "authorization_required"
      +]
  2. Changed13 schema fields changed
    • changedInput schema / properties / lookback_blocks / default
      Previous value: -2000New value: +100
    • changedInput schema / properties / lookback_blocks / description
      Previous value: -"Inclusive number of resolved Base blocks to scan"New value: +"Inclusive resolved Base blocks to scan; defaults to the 100-block signature-only ceiling and may be raised to 2,000 with an indexed topic value"
    • changedInput schema / properties / topics / description
      Previous value: -"One event-signature topic followed by indexed topic values or null wildcards; at least one indexed value after topic zero is required"New value: +"One required event-signature topic followed by optional indexed topic values or null wildcards. Signature-only scans are limited to 100 resolved blocks; adding an indexed value permits up to 2,000."
    • changedInput schema / properties / topics / examples
      Previous value: -[
      -  [
      -    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
      -    null,
      -    "0x0000000000000000000000001111111111111111111111111111111111111111"
      -  ]
      -]New value: +[
      +  [
      +    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
      +  ],
      +  [
      +    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
      +    null,
      +    "0x0000000000000000000000001111111111111111111111111111111111111111"
      +  ]
      +]
    • changedInput schema / properties / topics / minItems
      Previous value: -2New value: +1
    • changedOutput schema / properties / data / properties / filter / properties / topics / minItems
      Previous value: -2New value: +1
    • removedOutput schema / properties / data / properties / networkRequestsMade / const
      Removed value: -2
    • addedOutput schema / properties / data / properties / networkRequestsMade / maximum
      Added value: +51
    • addedOutput schema / properties / data / properties / networkRequestsMade / minimum
      Added value: +2
    • removedOutput schema / properties / data / properties / rpcCallsMade / const
      Removed value: -2
    • addedOutput schema / properties / data / properties / rpcCallsMade / maximum
      Added value: +51
    • addedOutput schema / properties / data / properties / rpcCallsMade / minimum
      Added value: +2
    • changedOutput schema / properties / data / properties / warnings / maxItems
      Previous value: -3New value: +4
  3. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover safety (read-only, idempotent, open-world, non-destructive), so the description adds value by specifying 'validated' events and a 'bounded resolved block range.' This provides useful behavioral context beyond the annotations, though it does not mention rate limits or other operational details.

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?

The description is a single concise sentence that front-loads the verb and clearly conveys the tool's scope and constraints. Every word adds value with no redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity, the presence of an output schema, rich parameter descriptions, and comprehensive annotations, the description sufficiently covers the core behavior and constraints. It appropriately communicates the single-contract scope and bounded block range, making the tool adequately understandable for an agent.

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%, so the schema fully documents all parameters. The description summarizes the key parameters (event signature, topic filters, block range) but does not add new meaning beyond what is already in the schema, thus earning the baseline score.

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 it queries validated eth_getLogs events from one Base mainnet contract, with a specific verb, resource, and scope (required event signature, optional topic filters, bounded block range). This distinctly separates it from sibling tools like transaction inspection or contract reads.

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 clearly identifies the tool's purpose: querying event logs from a single contract. While it does not explicitly name alternatives or when-not-to-use, the context is strong enough that an agent can infer when this tool is appropriate compared to other Base-specific 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