Skip to main content
Glama
infra-agent-gateway
by jcortes

get_audit_log

Read-only

Read the most recent audit log entries so agents can review prior infrastructure change requests, policy decisions, and approvals for compliance and traceability.

Instructions

Read the most recent audit log entries.

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": "get_audit_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

readOnlyHint=true already tells the agent this is a safe read, and 'most recent' adds a hint about ordering/recency. However, the description says nothing about how many entries are returned by default, whether there is a retention window, whether the limit truncates the newest or oldest entries, or the shape of the response.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though the brevity comes at the cost of the guidance it omits.

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 minimal one-parameter read tool with a read-only annotation and no output schema, the description covers the core purpose but leaves the single parameter and the return shape unexplained. Given no output schema exists, the description should say at least roughly what entries look like or that the result is capped.

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?

There is one parameter (limit) with 0% schema description coverage, so the description carries the full burden and says nothing about it. It does not clarify that limit caps the number of entries, that the default is 20, or the maximum of 100.

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?

States a specific verb ('Read') and resource ('audit log entries') with a clear scoping qualifier ('most recent'), so an agent knows exactly what it retrieves. It does not differentiate from siblings, but the siblings listed (deploy_workload, detect_drift, plan_change, request_apply) are unrelated enough that confusion is unlikely.

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 offers no when-to-use guidance, no prerequisites, and no mention of when to prefer another tool over this one. An agent gets no signal about whether this is appropriate for compliance checks versus incidental debugging.

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