Skip to main content
Glama

Log episode

log_episode

Record what an agent did and how it turned out — the raw material reflect later consolidates into durable memory and 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": {
      "agentId": "<agentId>",
      "summary": "<summary>"
    },
    "name": "log_episode"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalIdNo
actionsNo
agentIdYes
brainIdNo
endedAtNo
outcomeNo
summaryYes
startedAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false, so the agent knows this is a non-idempotent write that does not destroy data. The description adds useful downstream context — the record becomes input to `reflect` for durable memory and skills — which explains why logging matters. It does not address duplicate handling (consistent with non-idempotent), retention, or failure behavior, so it adds some but not rich behavioral context.

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 sentence with no filler, front-loading the action before the downstream rationale. Every clause earns its place by adding either purpose or context.

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 zero schema description coverage and no output schema, the description covers only purpose and a downstream hint. It leaves all field semantics, identity scoping (agentId/brainId/goalId), timestamp formats, and expected return unaddressed. Adequate as a one-line pitch, not as documentation for a tool of this complexity.

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, so the description carries the full burden and largely fails it: no parameter is named, and types/formats for `startedAt`, `endedAt`, `brainId`, `goalId`, or the enum in `outcome` are never clarified. The phrase 'what an agent did and how it turned out' only loosely gestures at `actions` and `outcome`. An agent must open the schema and guess at the rest.

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?

Uses a specific verb ('Record') and describes the resource concretely as 'what an agent did and how it turned out', which is more informative than the bare name 'log_episode'. It also positions itself against the sibling `reflect`, so an agent can distinguish the capture step from the consolidation step. It stops short of a crisp one-line statement of scope (per-call vs. per-session), keeping it below a 5.

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?

The clause 'the raw material `reflect` later consolidates' implies this is the capture step that precedes reflection, giving an implicit when-to-use signal and naming the alternative. However, there is no explicit instruction on timing (after each task? on failure only?), no prerequisites, and no statement of when not to use it. Usage is inferable but not stated.

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