Skip to main content
Glama

rework-proof

Look up whether REWORK issued a credential

lookup_rework_attestation
Read-onlyIdempotent

Check whether REWORK actually ISSUED a credential - not just whether its signature verifies. A forged-but-well-formed token fails this; a real one returns its issuance record and the CURRENT OpenTimestamps receipt, which may have been upgraded to a Bitcoin confirmation since issue. Pass the credential (its sha256 is the lookup key) or the digest directly.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lookup_rework_attestation"
  }
}

Input Schema

NameRequiredDescriptionDefault
digestNosha256 hex of the credential, if you already have it.
credentialNoThe VC-JWT. Only its sha256 digest is used as the lookup key; the credential itself is not stored.

Output Schema

NameRequiredDescriptionDefault
issuedYesWhether REWORK has a record of issuing a credential with this digest.
digest_sha256Yes
assurance_noteYesThe ceiling on what this result proves. Read it before relying on the result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds genuinely new behavior: the returned OpenTimestamps receipt is the CURRENT one and may have been upgraded to a Bitcoin confirmation since issue, so results are not static. It also discloses that the credential itself is not stored, only its sha256. Missing are auth requirements, rate limits, and whether a non-issued credential is an error or a negative result.

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?

Two sentences, front-loaded with the core differentiator before the failure mode and the return-value caveat. Every clause carries information an agent needs; nothing is repeated from annotations or schema.

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?

An output schema exists, so return shape needn't be spelled out, yet the description helpfully flags the freshness semantics of the receipt. The one real gap is outcome modeling: it says a forged token 'fails' without saying whether that is a thrown error or a lookup miss an agent must interpret.

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 the either/or relationship between the two optional parameters ('Pass the credential ... or the digest directly'), which matters given zero required parameters and clarifies that supplying both is redundant. The hashing detail itself is already in the schema.

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 ('Check whether REWORK actually ISSUED a credential') and immediately narrows the scope against signature verification, which is exactly what the sibling verify_rework_credential does. An agent can distinguish 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 Guidelines4/5

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

Provides clear selection context: use this when issuance provenance matters, because 'a forged-but-well-formed token fails this' whereas a signature check would pass. It stops short of explicitly naming the sibling tool or stating the inverse when-not case, so it is strong but not a full routing rule.

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.