Skip to main content
Glama

safety_audit

Review a log of safety-relevant operations including tool executions, blocked attempts, rate-limit violations, and preflight failures.

Instructions

Query the safety audit log.

        Returns a record of all safety-relevant operations: tool executions,
        blocked attempts, rate-limit violations, and preflight failures.

        Args:
            action: Filter by action type.  Options: ``"executed"``,
                ``"blocked"``, ``"rate_limited"``, ``"auth_denied"``,
                ``"preflight_failed"``, ``"dry_run"``.  Omit for all.
            tool_name: Filter by MCP tool name (e.g. ``"send_gcode"``).
            limit: Maximum number of records to return (default 25, max 100).
        

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
actionNo
tool_nameNo
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. The description indicates a read-like operation ('Query'), but does not explicitly state it is read-only, non-destructive, or whether authentication is required. It lacks safety guarantees or side-effect warnings, which is a gap for a mutation-ambiguous tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description uses a docstring format with a brief summary and an Args section. It is moderately concise but could be shorter without losing clarity. The structure is clear, but there is some redundancy (e.g., 'Returns a record of all safety-relevant operations' followed by examples).

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

Completeness2/5

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

With no output schema and no annotations, the description should provide more details about the return structure, pagination, or error behavior. It lists return categories but not fields or shape of records. For an agent, this lack of completeness could lead to misinterpretation of the response.

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

Parameters5/5

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

Schema description coverage is 0%, meaning the description must compensate entirely. It fully documents all three parameters: 'action' with enumerated options, 'tool_name' as a filter, and 'limit' with default/max values. This provides essential semantics that the schema alone lacks, enabling correct invocation.

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?

The description clearly states the tool's purpose: 'Query the safety audit log.' It explicitly lists the types of operations returned (tool executions, blocked attempts, rate-limit violations, preflight failures), making the resource and verb specific and unambiguous. Among many sibling tools, none duplicate this exact functionality, so it stands out.

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 description implies usage for querying safety-related operations, but provides no explicit comparison to sibling tools like 'export_audit_trail' or 'verify_audit_integrity'. There is no when-to-use or when-not-to-use guidance, so the agent must infer context from the name alone.

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/codeofaxel/kiln'

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