Skip to main content
Glama

get_audit_log

Retrieve recent scan scope decisions and filter by allow or deny to review what was refused.

Instructions

Recent scope decisions. Use decision=deny to see what was refused.

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
decisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations at all, the description carries the full burden and does not state that this is a read-only operation, what time window "recent" covers, how results are ordered, whether they are paginated, or whether history is retained or truncated. It adds only the observation that refused decisions are recorded and filterable, leaving the operational profile largely undisclosed.

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?

Two short sentences, front-loaded with the resource and followed immediately by the actionable filter tip. There is no filler, though the extreme brevity is part of why other dimensions are underspecified.

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?

The tool is simple (two optional parameters, no output schema, no nesting), so a short description is defensible, but it still leaves the return shape, ordering, and the meaning of "recent" unaddressed. For a log/history tool those details matter to an agent deciding how to query and interpret results.

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 description coverage is 0%, so the description must explain both parameters. It gives real meaning for decision (deny surfaces refused requests) but says nothing about limit, including whether results are newest-first and therefore whether limit truncates the most relevant entries. Half the parameters remain undocumented in both places.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment "Recent scope decisions" identifies the resource (scope decisions) but omits a verb and never says this returns an audit log, a history, or a record set. An agent can guess it retrieves past scope checks, but the tool name carries more of the meaning than the description does.

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 only guidance is a filter hint ("Use decision=deny to see what was refused"), which is about parameter usage rather than when to pick this tool. Nothing distinguishes it from siblings like check_scope or get_scope, and no exclusions or prerequisites are stated.

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