Skip to main content
Glama

Log episode

log_episode

Append an episode to an agent's episodic memory (§8.1). Marks it unconsolidated — reflect will pick it up.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "agent_id": "<agent_id>",
      "summary": "<summary>"
    },
    "name": "log_episode"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionsNo
goal_idNo
outcomeNosuccess|partial|failure|abandoned
summaryYes
agent_idYes
brain_idNo
ended_atNo
started_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare this is a non-readonly, non-destructive, non-idempotent write. The description adds genuinely new lifecycle context — the record is appended and left 'unconsolidated' for `reflect` to consume — which the annotations cannot convey. It still omits what happens on repeated calls (despite idempotentHint=false implying duplicates), ordering, and any failure behavior.

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?

Two short sentences, front-loaded with the action and immediately followed by the state consequence; nothing is padded. The '§8.1' spec reference is likely opaque to an agent and consumes space without adding operational meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an eight-parameter write tool with no output schema and near-zero schema documentation, the description is too thin: it does not identify the return value, required-versus-optional parameter roles, timestamp format, or what an episode contains. The lifecycle note is helpful but leaves most of what an agent needs to call this correctly unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 13%: of eight parameters, only `outcome` is documented, with allowed values success|partial|failure|abandoned. The description names no parameters at all, leaving `agent_id`, `brain_id`, `goal_id`, `actions`, `summary`, `started_at`, and `ended_at` formats and constraints entirely undocumented. With this coverage gap the description should compensate but does not.

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?

Specific verb+resource: 'Append an episode to an agent's episodic memory', with a scope reference (§8.1) and the downstream consumer named (`reflect`). An agent can tell this is the write side of the memory pipeline, distinct from the consolidation tool, though the sibling is referenced only obliquely.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: 'Append an episode' plus 'reflect will pick it up' hints that this is the capture step preceding consolidation. There is no explicit when-to-use trigger (e.g., after completing a task), no when-not guidance, and no mention of prerequisites such as the agent or brain existing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources