Skip to main content
Glama

List audit entries

stack_audit_list
Read-only

List the account's recent audit log entries, newest first. agent_id and passport_jti narrow the list to one agent or Passport; since (epoch ms) returns only newer entries. Each entry has layer, action, outcome, duration_ms, error_code, error_message and the hash-chain fields entry_hash and prev_entry_hash. A cascade revoke appears as one passport.revoke entry plus one passport.revoke_cascade entry per child. Reading the record is a controls feature: without controls the API answers 402 CONTROLS_REQUIRED.

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

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of entries (default 20, max 100)
sinceNoEpoch ms watermark — only return entries newer than this timestamp
agent_idNoFilter to a single agent
passport_jtiNoFilter to a single passport jti

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

The annotations already establish a safe read (readOnlyHint=true, destructiveHint=false, closed-world), and the description adds substantial behavior beyond that: newest-first ordering, watermark semantics, hash-chain fields present on each entry, the one-plus-N shape of a cascade revoke, and the 402 CONTROLS_REQUIRED failure mode. That error and result-shape disclosure is exactly what an agent needs before calling.

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?

The purpose is front-loaded and each following sentence carries distinct information (filters, entry fields, cascade semantics, controls requirement). It is dense but not padded, though the enumeration of entry fields sits slightly awkwardly before the cascade explanation.

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

Completeness5/5

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

With no output schema available, the description compensates by listing the fields each entry carries and explaining the cascade-revoke entry pattern. Combined with ordering and the 402 prerequisite, an agent has everything needed to call this correctly and interpret results.

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 description coverage is 100%, so all four parameters are already documented in the schema. The description restates them ('agent_id and passport_jti narrow the list', 'since (epoch ms) returns only newer entries') with slightly more framing but no syntax, interaction, or default details beyond the schema, so the baseline of 3 applies.

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 opens with a specific verb and resource ('List the account's recent audit log entries') plus ordering ('newest first'), which immediately separates it from chain-verification and export siblings. Filter and scope meaning is stated in the same breath, so an agent knows exactly what this call returns.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear usage context: filters narrow the list, 'since' acts as a watermark, and the requirement for controls (else 402 CONTROLS_REQUIRED) is stated explicitly. It does not name alternatives such as the verify-chain or export siblings or say when those should be preferred, so it falls short of full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.