Skip to main content
Glama

audit_skill_text

Run a three-layer security audit on SKILL.md text to detect static, semantic, and adversarial risks, returning structured findings with severity, evidence, category, and remediation hints.

Instructions

Run a 3-layer security audit on the supplied SKILL.md text. Layers: static regex rules, semantic LLM analysis, and adversarial prompt fuzzing. Returns structured findings with rule_id, severity, evidence (line + excerpt), category, and remediation hint. Use when the user asks to audit, review, security-check, or evaluate a skill they have in hand (file contents, paste, etc).

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": {
      "skill_text": "<skill_text>"
    },
    "name": "audit_skill_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoResponse language (default: en)
domainNoAudit domain. 'general' applies universal rules only. Paid packs may register their own domains.
skill_textYesFull SKILL.md content including YAML frontmatter

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4/5.0
Behavior3/5

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

No annotations exist, so the description must carry the whole behavioral burden. It does disclose the internal pipeline (regex, semantic LLM, adversarial fuzzing) and the shape of returned findings, but says nothing about cost or latency despite an LLM+fuzzing pipeline, nothing about side effects or whether the input is stored, and nothing about failure modes for malformed input.

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?

Three sentences, each carrying distinct information: what runs, what comes back, and when to invoke it. Front-loaded with the core action and free of redundant restatement of the name.

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?

No output schema exists, but the description compensates by listing the returned fields (rule_id, severity, evidence, category, remediation). Slight gap around runtime expectation and input constraints for a multi-layer LLM-backed audit, but the essential call information is present.

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 all three parameters are already documented, including the lang enum and the domain extension note. The description adds no extra meaning about skill_text length limits, frontmatter requirements, or how domain interacts with the layers, which is the baseline-3 outcome when the schema does the work.

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 ('Run a 3-layer security audit on the supplied SKILL.md text') and spells out the three layers, so the agent knows exactly what computation happens. The phrase 'skill they have in hand (file contents, paste, etc)' implicitly separates it from a URL-fetching sibling.

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?

Gives an explicit trigger list ('audit, review, security-check, or evaluate') plus the key precondition that the skill text is already available locally. It does not name when to prefer a URL-based or mapping/rule-listing sibling instead, so routing among siblings is left partly to inference.

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