Skip to main content
Glama

Log AI Activity

cleanroom_ai_log

Log AI agent actions to the audit trail, capturing session starts, model IDs, and provided context for tamper-evident traceability in clean-room reimplementation.

Instructions

Log AI agent activity to the audit trail. Call this to record significant actions taken by AI agents, including session starts, model identifiers, and context that was provided to the agent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYesModel identifier (e.g., 'claude-opus-4-6')
actionYesWhat action the agent is performing
agent_nameYesName/identifier of the AI agent
session_idNoSession ID from the agent harness, if available
context_providedNoList of resources/specs provided as context to the agent
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does state that the tool writes to an audit trail and lists the kinds of data it records, but it does not mention potential side effects, permission requirements, whether the operation is append-only, or what the response contains. This is adequate but not rich.

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 long, front-loaded with the core purpose ('Log AI agent activity to the audit trail'), and contains no redundant information. It earns its place with every word.

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?

Given the tool's moderate complexity (5 parameters, no output schema, no annotations), the description is reasonably complete. It explains what the tool does, when to use it, and what data it logs. It does not describe return values, but for a logging tool this is a minor omission. It could also mention any prerequisite cleanroom context, but overall it suffices.

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 parameters are already well-documented. The description adds minor semantic context by mentioning 'session starts' (relating to session_id) and 'context that was provided to the agent' (context_provided), but these largely mirror the schema descriptions. It does not significantly enhance beyond the schema.

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's function: 'Log AI agent activity to the audit trail.' This uses a specific verb ('log') and resource ('AI agent activity' to 'audit trail'), and it distinguishes itself from siblings such as cleanroom_audit_log by focusing specifically on AI agent actions.

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 provides clear usage guidance: 'Call this to record significant actions taken by AI agents, including session starts, model identifiers, and context that was provided to the agent.' This establishes when to use the tool but does not explicitly mention when not to use it or offer alternatives among siblings, so it stops short of a full 5.

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/websitebutlers/cleanroom-mcp'

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