Skip to main content
Glama

mcp_audit_log

Retrieve the current session's tool-action audit trail, including recorded actions, status, and non-secret details, with an optional limit on returned entries.

Instructions

Return this session's tool-action audit trail.

Args: limit: Maximum entries to return (newest last).

Returns: Recorded tool actions with status and non-secret details.

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

Input Schema

NameRequiredDescriptionDefault
limitNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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 burden; it does disclose two useful traits: entries carry a status and are redacted to 'non-secret details', and ordering is 'newest last'. It does not state that this is a read-only, non-mutating call, nor does it say what happens when the log exceeds the limit (truncation vs pagination) or whether any permission is needed.

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?

Three short lines with the purpose front-loaded and the parameter and return notes clearly separated. The Args/Returns scaffolding is minimal and every sentence contributes information; nothing is padding.

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?

For a one-parameter read tool with an output schema already defining the return shape, the description covers purpose, the single parameter's meaning, ordering, and the redaction guarantee. The remaining gap is truncation/pagination behavior when the log exceeds the limit, which an agent would need in order to page through results.

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

Parameters4/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 compensate for the single 'limit' parameter — and it does, defining it as the maximum number of entries and adding the ordering semantic 'newest last', which the schema does not convey. It omits the default of 50 and any bounds or error behavior for out-of-range values.

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+resource+scope: 'Return this session's tool-action audit trail'. An agent can distinguish this from sibling status/config tools such as mcp_status or mcp_designer_status because the resource is explicitly the recorded tool-action log for the current session. It stops short of naming any sibling it overlaps with.

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?

Usage is only implied by the scope phrase 'this session's', which tells the agent the log is session-bounded rather than global. There is no explicit statement of when to call this versus other diagnostic/status tools, and no exclusions or prerequisites.

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

Deploy Server

Other Tools