Skip to main content
Glama

Write event

write_event

Records an episodic event (what happened, a decision, a result) in the persona's memory.

`project_scope`: the project the entry belongs to. Omitted, the session's
project is used (the `X-Project-Scope` header, otherwise the server
default). Pass "global" for the general memory shared by all projects,
only for what holds in every project; the general memory is read on the
Pro plan only.

Before writing, a similarity search reports a probable duplicate in
`warning`; the event is written anyway.

Content: facts, with code, paths and figures kept exact. At most 3 000
characters; a new title at most 120.

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_md": "<content_md>"
    },
    "name": "write_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
entitiesNo
content_mdYes
participantsNo
persona_slugNo
project_scopeNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / persona_slug / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / persona_slug / default
      Previous value: -"soov"New value: +null
    • removedInput schema / properties / persona_slug / type
      Removed value: -"string"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the description earns credit for adding real behavior: a pre-write similarity search that surfaces a probable duplicate in `warning` without blocking the write. It also discloses length limits (3 000 chars content, 120 title) and the Pro-plan restriction on general memory. It does not say what happens when limits are exceeded or whether writes are idempotent.

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?

The content is front-loaded with the core purpose, then grouped into labeled blocks for scope, duplicate behavior, and content limits. Backticked parameter names aid scanning. A little verbose around the project-scope fallback chain, but nearly every sentence carries information.

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

Completeness4/5

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

An output schema exists, so return values need no explanation, and annotations cover the safety profile. The description supplies the key behavioral facts an agent needs to call this correctly. The remaining gap is the three undocumented optional parameters (entities, participants, persona_slug), which reduces completeness for a 6-parameter mutation tool.

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 coverage is 0%, so the description must carry the load. It explains `project_scope` well (session project via X-Project-Scope header, server default, or 'global' with its plan restriction) and adds constraints on `content_md` and `title`. However, `entities`, `participants`, and `persona_slug` are left entirely undocumented in both schema and description, so half the parameters remain opaque.

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: 'Records an episodic event (what happened, a decision, a result) in the persona's memory.' The parenthetical clarifies what counts as episodic, which implicitly separates it from the semantic/procedural update siblings. It does not name a sibling explicitly, so it stops short of 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?

Usage is implied rather than stated: episodic events go here, and 'global' scope is reserved for what holds in every project. There is no explicit when-to-use/when-not comparison against update_semantic or update_procedural, and no stated prerequisites beyond the Pro-plan note for general memory.

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.