Skip to main content
Glama

mesh_find_records

Retrieve every record stored at a DHT key, including the full deduplicated multiset from all signers. Use a 32-byte hexadecimal key to fetch complete data from the Macula mesh, defaulting to the Frankfurt station.

Instructions

Fetch EVERY record stored at a DHT key -- the full signer-deduped multiset (e.g. every procedure_advertisement one procedure has from different providers). Always the DHT's own all-zero realm. Defaults to station-de-frankfurt.macula.io:4433 if host isn't given.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNoStation to connect through, "host[:port]". Defaults to station-de-frankfurt.macula.io:4433.
key_hexYes32-byte DHT storage key as hex (64 chars) -- e.g. from ProcedureKey(procedure_uri) on the publishing side, or a key already seen in a mesh_find_records_by_type result. This is NOT the same as a record's own advertiser/signer key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.28.7

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses that the tool returns the full multiset, that it is signer-deduped, that it always uses the DHT's own all-zero realm, and that host defaults to a specific station. This is meaningful behavioral context beyond the schema. It does not mention pagination, size limits, or error behavior, but the disclosed traits are substantial.

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?

Three sentences with no waste. The core behavior is front-loaded ('Fetch EVERY record stored at a DHT key'), followed by the dedup detail, the realm note, and the host default. Every sentence earns its place.

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 2-parameter tool with 100% schema coverage and no output schema, the description is largely complete. It explains the key semantics, the dedup behavior, the realm, and the host default. The only gap is the lack of any description of the return format, but since there is no output schema, a brief note on what the result looks like would have made it fully complete.

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 documents both parameters. The description adds context for key_hex by explaining it is NOT the same as a record's own advertiser/signer key and giving examples of where such a key comes from. This is useful but not extensive; the baseline of 3 is appropriate because the schema does the heavy lifting.

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 states a specific verb ('Fetch'), a specific resource ('EVERY record stored at a DHT key'), and clarifies the scope ('full signer-deduped multiset'). It also gives a concrete example ('every procedure_advertisement one procedure has from different providers'), which distinguishes it from sibling tools like mesh_find_record and mesh_find_records_by_type.

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 implies when to use this tool: when you need the complete multiset at a key, not just a single record. It does not explicitly name alternatives or exclusions, but the example and the emphasis on 'EVERY record' and 'full signer-deduped multiset' provide clear context for selecting it over mesh_find_record or mesh_find_records_by_type.

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