Skip to main content
Glama

rework-proof

Verify a REWORK credential

verify_rework_credential
Read-onlyIdempotent

Check whether a REWORK Verifiable Credential (a VC-JWT) is authentic, and report what it claims. Use this when someone presents a credential as evidence that they produced a piece of work. Returns whether the signature is valid, whether REWORK has since revoked it, who issued it, and the credential subject.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "credential": "<credential>"
    },
    "name": "verify_rework_credential"
  }
}

Input Schema

NameRequiredDescriptionDefault
credentialYesThe compact VC-JWT, three base64url segments separated by dots.

Output Schema

NameRequiredDescriptionDefault
validYesTrue only when the signature verifies against REWORK's key, the credential has not expired, and REWORK has not revoked it.
issuerNoWho issued the credential, as the credential states it; null when it is not valid.
reasonYesWhy the credential is not valid; null when it is.
revokedYesTrue when REWORK revoked the credential after issuing it; false when it was checked and stands; null when there is nothing to check (not a certificate credential, or not valid) or the status could not be read.
assurance_noteYesThe ceiling on what this result proves. Read it before relying on the result.
credential_subjectYesWhat the credential claims. Empty when it is not valid.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuine context by disclosing that verification includes a live revocation check against REWORK (consistent with openWorldHint) and reports issuer and subject, but says nothing about authentication requirements, rate limits, or behavior on malformed input.

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?

Three short sentences, front-loaded with the core action, then the trigger condition, then the returned checks. No filler. The middle sentence overlaps somewhat with the output schema, but the cost is minor.

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 single-parameter read-only verification tool with rich annotations and a present output schema, the description covers purpose, trigger, and the substantive checks performed (signature validity, revocation status, issuer, subject). Only edge-case behavior (malformed JWT, unreachable issuer) is left unspecified.

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% and the schema itself documents that the credential is three base64url segments separated by dots, so the description's "(a VC-JWT)" restates structured data. It adds only the framing that the credential is presented by a party as evidence of work, marginal value beyond the schema.

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?

States a specific verb and resource: check authenticity of a REWORK Verifiable Credential (VC-JWT) and report its claims. That is clearly distinct from fetching issuer keys or looking up an attestation, but the description never names or contrasts a sibling explicitly, so it stops short of a 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?

Gives an explicit trigger: "Use this when someone presents a credential as evidence that they produced a piece of work." That is a concrete use case, though it offers no when-not-to-use conditions and does not route the agent to an alternative such as lookup_rework_attestation when the input is an attestation rather than a credential.

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.