Skip to main content
Glama

verify_oracle_attestation

Cryptographically verify off-chain EIP-712 attestations from CleanWeb Oracle without gas. Confirm data integrity by recovering the signer and matching it to the expected oracle address.

Instructions

Verifies an EIP-712 cryptographic attestation produced by CleanWeb Oracle off-chain without consuming gas.

Usage Guidelines:

  • Use this tool to mathematically verify that data received from CleanWeb Oracle has not been tampered with.

  • Returns: Verification status (valid/invalid), recovered signer address, expected oracle address, and message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesThe original query string that was attested.
data_hashYesThe SHA-256 data hash of the canonical JSON payload (0x...).
signatureYesThe 65-byte hex signature (0x...) from the attestation.
timestampYesThe Unix epoch timestamp from the attestation.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.2.6

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that verification is off-chain and gas-free and that it returns a validity verdict plus signer/oracle/message, but it omits error behavior, what an invalid result implies, and any permission or rate assumptions.

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 core operation, then a short usage block and return summary. It is tight overall, though the 'Returns' line partly duplicates information the output schema already carries.

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 four-required-parameter verification tool with both a full-coverage input schema and an output schema, the description is nearly sufficient. The only real gap is distinguishing it from the sibling oracle_grounding.

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 already explains all four parameters (query, data_hash, signature, timestamp). The description adds no format or edge-case details beyond that, so the baseline of 3 applies.

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 ('Verifies') and a precise resource ('EIP-712 cryptographic attestation produced by CleanWeb Oracle'), plus the notable constraint that it runs off-chain. It does not, however, differentiate itself from the sibling 'oracle_grounding', so an agent cannot route between the two from this text alone.

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 gives a clear when-to-use condition ('to mathematically verify that data received from CleanWeb Oracle has not been tampered with'), which is concrete and actionable. It stops short of naming alternatives or stating when not to use it (e.g., vs. oracle_grounding), so it falls below the top tier.

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