Skip to main content
Glama

Write Diary

memory-diary-write

Record a session diary entry to capture what happened, the decisions made, and what matters next, giving AI agents a persistent log for retaining context across conversations.

Instructions

Write a session diary entry. Record what happened, what was decided, what matters next.

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": {
      "content": "<content>"
    },
    "name": "memory-diary-write"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentNoAgent name (default: "claude").
contentYesDiary entry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and falls short. It does not say whether entries are appended or overwrite a prior session entry, how the session is identified, whether the write is scoped to the current session only, or whether it requires prior login (memory-login is a sibling).

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 followed by content guidance — no filler. It is perhaps overly terse for an unannotated mutation tool, but nothing is wasted.

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

Completeness3/5

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

For a simple two-parameter tool with no output schema, the description covers purpose and rough content. It is still incomplete on the things an agent most needs: append vs replace semantics, session scoping, and how the entry is later retrieved.

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

Parameters3/5

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

Schema description coverage is 100%, so both `agent` and `content` are already documented in the schema, and the baseline is 3. The description's "what happened, what was decided, what matters next" adds modest framing for what belongs in `content`, but gives no format, length, or structural expectations.

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?

The description states a specific verb and resource — "Write a session diary entry" — which unambiguously identifies the operation. It does not name or contrast with the nearest sibling, memory-diary-read (the read counterpart) or memory-handoff-write (a similar write tool), so the agent must infer the boundary.

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?

"Record what happened, what was decided, what matters next" gives useful content-selection guidance for the entry. However, there is no explicit when-to-use vs when-not guidance, and nothing distinguishes this from memory-handoff-write or memory-scratch-promote, which likely serve overlapping capture needs.

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