Skip to main content
Glama

Moltline Agent Governance

Audit Skill File

audit_skill_file
Read-onlyIdempotent

Audit an agent skill or instruction file before you trust it. FREE.

Checks for governance smells: prompt-injection and guardrail-bypass phrasing, concealment instructions ('don't tell the user'), exfiltration language, and exposed credential material. Typical input {"content": "<SKILL.md, system prompt, or tool description text>"} returns {"verdict": "reject: do not install" | "review before install: ..." | "no governance red flags on a pattern pass", "findings": [{"severity": 1-5, "issue": "...", "line": N}], "note": "..."}. Also checks for approval-bypass steps and references to credential stores.

Use before trusting a skill or instruction file that came from outside your own repository. Not for arbitrary untrusted input at run time (injection_scan). Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": ""}. Every call is read-only and idempotent, so after correcting the input it is always safe to retry.

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": {
      "content": "<content>"
    },
    "name": "audit_skill_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYesFull text of the skill file, system prompt, or tool description to audit.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds the error contract ('never raises a protocol error; returns {"error": ...}') and the retry guarantee after correcting input, which annotations cannot express. It also enumerates the categories of issues detected, so the agent knows what a 'no red flags' verdict actually covers.

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 usage, then return shape, then error semantics — a sensible order with little waste. Minor deductions for the marketing token 'FREE.' and for spelling out the return JSON at length when an output schema already exists.

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?

Covers what it inspects, what it returns, when to prefer a sibling, and how failures surface, which is more than enough for a single-parameter read-only tool. The return-value prose is partly redundant given the output schema, but nothing an agent needs in order to call it correctly is missing.

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?

There is only one parameter and schema description coverage is 100%, so the baseline is 3. The description's example input shape restates what the schema already says (full text of SKILL.md, system prompt, or tool description) without adding format or size constraints.

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?

Starts with a specific verb and resource ('Audit an agent skill or instruction file') and names the concrete checks performed: injection phrasing, concealment instructions, exfiltration language, credential material. It also explicitly distinguishes itself from the sibling injection_scan, so an agent can separate the two without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use ('before trusting a skill or instruction file that came from outside your own repository') and an explicit when-not-to-use with the alternative named ('Not for arbitrary untrusted input at run time (injection_scan)'). Both the trigger condition and the exclusion are stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.