Skip to main content
Glama

log_conversation

Idempotent

Hand a conversation to the nightly memory pass so it is recorded and turned into diary memories. Use it when a chat winds down, or every ~20 exchanges in a long one.

Instructions

Hand this conversation to tonight's memory pass so it can go into your diary and become memories. Apps that talk to the model directly (the Claude and ChatGPT apps, most desktop clients) don't record conversations on their own: unless you call this, nothing said here reaches the nightly pass. Call it when the conversation is winding down, and in a long one every 20 or so exchanges. Send the person's and your messages in order, trimmed of code and pasted documents; lines already sent in this conversation are skipped, so pass back the conversation_id from your first call. If memories are already being added to your messages automatically every turn (the Aelios gateway), skip this. For anything that matters right now, use remember. Returns { data: { conversation_id, saved, skipped, message_ids } }.

Input Schema

NameRequiredDescriptionDefault
messagesYesThe person's and your messages, oldest first.
namespaceNoMemory space to use. Defaults to 'default'. Ignored when the API key is bound to a fixed namespace.
conversation_idNoThe conversation_id returned by your first call in this conversation. Leave it out the first time.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations by explaining why the call is needed (direct-to-model clients record nothing), that already-sent lines are skipped, and that the returned conversation_id must be passed back to enable that dedup. It also states the return shape, which no output schema provides. This is behavioral context the readOnly/idempotent hints cannot convey.

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?

Front-loads the purpose and keeps the operational rules (timing, trimming, dedup, skip condition) tight and scannable. The opening framing about diaries and memories is slightly conversational, but no sentence is genuinely wasted.

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

Completeness5/5

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

Covers everything an agent needs: motivation, timing, exclusion, alternative tool, payload hygiene, dedup protocol, and the exact return fields, compensating for the absent output schema. Nothing material is missing for a 3-parameter write tool.

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 100%, so baseline is 3, but the description adds real semantics: messages must be ordered oldest-first, trimmed of code and pasted documents, and conversation_id must be carried forward from the first call. Only `namespace` is left entirely to the 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?

States a concrete action (hand the conversation to the nightly memory pass so it becomes diary memories) rather than restating the name. It also distinguishes itself from the sibling `remember` by contrasting deferred logging with immediate recall, so an agent can pick between them without opening 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 Guidelines5/5

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

Gives explicit timing (when the conversation winds down, every ~20 exchanges in a long one), an explicit exclusion (skip it when the Aelios gateway auto-adds memories each turn), and an explicit alternative (`remember` for anything that matters right now). Both when and when-not are covered.

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