Skip to main content
Glama

moltrust_credential

Destructive

Issue or verify W3C Verifiable Credentials for trust infrastructure. Create credentials bound to a subject DID or validate an existing credential's JSON for tamper-proof agent identity checks.

Instructions

Issue or verify a W3C Verifiable Credential.

Args: action: Either "issue" or "verify" subject_did: DID of the credential subject (required for "issue") credential_type: Type of credential (default: "AgentTrustCredential", only for "issue") credential: JSON string of the credential to verify (required for "verify")

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": {
      "action": "<action>"
    },
    "name": "moltrust_credential"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesEither "issue" or "verify"
credentialNoJSON string of the credential to verify (required for "verify")
subject_didNoDID of the credential subject (required for "issue"), e.g. did:moltrust:a1b2c3d4e5f60718
credential_typeNoType of credential (default: "AgentTrustCredential", only for "issue")AgentTrustCredential

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.3.1
    • addedInput schema / properties / action / description
      Added value: +"Either \"issue\" or \"verify\""
    • addedInput schema / properties / credential / description
      Added value: +"JSON string of the credential to verify (required for \"verify\")"
    • addedInput schema / properties / credential_type / description
      Added value: +"Type of credential (default: \"AgentTrustCredential\", only for \"issue\")"
    • addedInput schema / properties / subject_did / description
      Added value: +"DID of the credential subject (required for \"issue\"), e.g. did:moltrust:a1b2c3d4e5f60718"
  2. First observedv1.2.0

TDQS

C2.5/5.0
Behavior2/5

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

Annotations declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the agent knows this is an irreversible mutation, but the description says nothing about what actually gets destroyed, whether an issued credential is revocable, whether issuing requires auth or costs credits, or whether a verify call also mutates state. For a destructive tool those omissions are significant, and the description adds no context beyond the parameter list.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loaded with the purpose sentence, but the entire Args block duplicates the schema field descriptions word for word, so a third of the text is pure redundancy. Structure is clear (docstring style) but not tailored to an agent reader.

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

Completeness2/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 values need not be explained, but a destructive, non-idempotent dual-mode tool needs more than a param glossary: no side effects, no auth/permission requirements, no failure modes. The description is essentially a signature listing and leaves the agent without what it needs to call this safely.

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 the schema already documents all four parameters with the same wording used here. The description restates them verbatim rather than adding meaning such as accepted DID formats, credential JSON shape, or interaction between action and the optional fields. Baseline 3 is appropriate when the schema carries the load.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening line names a specific resource and verbs ("Issue or verify a W3C Verifiable Credential"), but it bundles two distinct operations into one tool while siblings (moltguard_credential_issue / moltguard_credential_verify) split them, and the description never explains why an agent should pick this dual-mode tool over those. An agent cannot tell the intended division of labor from the text.

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?

The only guidance is mechanical: action must be "issue" or "verify" with per-action required params. There is no statement of when to use this versus the sibling issue/verify tools, no prerequisites, and no note on what verification succeeds or fails against.

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