Skip to main content
Glama

get_audit_trail

Read-only

Retrieve the audit trail of sessions, failures, and claims in most-recent-first order to review what agents did, what broke, and which files were claimed.

Instructions

Get the audit trail of sessions, failures and claims (most recent first, capped).

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so safety is covered. The description usefully adds ordering ('most recent first') and warns of truncation ('capped'), which is real behavioral value — but it never says what the cap is or whether older entries are retrievable, leaving the truncation risk underspecified.

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?

A single sentence with zero waste, and the key behavioral caveats (ordering, capping) are placed inline where they are immediately visible.

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 zero-parameter read tool with no output schema, the agent still needs to know the cap size, whether older history is reachable elsewhere, and roughly what the returned entries look like. The description names the record types but omits those details.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate. Baseline 4 applies.

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?

Specific verb ('Get') plus a concrete resource ('audit trail') and an enumeration of what the trail contains: sessions, failures, claims. It is clearly distinguishable from siblings like list_claims or session_status, though it never names a sibling to route against.

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 content list implies the tool is for reviewing recent history, but there is no explicit when-to-use statement, no exclusion, and no pointer to alternatives such as list_claims when only claims are wanted.

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