Skip to main content
Glama

chain_attestation

Read-only

EAS attestation + schema lookup (Base, Optimism) — Look up an Ethereum Attestation Service (EAS) record by uid= on Base (default) or Optimism (chain=optimism). If uid is an attestation UID: returns schema string + label, attester (Coinbase Verifications labeled), recipient, issued/expiry/revocation times, revoked/expired/valid flags, refUID, raw data and the data DECODED field-by-field from the schema (bool, uintN, intN, address, bytesN, string, bytes). If uid is a schema UID: returns the schema definition, typed fields, resolver and revocable flag. 404 if neither exists. Reads the EAS predeploy contracts via public JSON-RPC. Price: $0.003 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "uid": "<uid>"
    },
    "name": "chain_attestation"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYes0xf8b05c79f090979bf4a80270aba232dff11a10d9ca55c4f88de95317970f0de9

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only and open-world, and the description adds real substance beyond them: the 404 outcome, the predeploy-contract RPC path, the decoded field-by-field return payload, and a payment requirement of $0.003 USDC via x402 on Base. The one blemish is that it advertises a `chain=optimism` parameter that does not exist in the input schema, which could send an agent down a failing call path.

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?

Front-loaded with the identity of the tool and the lookup semantics before the long enumeration of returned fields and the price note. The return-field list is dense but each item carries information; the paragraph is long enough to be slightly heavy for a single-parameter lookup.

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 no output schema, the description does the work of explaining both return shapes in detail, plus cost, data source, and failure mode. It is not fully complete because it never resolves how to select Optimism when the input schema exposes no chain parameter.

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 the only parameter is documented, so baseline precision is already achieved. The description does add genuine meaning by explaining that `uid` accepts either an attestation UID or a schema UID with different outputs, but it simultaneously references a nonexistent `chain` parameter, which muddies rather than clarifies parameter semantics.

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: look up an Ethereum Attestation Service record or schema by uid on Base or Optimism. It further disambiguates the two modes of the single input (attestation UID vs schema UID), so an agent knows exactly what the tool does and what each branch returns.

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?

Gives clear operating context: Base is default, Optimism is optional, a 404 means neither record type exists, and reads go through public JSON-RPC. There are no explicit exclusions or named alternative tools for cases like 'I only want the schema', which keeps it below a 5.

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