Skip to main content
Glama

audit_history

Retrieve recent audit log entries for destructive operations to track system changes and their timing.

Instructions

Get recent audit log entries for destructive operations.

Shows history of operations like delete_memory, demote, maintenance, unlink_memories, etc. Useful for understanding what changed and when.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum entries to return (default 50, max 500).
operationNoFilter by operation type (e.g., "delete_memory", "demote_memory"). Available types: delete_memory, demote_memory, demote_stale, delete_pattern, expire_patterns, cleanup_memories, maintenance, unlink_memories.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYes
entriesYes
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It only mentions the tool retrieves data but does not specify if it is read-only, requires special permissions, or has rate limits. The read-only nature is implied but not confirmed.

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?

The description is two sentences, front-loaded with the primary purpose, and includes relevant examples without extraneous text. Every sentence contributes meaning.

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?

Given the tool has only two parameters (both well-documented in the schema) and an output schema exists, the description adequately covers the tool's function and utility. No additional behavioral or return information is needed.

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?

Both parameters have complete descriptions in the schema (100% coverage). The description adds no additional meaning beyond the schema; it mentions example operation types which are also listed in the schema, so no extra value is provided.

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 clearly states the tool retrieves recent audit log entries for destructive operations, specifying the verb 'get' and resource 'audit log entries'. It lists example operations, distinguishing it from siblings like get_session or get_sessions which serve different purposes.

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 description says 'Useful for understanding what changed and when', which implies usage context but does not explicitly state when to use this tool versus alternatives or when not to use it. No exclusions or comparisons are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/michael-denyer/memory-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server