Skip to main content
Glama

audit_search

Read-only

Search executed write audit entries for your tenant. Filter by tool name, actor type, and ISO date range to trace changes.

Instructions

Search executed write audit entries for this tenant. Filter by tool name, actor type (org_token or sso), and optional ISO date range. Reads ~/.advocatehub-mcp/audit/-YYYY-MM.jsonl (and legacy .jsonl).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolNoFilter by write tool name, e.g. "log_event".
limitNoMax matching entries to return (newest first, max 500).
end_atNoInclusive upper bound (ISO 8601).
start_atNoInclusive lower bound (ISO 8601), e.g. "2026-01-01T00:00:00.000Z".
actor_typeNoFilter by credential type that performed the write.
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds valuable behavioral context by disclosing it reads local files at ~/.advocatehub-mcp/audit/<orgId>-YYYY-MM.jsonl and legacy <orgId>.jsonl, which informs the agent about filesystem access and legacy support. No contradiction with annotations.

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?

Two sentences: the first states purpose and filters, the second states storage location. There is no fluff, and the most important information is front-loaded.

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?

The description is complete enough for a read-only search tool with no output schema. It covers the resource, supported filters, and file location. It does not explicitly mention return format or ordering, but the schema's limit parameter and annotations provide some context.

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% with detailed descriptions for all parameters. The description merely summarizes the filter fields ('tool name, actor type, ISO date range') without adding new information beyond the schema, so it does not compensate beyond the schema coverage baseline.

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?

The description clearly states 'Search executed write audit entries for this tenant' with a specific verb and resource, and lists filter dimensions (tool name, actor type, ISO date range). It does not explicitly differentiate from the sibling audit_tail, but the word 'search' implies historical querying as opposed to tailing.

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?

The description implies usage for querying historical write audit entries with optional filters, giving clear context. However, it does not explicitly state when not to use it or mention alternatives like audit_tail for live tailing, so it lacks explicit exclusions.

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/akashtrilogy/advocatehub-influitive-mcp'

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