Skip to main content
Glama

write_memory

Persist one durable fact or decision per call with domain, importance, entities, and an idempotency key to maintain cross-session context.

Instructions

Persist one durable fact or decision. One specific fact per call, under 300 words.

domain: free-form short label, e.g. decisions | people | projects | general importance: 9-10 decisions · 7-8 relationship/strategy updates · 5 context · 3 ephemeral idempotency_key: unique slug; the same key twice is a safe no-op entities: wiki page names this fact touches (powers topic->page push)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainNogeneral
contentYes
entitiesNo
importanceNo
idempotency_keyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and discloses meaningful traits: idempotency_key makes a repeated call a safe no-op, content is limited to 300 words, and entities power a topic-to-page push. It does not cover permissions or overwrite semantics, but the key behavioral details are present.

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?

The description is front-loaded with the core purpose, then uses compact labeled lines to explain each parameter's semantics. Every sentence earns its place with no repetition or filler.

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?

Given no annotations, 5 parameters, 0% schema coverage, and an existing output schema, the description provides enough to invoke the tool correctly: it defines most parameter semantics and important behaviors like idempotency and word limit. It stops short of explicitly naming the content parameter and lacks sibling routing guidance, but is largely complete.

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 description coverage is 0%, so the description must compensate, and it does for four of five parameters: domain gets examples, importance gets a numeric interpretation, idempotency_key explains safe duplication, and entities explains linkage. The content parameter is only implicitly defined via 'one specific fact per call, under 300 words', which keeps it from a 5.

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: 'Persist one durable fact or decision' and scopes it to one fact per call under 300 words. It does not explicitly differentiate from sibling tools like write_wiki or log_record, so it falls 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 by 'Persist one durable fact or decision' and the importance scale, but there is no explicit when-to-use guidance or comparison to alternatives such as write_wiki or log_record. The domain examples and importance mapping are helpful parameter guidance rather than selection criteria.

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