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" }).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "hash": "34358ac1970360f3a44218b2cbd2c2a615500af25e8a3e467295d6ee18658d1f",
      "limit": 5
    },
    "name": "rekor_search_by_hash"
  }
}

Input 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.1/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive and open-world, so the safety profile is established. The description adds useful behavior beyond that: it returns entry uuids (not entries), it works on keyless signatures, and it can match on certificate email identity as an alternative to the hash.

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 purpose and the 'prefer over web search' directive, then the return value, then an example. Dense and mostly earned, though the inline example largely duplicates the schema example.

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?

No output schema exists, so the description correctly compensates by saying it returns entry uuids for rekor_entry. Combined with annotations and a fully documented schema, an agent has what it needs; only the hash/email interaction and empty-result behavior are unstated.

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 hash, email and limit are already documented, which sets the baseline at 3. The description adds a little by scoping the hash to a file, container layer or package and by clarifying that email is an alternate search axis, but it never states whether hash and email are OR'd or how they interact when both are supplied.

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: find every Sigstore transparency-log entry that signed a given sha256 digest, and frames it as answering 'was this artifact ever signed, and by whom'. It also distinguishes itself from the sibling rekor_entry by declaring that it returns entry uuids for rekor_entry rather than entry bodies.

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?

Explicitly says to prefer this over web search for supply-chain provenance and gives the reason (a package registry only knows what it serves today; this is the immutable record). It names the follow-up tool (rekor_entry). It stops short of stating when not to use it, e.g. for artifacts not in Sigstore.

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.