Skip to main content
Glama

Log episode

log_episode

Record what an agent did in a session and how it went — the raw material 'reflect' later consolidates into durable memory + skills.

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
outcomeNo
summaryYes
agent_idYes
brain_idNo
ended_atNo
started_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=false and idempotentHint=false, so the safety and locality profile is covered. The description adds genuine behavioral context by naming the downstream consumer (reflect consolidates episodes into memory + skills), but says nothing about duplicate/repeat logging behavior implied by idempotentHint=false, retention, or what the nested 'actions' payload should contain. With annotations carrying the safety burden, a 3 is appropriate.

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?

A single front-loaded sentence that establishes the action and the downstream purpose with zero filler. Nothing is repeated from the title and no sentence fails to earn its place.

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 8-parameter write tool with a nested object and no output schema, the description covers only the conceptual purpose. It leaves the calling agent without guidance on the payload structure, identifier semantics, or the effect of repeated calls — content that annotations and schema do not supply here.

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 0% across 8 parameters including a nested free-form 'actions' object, and the description provides almost no parameter meaning — 'what an agent did' and 'how it went' only loosely gesture at summary/outcome. Nothing explains goal_id vs brain_id vs agent_id, timestamp formats, or the shape of the nested object, so an agent must guess at the most complex inputs this tool accepts.

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 gives a specific verb ('Record') plus a concrete resource ('what an agent did in a session and how it went'), and immediately disambiguates against the sibling 'reflect' by framing the episode as raw material that reflect later consolidates. An agent can distinguish this write-side capture step from the downstream consolidation step without inspecting either schema.

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?

Usage context is clear: this is the capture step performed during/after a session, and consolidation is explicitly deferred to 'reflect'. There are no explicit exclusions (e.g. when not to log, or what to do if an episode is already logged), so it falls short of full when/when-not guidance but leaves little ambiguity about the sequence.

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