Skip to main content
Glama

verify_vc

Verify the cryptographic signature of a Verifiable Credential and confirm its validity window. Determines if the credential is authentic and currently valid.

Instructions

Verify the issuer signature and validity window of a Verifiable Credential.

Resolves the issuer's public key from its DID document in the DID registry
(so ANY issuer registered via get_did can be verified, not just this server),
rebuilds the exact bytes that were signed (the VC with 'proof' reset to ""),
checks the Ed25519 signature in proof.proofValue, then the validity window.

This confirms the credential is AUTHENTIC for its claimed issuer; it does NOT
assess whether that issuer is trusted or authorized (a separate concern).

Returns {"valid": bool, "issuer": ..., "subjectId": ..., "reason": ...}.
A credential is valid only if the signature checks out AND the current time
is within its validFrom/validUntil window.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vcYes
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 details the verification process: resolving public key from DID document, rebuilding signed bytes, checking Ed25519 signature, and checking validity window. It also notes it works for any issuer registered via get_did. However, it does not describe error conditions or edge cases.

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 well-structured and front-loaded with the main purpose, followed by detailed process and constraints. Each sentence adds value without redundancy. It is appropriately sized for the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description provides the return object shape {valid, issuer, subjectId, reason}. It explains the verification steps and clarifies scope (authenticity vs. trust). This gives an AI agent complete context to invoke the tool correctly.

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?

The input schema only defines 'vc' as an object with no constraints (0% schema coverage). The description adds significant meaning by explaining which parts of the VC are used (proof.proofValue, validFrom, validUntil) and that the proof is reset to empty string for verification. This compensates for the sparse 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?

The description clearly states it verifies the issuer signature and validity window of a Verifiable Credential, specifying the verb (verify) and resource (VC). It distinguishes from sibling tools like get_did and resolve_did by focusing on credential validation rather than DID resolution.

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 explains when to use the tool (to confirm authenticity of a VC's signature and validity window) and explicitly states what it does NOT do (assess issuer trust/authorization), providing clear context. However, it does not explicitly mention alternative tools for trust assessment.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fcapub/idm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server