Skip to main content
Glama

list_audit_log

Read-only

READ ONLY: the change history of this tenant — who changed what, when, and from which value to which. Every insert, update and delete on leads, contacts, organisations, tasks, campaigns, profiles, API keys, integrations and role permissions is recorded by a database trigger, so no route can bypass it. Filter by record (table_name + record_id) to see one record's whole history, by actor_user_id to see one person's actions, by table_name, action or since. Secrets are NEVER in here with a value: for credential columns the entry only says that they changed. The history cannot be edited or deleted, not even by an administrator.

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

Input Schema

NameRequiredDescriptionDefault
fieldNoOnly entries in which THIS field changed, e.g. 'status' or 'role'.
limitNoDefault 50, max 500.
sinceNoISO timestamp; only entries after it.
actionNoOnly entries of this change type
record_idNoOne record's whole history. Best combined with table_name.
table_nameNoe.g. 'leads'. Omitted: every table.
actor_user_idNoEverything one person (or one key's service account) changed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / action / description
      Added value: +"Only entries of this change type"
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond readOnlyHint=true/openWorldHint=false by explaining that entries are produced by a database trigger so no route can bypass them, that the history is immutable (not editable or deletable even by an administrator), and that credential values are redacted to 'changed' rather than stored in plaintext. Those are exactly the traits an agent needs to trust and correctly report on the results.

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?

Front-loaded with a 'READ ONLY:' marker, then purpose, then filter recipes, then the two caveats (secret redaction, immutability). Every sentence carries information an agent would otherwise have to guess, and nothing is repeated from the schema.

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?

For a 7-parameter, zero-required read tool with no output schema, the description covers what is returned (per-entry actor, timestamp, old→new values, redacted credentials), what is provably exhaustive, and how to narrow results. The remaining detail (pagination defaults, enum values) is already fully specified in the schema.

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 coverage is 100%, so the baseline would be 3; the description adds genuine meaning by specifying that record_id is best combined with table_name and by enumerating which filters answer which question. It doesn't mention the `field` or `limit` parameters, so it isn't fully additive across all 7 params.

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?

States a specific resource (the tenant's change history) with concrete scope: who changed what, when, and old→new values across leads, contacts, organisations, tasks, campaigns, profiles, API keys, integrations and role permissions. An agent can immediately tell this is the general tenant audit trail, not any of the vendor-specific write logs named among the siblings.

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?

Gives clear operational guidance on which filter combinations to use for which question: table_name + record_id for a single record's history, actor_user_id for one person's actions, plus table_name/action/since for slicing. It does not name an alternative tool or state when *not* to use this one (e.g., versus the vendor-specific write logs), which keeps it short of a 5.

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.