Skip to main content
Glama

Metis · Data Guardian — Log Consent Event

log_consent_event

Record data processing events in the consent ledger to maintain an audit trail of what was processed, when, and under which classification.

Instructions

Append a row to the consent_ledger table.

Call this whenever an agent processes data so there is an audit trail
of what was processed, when, and under what classification.

Args:
    action:              Short description — e.g. 'scan_document', 'anonymize_patient_data'.
    data_classification: 'PUBLIC' | 'INTERNAL' | 'CONFIDENTIAL' | 'SENSITIVE'.
    agent_slug:          Which agent performed the action.
    notes:               Free-text context.
    session_id:          Current session identifier.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesNo
actionYes
agent_slugNo
session_idNo
data_classificationNoPUBLIC

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided, so the description carries full burden. It states it appends a row (write operation) and lists parameters, but lacks details on side effects, idempotency, permissions, or error handling. Adequate but not thorough.

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 concise: one sentence for purpose, one for usage, and a clear Args block. No wasted words, front-loaded, and easy to parse.

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?

With output schema present, the description needn't detail return values. It covers purpose, usage, and all parameters. Slight gap: no mention of success/failure response, but overall complete for the tool's simplicity.

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?

Schema coverage is 0% (no descriptions in schema properties), but the description includes an Args block explaining each parameter: action, data_classification (with enum list), agent_slug, notes, session_id. This adds significant value beyond the raw 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 appends a row to the consent_ledger table, providing an audit trail for agent data processing. It uses specific verbs and resource, distinguishing it from siblings like get_consent_ledger.

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 explicitly says 'Call this whenever an agent processes data so there is an audit trail,' giving clear when-to-use guidance. It doesn't mention alternatives or when-not-to-use, but the context is sufficient.

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/SVerITG/Metis'

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