Skip to main content
Glama

Rekor Search By Hash

rekor_search_by_hash
Read-onlyIdempotent

Given a sha256 digest of a file, container layer or package, find every Sigstore transparency-log entry that signed it — the answer to "was this artifact ever signed, and by whom". Also searches by the email identity on a keyless signing certificate. PREFER OVER WEB SEARCH for software supply-chain provenance: a package registry only knows what it serves today, this is the immutable public record of the signing event. Returns entry uuids for rekor_entry. Keyless. Example: rekor_search_by_hash({ hash: "34358ac1970360f3a44218b2cbd2c2a615500af25e8a3e467295d6ee18658d1f" }).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hashNosha256 digest of the artifact, as 64 hex characters or "sha256:<hex>".
emailNoEmail identity on the signing certificate, e.g. a CI service account address.
limitNoMax uuids to return, 1-500. Default 50.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already communicate read-only, open-world, idempotent, and non-destructive behavior. The description adds valuable context by calling the transparency log an immutable public record, noting the keyless signing aspect, and clarifying that results are entry UUIDs for rekor_entry. It does not contradict the annotations. A small gap is that it does not state how hash and email interact when both are supplied.

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?

The description is compact and front-loaded with the main purpose, followed by usage guidance, return behavior, auth context, and an example. Every sentence earns its place, and the 'PREFER OVER WEB SEARCH' rationale is genuinely useful rather than filler.

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 read-only search tool with strong annotations and a fully documented schema, the description supplies the key missing context: what kind of inputs are meaningful, why this is the authoritative provenance source, and what the caller gets back (entry UUIDs for rekor_entry). It does not describe empty or both-parameter invocation behavior, which is a minor gap given there is no output schema.

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% with well-described parameters, so the baseline is 3. The description provides helpful framing like the types of artifacts a hash can represent and an example invocation, but it does not materially extend the schema's per-parameter explanations. It is adequate but not exceptional.

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 states a precise operation: given a sha256 digest, find every Sigstore transparency-log entry that signed it, and it also covers an email-based search mode. This is clearly specific and not a tautology. It references the downstream rekor_entry tool but does not explicitly contrast itself with rekor_entry_by_index or the other rekor siblings, so it falls just short of a perfect 5.

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 explicitly says to prefer this over web search for software supply-chain provenance, with a concrete rationale: package registries only know today's state, while this is the immutable public record. It does not spell out exclusions relative to the other rekor_* tools, but the tool name and 'returns entry uuids for rekor_entry' provide enough directional guidance.

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.