Skip to main content
Glama
brain-mcp
by ladvoy

search_audit

Retrieve audit records to check what was included or excluded in assemblies and which mutations occurred; filter by kind, actor, or time.

Instructions

Use this when the owner asks what was included/excluded in assemblies or which mutations happened. Do NOT use for answering family questions — prefer get_context.

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

Input Schema

NameRequiredDescriptionDefault
kindNoassembly | mutation | delete | inquiry | failed_auth
actorNoFilter by principal slug
sinceNoISO-8601 datetime lower bound

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, and it says nothing about the fact that this is a non-mutating lookup, what the results look like, ordering, pagination, or what happens when filters are omitted (an unbounded scan by default, since no parameters are required). Only the question-shape framing is disclosed.

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 positive trigger front-loaded before the exclusion, and not a word that fails to earn its place. The structure mirrors how an agent should route: use first, avoid second.

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 three-parameter, no-output-schema, no-annotation read tool, the description covers routing but not operation: it omits default behavior with no filters, expected result shape, and the enumeration of audit kinds the caller can ask for. Adequate to pick the tool, thin for invoking it well.

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 coverage is 100%, so the three parameters are already fully documented by the schema. The description adds only an indirect mapping — 'included/excluded in assemblies' implies kind=assembly and 'which mutations' implies kind=mutation — without naming the kind values, the actor, or the time-bound semantics. Baseline 3 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?

The description names concrete query types — what was included/excluded in assemblies and which mutations happened — which is clearly more specific than the bare name 'search_audit'. It also implicitly separates itself from the context family, though it never states plainly that the tool searches audit records and returns matching events.

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

Usage Guidelines5/5

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

It gives an explicit trigger ('Use this when the owner asks what was included/excluded...') plus an explicit exclusion and named alternative ('Do NOT use for answering family questions — prefer get_context'). That is the when / when-not / alternative triad in two sentences.

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

Deploy Server

Other Tools