Skip to main content
Glama

moltguard_credential_verify

Read-only

Verify a MoltGuard Verifiable Credential JWS signature by checking its Ed25519 signature and returning the credential payload when valid.

Instructions

Verify a MoltGuard Verifiable Credential JWS signature.

Checks the Ed25519 signature and returns the credential payload if valid.

Args: jws: JWS compact serialization string from a MoltGuard credential

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": {
      "jws": "<jws>"
    },
    "name": "moltguard_credential_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
jwsYesJWS compact serialization string from a MoltGuard credential

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.3.1
    • addedInput schema / properties / jws / description
      Added value: +"JWS compact serialization string from a MoltGuard credential"
  2. First observedv1.2.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds the meaningful detail that the Ed25519 signature is checked and that the payload is returned only when valid, but it never says what an invalid signature produces (error vs. a false/valid flag), which is the key behavioral question for a verifier.

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 a one-line purpose followed by one supporting sentence, both earning their place. The trailing Args block merely duplicates the schema description, which is minor waste.

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 verification tool with an output schema and readOnly annotations, this is nearly complete; the output schema handles return values. The only real gap is failure behavior when the signature is invalid.

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 single parameter is fully described in the schema; the description's Args section restates that same text verbatim, adding no new meaning. Baseline of 3 applies for one well-documented parameter.

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: verifying a MoltGuard Verifiable Credential JWS signature, with the cryptographic scheme named (Ed25519). It is clearly distinct from issue-style siblings, though it never names an alternative verify tool to differentiate from.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. The only implied context is that you pass a received credential's JWS to check it, which the agent must infer from the parameter description.

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