Skip to main content
Glama

List event tables

tables
Read-only

List every decoded EVM contract event schema with its columns, Solidity types, and topic0 so agents can query indexed event data by SQL.

Instructions

List every decoded EVM contract event table ({alias}__{event}) with its columns, Solidity types, and topic0.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
countNoHow many decoded event tables there are.
tablesNoEach table with its columns, Solidity types and topic0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv5.23.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "count": {
      +      "description": "How many decoded event tables there are."
      +    },
      +    "tables": {
      +      "description": "Each table with its columns, Solidity types and topic0."
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observedv5.21.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the agent knows this is a safe, closed-world read, which lowers the disclosure burden. The description adds the useful facts that results include columns, Solidity types, and topic0, but says nothing about result volume, whether all chains/contracts are covered, or ordering.

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?

One sentence, front-loaded with the action and resource, with the returned fields specified compactly in a single clause. No filler and nothing that should have been demoted to a later position.

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?

With no parameters, an output schema present, and annotations covering the safety profile, the description only needs to convey scope and payload shape, both of which it does. Given the tool's low complexity, no meaningful gap remains.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline is 4. The schema is trivially complete at 100% coverage and the description correctly implies no filtering arguments exist.

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 gives a specific verb plus a tightly scoped resource: "List every decoded EVM contract event table," and even names the naming convention `{alias}__{event}`. That pattern makes it distinguishable in practice from siblings like `table` or `schema`, though it never explicitly contrasts itself with them.

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 when-to-use or when-not-to-use guidance, and no pointer to an alternative for the adjacent tasks a caller might actually want (looking up a single table, or inspecting the broader schema). The agent must infer that this is a discovery/enumeration step from the verb "List" alone.

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