Skip to main content
Glama

yax_audit_compliance

Read-onlyIdempotent

Audit recent AI agent activity against policy rules. Flag violations, get compliant vs. flagged run counts, and receive a Filecoin-anchored compliance report.

Instructions

Audits recent agent activity against your policy rules and flags violations. Returns compliant vs flagged run counts, violation details, and a Filecoin-anchored compliance report CID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNoTime period to audit: '24h', '7d', '30d'. Defaults to '7d'.
policy_idNoOptional specific policy version to audit against, e.g. 'policy_v12'. Defaults to current.
formatNoReport format: 'summary' or 'full'. Defaults to 'summary'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNoTrue if audit ran.
run_idNoRun ID for receipt retrieval.
compliant_runsNoNumber of runs that passed policy.
flagged_runsNoNumber of runs that violated policy.
violationsNoDetails of each policy violation: run_id, rule, severity.
report_cidNoFilecoin CID of the anchored compliance report.
Behavior4/5

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

Annotations already declare it read-only, idempotent, and non-destructive. The description adds behavioral details about output (compliant/flagged counts, violation details, Filecoin CID), which goes beyond the annotations.

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?

The description is a single, well-structured sentence that immediately conveys the tool's purpose and outputs, with no extraneous information.

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?

Given the tool has 3 parameters with full schema descriptions and an output schema, the description adequately explains the tool's function and return values, requiring no further context.

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?

The input schema has 100% coverage with parameter descriptions. The description does not add significant meaning beyond what the schema provides, meeting the baseline for high coverage.

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 clearly states the tool audits agent activity against policy rules and flags violations, specifying what it returns. However, it does not explicitly differentiate from sibling tools like yax_check_policy, which may serve a similar purpose.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives, nor does it mention when not to use it. There is no contextual usage advice.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Fabio662/yieldagentx402-sdks'

If you have feedback or need assistance with the MCP directory API, please join our Discord server