Skip to main content
Glama

get_rule_audit_log

Retrieve the chronological audit log of rule_history changes for a project or scope, including currently deprecated rules. Use it to trace rule governance and audits.

Instructions

Return the chronology of rule_history changes for a project or scope, plus any rules currently deprecated in that scope.

Access level: read. Returns: JSON with events and deprecated_rules.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNoISO-8601 timestamp; only include events at or after this time.
scope_idNoRaw scope id to scope the log to, if project_id is omitted.
project_idNoProject id to scope the log to (checked before scope_id).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the key trait ('Access level: read') and the return shape ('events' and 'deprecated_rules'), which is genuinely useful. It says nothing about auth requirements, result size/pagination, or how far back the chronology goes.

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 tight lines: purpose and scope first, then access level, then return shape. No wasted words and the most important information is front-loaded. Slightly fragmented into labeled stubs rather than flowing prose, but efficient.

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?

An output schema exists, so the return-value explanation is not strictly needed, and all parameters are covered at 100%. The description adequately covers purpose, scope, and access level, but omits any sibling differentiation, which is the notable gap given the near-identical get_rule_timeline.

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 coverage is 100%, so all three parameters (since, scope_id, project_id) are already documented, including the precedence rule that project_id is checked before scope_id. The description adds no format or syntax beyond what the schema provides, 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?

Specific verb and resource: 'Return the chronology of rule_history changes' with a stated scope (project or scope) plus deprecated rules. The agent knows what comes back. It does not, however, differentiate itself from the sibling get_rule_timeline, which sounds highly overlapping.

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 scope ('for a project or scope') implies context, but there is no explicit when-to-use, no when-not-to-use, and no routing to alternatives such as get_rule_timeline or get_rule_context. Usage is left to inference.

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