Skip to main content
Glama

verify_catch

Verify a GYOTAK catch record DIRECTLY from the Midnight blockchain. Reads on-chain state and returns the raw hex plus decoded fields for independent verification. Unlike get_catch_reports (GYOTAK's own list of records: date, district and verify links, never GPS), this lets you verify without trusting GYOTAK. The exact position is not on the chain (only a commitment to it). The record carries a zero-knowledge proof that the position lies within a range. The region name is a label set by GYOTAK; the range used in the proof is not part of the record. Supports both preprod and mainnet. batchId also accepts several IDs separated by commas: they are all checked against a single fetch of the contract state, and the response lists found/not-found per ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
batchIdNoFilter to a specific catch record by batchId (e.g. "CR-TESTV3-INSIDE-02"). Omit to return all records in the contract.
networkNoMidnight network (default: preprod)
contractAddressYesMidnight contract address (64-char hex). Example: 2e519c349331a6aaee82a7ed31aa5e39d6a3995f6cf85ec2256c97cda9a8c302

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / batchId / description
      Previous value: -"Filter to a specific catch record by batchId (e.g. \"SCR-TESTV3-INSIDE-02\"). Omit to return all records in the contract."New value: +"Filter to a specific catch record by batchId (e.g. \"CR-TESTV3-INSIDE-02\"). Omit to return all records in the contract."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

No annotations exist, so the description carries the full burden and does so well: it discloses that raw hex plus decoded fields are returned, that the exact position is not on-chain (only a commitment), that a ZK range proof is carried, that the region name is an off-chain label, and that comma-separated batchIds are checked against a single contract-state fetch with per-ID found/not-found results.

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 action and the sibling contrast, and each subsequent sentence adds a distinct, non-redundant fact. It runs long, but no sentence is filler or restates the schema.

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 output schema, the description compensates by describing the return content (raw hex plus decoded fields) and the shape of the multi-ID response. The proof/label caveats close the remaining interpretive gap for an agent.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema: batchId accepts several comma-separated IDs processed in one fetch with per-ID found/not-found results, and network support spans preprod and mainnet.

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 (verify) and resource (GYOTAK catch record), plus the exact source (Midnight blockchain on-chain state). It explicitly contrasts itself with the sibling get_catch_reports, so an agent can route between the two without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly names the alternative (get_catch_reports) and the condition that selects this tool instead: trustless verification without trusting GYOTAK. It also notes what the sibling returns (date, district, verify links, never GPS), making the choice concrete.

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