Skip to main content
Glama

Audit for credentials

crbro_audit
Read-onlyIdempotent

Scans memory entries and session logs for exposed API keys, tokens, and passwords; reports location and type without values so you can remove and rotate them.

Instructions

Read-only scan of every neuron (all entry kinds and the map) and every session log for credentials stored before the filter caught them: API keys, tokens, passwords. Reports where and what kind, never the values. Findings are also in the search index, so recall can return them: remove them with crbro_forget (facts for entries, session for a day log), then rotate them. Run it after upgrading or when a secret may have been pasted. crbro_inspect shows content; this judges it.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
noteNo
messageYes
findingsYes
facts_affectedYes
neurons_affectedYes
session_findingsNo
sessions_affectedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv2.12.0
    • removedOutput schema / properties / findings / items / properties / debts
      Removed value: -{
      -  "type": "number"
      -}
    • removedOutput schema / properties / findings / items / properties / decisions
      Removed value: -{
      -  "type": "number"
      -}
    • removedOutput schema / properties / findings / items / properties / errors
      Removed value: -{
      -  "type": "number"
      -}
    • removedOutput schema / properties / findings / items / properties / facts
      Removed value: -{
      -  "type": "number"
      -}
    • removedOutput schema / properties / findings / items / properties / map
      Removed value: -{
      -  "type": "number"
      -}
    • removedOutput schema / properties / findings / items / properties / name
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / findings / items / properties / patterns
      Removed value: -{
      -  "type": "number"
      -}
    • removedOutput schema / properties / findings / items / properties / preferences
      Removed value: -{
      -  "type": "number"
      -}
    • changedOutput schema / properties / findings / items / required
      Previous value: -[
      -  "neuron_id",
      -  "name",
      -  "kinds",
      -  "facts",
      -  "decisions",
      -  "patterns",
      -  "preferences",
      -  "errors",
      -  "debts",
      -  "map"
      -]New value: +[
      +  "neuron_id",
      +  "kinds"
      +]
    • removedOutput schema / properties / session_findings / items / properties / date
      Removed value: -{
      -  "type": "string"
      -}
    • changedOutput schema / properties / session_findings / items / required
      Previous value: -[
      -  "session_id",
      -  "date",
      -  "kinds"
      -]New value: +[
      +  "session_id",
      +  "kinds"
      +]
  2. Changed2 schema fields changedv2.4.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  3. Changed2 schema fields changedv2.0.0
    • addedOutput schema / properties / session_findings
      Added value: +{
      +  "items": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "date": {
      +        "type": "string"
      +      },
      +      "kinds": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "session_id": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "session_id",
      +      "date",
      +      "kinds"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / sessions_affected
      Added value: +{
      +  "type": "number"
      +}
  4. Addedv1.14.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds context those cannot carry: values are never reported, only location and kind; findings persist in the search index so recall can surface them; and remediation is a two-step remove-then-rotate. That is meaningful side-effect and safety information beyond the structured hints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with scope, then behavior, then remediation and the sibling contrast — no filler sentences. The remediation clause packs remove-target mapping ('facts for entries, session for a day log') into a parenthetical, which is dense but still parseable.

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 zero-argument, read-only audit with an output schema already describing returns, the description covers scope, safety guarantee about not echoing secrets, downstream index effects, remediation path, and trigger conditions. Nothing an agent needs before invoking it is missing.

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 no parameters, so the schema baseline applies and there is nothing parameter-specific to compensate for. The description correctly does not invent argument detail.

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 first sentence gives a specific verb ('Read-only scan'), an explicit scope ('every neuron, all entry kinds and the map, and every session log'), and the target ('credentials stored before the filter caught them: API keys, tokens, passwords'). The closing contrast 'crbro_inspect shows content; this judges it' separates it from the nearest sibling without needing the schemas.

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 states both when to run it ('after upgrading or when a secret may have been pasted') and what to do with findings, naming the exact alternative tool and the argument shape ('remove them with crbro_forget (facts for entries, session for a day log), then rotate them'). The boundary against crbro_inspect and the role of crbro_recall are both spelled out.

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