Skip to main content
Glama

mt_skill_issue_vc

Destructive

Issue a signed W3C Verifiable Credential for an AI agent skill after fetching SKILL.md and running a security audit; credentials are issued when the audit score is 70 or higher.

Instructions

Issue a VerifiedSkillCredential for an AI agent skill.

Fetches SKILL.md, runs security audit, and if score >= 70, issues a W3C Verifiable Credential signed with Ed25519 (JWS compact serialization). Requires x402 payment ($5 USDC) when paywall is active.

Args: author_did: DID of the skill author (e.g. "did:base:0x...") repository_url: URL to the skill repository or SKILL.md

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": {
      "author_did": "<author_did>",
      "repository_url": "<repository_url>"
    },
    "name": "mt_skill_issue_vc"
  }
}

Input Schema

NameRequiredDescriptionDefault
author_didYesDID of the skill author (e.g. "did:base:0x...")
repository_urlYesURL to the skill repository or SKILL.md

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.3.1
    • addedInput schema / properties / author_did / description
      Added value: +"DID of the skill author (e.g. \"did:base:0x...\")"
    • addedInput schema / properties / repository_url / description
      Added value: +"URL to the skill repository or SKILL.md"
  2. First observedv1.2.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, and the description adds substantive context beyond them: an internal multi-step pipeline (fetch SKILL.md, run audit), an explicit threshold, the signing algorithm and serialization format, and an x402 payment requirement. It does not explain irreversibility or whether payment is charged on failed audits, which is the main residual gap.

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 the core action, followed by the pipeline and the payment caveat; the threshold and credential format are tight. The trailing Args block duplicates the schema and is the only wasteful element.

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?

For a payment-gated, multi-step credential issuer with a documented output schema, the description covers the pipeline, the pass condition, the cryptographic output, and the cost precondition. Return values need not be explained because an output schema exists.

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 both parameters are already documented in the schema, and the description's Args block repeats that text almost verbatim. It does add one inferential link — that repository_url is the input fetched and audited — but no format or validation detail beyond 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 ("Issue a VerifiedSkillCredential for an AI agent skill") and immediately distinguishes the operation from siblings like mt_skill_audit or mt_skill_verify by describing what it produces — a signed W3C VC.

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

Usage Guidelines3/5

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

The description implies when the tool applies by spelling out the gating condition (audit score >= 70 before issuance), but it never names the sibling tools (mt_skill_audit, mt_skill_verify) an agent should call first, nor states when to prefer issuance over verification. Usage is inferable but not routed.

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