Skip to main content
Glama

mt_skill_audit

Idempotent

Audit an AI agent SKILL.md URL for security risks by computing its SHA-256 hash and running an 8-point check for prompt injection, data exfiltration, tool scope violations, and metadata completeness.

Instructions

Audit an AI agent skill (SKILL.md) for security risks.

Fetches the SKILL.md from a URL, computes its canonical SHA-256 hash, and runs an 8-point security audit checking for prompt injection, data exfiltration, tool scope violations, and metadata completeness. Score starts at 100 with deductions per finding. Passing score: >= 70.

Args: github_url: URL to the skill (GitHub repo or direct HTTPS link to 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": {
      "github_url": "<github_url>"
    },
    "name": "mt_skill_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
github_urlYesURL to the skill (GitHub repo or direct HTTPS link to SKILL.md)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.3.1
    • addedInput schema / properties / github_url / description
      Added value: +"URL to the skill (GitHub repo or direct HTTPS link to SKILL.md)"
  2. First observedv1.2.0

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses the network fetch, canonical SHA-256 hashing, the eight audit categories, and the scoring model (start at 100, deduct per finding, pass >= 70). It omits edge behavior such as unreachable URLs or authentication needs, so it is strong but not exhaustive.

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 purpose, then mechanism, then scoring rule, all in a few tight lines. The trailing 'Args' section largely duplicates the input schema and is the only wasted space.

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?

An output schema exists, so return values need not be explained, yet the description still adds the scoring rubric that makes the result interpretable. For a single-parameter tool this is close to complete, missing only failure-mode behavior.

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?

With one parameter at 100% schema description coverage, the schema already carries the meaning. The 'Args' block restates the same text ('GitHub repo or direct HTTPS link to SKILL.md') without adding new constraints, so the baseline 3 applies.

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?

The description opens with a specific verb+resource ('Audit an AI agent skill (SKILL.md)') and immediately details the mechanism (fetch, hash, 8-point check). It never names a sibling such as mt_skill_verify or mt_skill_issue_vc to distinguish itself, so it lands just 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 Guidelines3/5

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

The stated purpose implies when to use it (security review of a skill before trusting it), and the passing threshold hints at a gating use case. However, there is no explicit when-to-use/when-not guidance and no reference to the closely related mt_skill_verify or mt_skill_issue_vc tools, leaving the choice to inference.

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