Skip to main content
Glama

Add a memory

add_memory
Destructive

Append one memory line to JEVMEM.md. The line is scrubbed of secrets and checked by Jev first (the same gate as the Claude Code hook): lines that read as instructions aimed at an AI or small talk are refused with a reason, and a line a…

Instructions

Append one memory line to JEVMEM.md. The line is scrubbed of secrets and checked by Jev first (the same gate as the Claude Code hook): lines that read as instructions aimed at an AI or small talk are refused with a reason, and a line a live memory already says is not added: the answer names that line (duplicate_of). Jev may correct the kind. Kind dead-end is an approach that was tried and failed or was dropped: the line must say what was tried and why, or it is refused. A retry of a saved dead end that failed again for the reason it gives is refused; for a new reason, the saved line keeps both reasons and replaces the old one. In Claude Code with jevmem's hooks (the plugin or jevmem init), every turn is already recorded automatically: do not call this to repeat what the user just said; call it only when the user asks you to record something the conversation itself does not state.

Input Schema

NameRequiredDescriptionDefault
kindYes
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.4

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint, idempotentHint=false): it discloses secret scrubbing, the instruction/small-talk gate, duplicate detection that returns a 'duplicate_of' line, that Jev may correct the kind, and the exact semantics for retried dead ends. That is the kind of side-effect and failure-mode detail an agent cannot infer from the schema.

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-loaded with the core action in the first sentence, and the long remainder largely earns its place with operational rules. It is a dense block rather than a structured list, which makes it heavier to parse, but there is little pure filler.

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?

Given a mutation tool with destructive/non-idempotent annotations, no output schema, and 0% schema description coverage, the description supplies the missing behavior: gate outcomes, refusal reasons, the duplicate_of return, and the automatic-recording caveat. Nothing essential to calling it correctly is absent.

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 0%, so the description carries the burden. It richly explains the 'dead-end' kind (what it means, what the line must contain, retry behavior) but says nothing about the other six enum values or the text constraints (3-500 chars, one line, scrubbing). Partial compensation, so a mid score.

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 verb and resource ('Append one memory line to JEVMEM.md'), which is immediately distinguishable from the read-only siblings audit_memory, list_memory, and search_memory. The gate/scrub behavior further pins down what 'append' means here.

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?

Explicitly states when NOT to call it ('In Claude Code with jevmem's hooks... every turn is already recorded automatically: do not call this to repeat what the user just said') and when to call it ('only when the user asks you to record something the conversation itself does not state'). Refusal conditions for instructions/small talk and dead-end retries are also spelled out.

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

Deploy Server

Other Tools