Skip to main content
Glama

list_audit_rules

Lists audit rules applied by the TAR Engine pipeline—static, semantic, and adversarial-resilience—so users can see what checks run and interpret specific rule IDs.

Instructions

List the rules the TAR Engine audit pipeline applies. Includes universal static rules (PI-/SS-/FA-/DE-/CE-/MP-NNN), semantic rules (SEM-NNN), and adversarial-resilience classes (AR-NNN). Use when the user asks 'what does TAR Engine check for?' or wants to understand a specific rule_id from a finding.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_audit_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNo
categoryNoFilter by category: prompt_injection / shell_safety / file_access / data_exfil / credential_exposure / malicious_payload. Omit to list all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; 'List' implies a read-only operation and the three rule-class taxonomy adds useful context about what is returned. It does not state whether rule descriptions, severities, or IDs are included in the output, and it invites rule_id lookups even though no rule_id parameter exists — a mismatch an agent could stumble on.

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?

Three short sentences, front-loaded with the core action before the rule-family detail and the trigger examples. The dense ID-family list is justified because it defines the tool's scope, though it adds reading burden.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 2-parameter, annotation-free, output-schema-less tool the description should clarify what a returned rule record contains and what lang/category actually do. The prompt to 'understand a specific rule_id' without a lookup parameter leaves the agent unsure whether filtering or external matching is required.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%; the category filter is documented in the schema, but the lang enum's effect (output language of rule text) is never explained in either place. The description adds no parameter meaning at all, leaving an optional parameter's behavior unstated.

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 ('List the rules the TAR Engine audit pipeline applies') and enumerates the exact rule families returned (PI-/SS-/FA-/DE-/CE-/MP-NNN, SEM-NNN, AR-NNN). This makes it unmistakably a catalog/registry tool rather than an auditing tool like audit_skill_text or audit_skill_url.

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 concrete trigger conditions: when the user asks 'what does TAR Engine check for?' or wants to understand a rule_id seen in a finding. No explicit when-not guidance or named alternative is offered, but the usage context is clear enough to route correctly.

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