Skip to main content
Glama

record_action

Log agent actions to create cryptographically sealed audit trails for transparency and verification of automated activities.

Instructions

Record an agent action to the AgentSeal audit hash trail. Call this after every significant action (sending emails, modifying files, running queries, making API calls) to create a cryptographically sealed record of what happened and why.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesIdentifier for this agent (e.g. 'research-bot', 'finance-agent')
action_typeYesWhat type of action was taken (e.g. 'email:send', 'file:write', 'api:call', 'db:query')
action_paramsNoParameters of the action (e.g. {to: 'user@example.com', subject: '...'})
reasoningNoWhy you decided to take this action — your chain of thought
authorized_byNoWho or what authorized this action (e.g. 'user:alice', 'policy:auto-approve')
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. It clearly describes the tool's behavior (creates cryptographically sealed records) and purpose (audit trail). However, it doesn't mention potential side effects, error conditions, or response format, which would be helpful for a mutation tool.

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 perfectly concise with two sentences that each earn their place. The first sentence establishes the core purpose, and the second provides crucial usage guidance. No wasted words or redundant information.

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?

For a mutation tool with no annotations and no output schema, the description does well by explaining the purpose, timing, and examples of significant actions. However, it doesn't describe what the tool returns or potential error cases, leaving some gaps in completeness.

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%, so the schema already documents all parameters thoroughly. The description adds context about when to call the tool but doesn't provide additional parameter semantics beyond what's in the schema descriptions. Baseline 3 is appropriate when schema does the heavy lifting.

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 purpose with specific verbs ('record', 'create') and resources ('agent action', 'AgentSeal audit hash trail'). It distinguishes from sibling tools (query_actions, verify_chain) by focusing on recording rather than querying or verifying.

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?

The description provides explicit usage guidance: 'Call this after every significant action' with specific examples (sending emails, modifying files, etc.). It establishes clear timing and context for when to use this tool versus its siblings.

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/JoeyBrar/agentseal-mcp'

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