Skip to main content
Glama
chinwe

compound-memory

memory_feedback

Call after adopting a memory to report success, failure, contradiction, or obsolete status, updating confidence and triggering review or archiving.

Instructions

Report feedback on a memory with an outcome (closes the compounding loop — call after actually adopting a memory). outcome: 'success' (default, the memory worked), 'failure' (it misled you — confidence drops 0.2, floor 0.05), 'contradiction' (you dispute it — confidence frozen and a review entry is queued pending adjudication), 'obsolete' (it is superseded — archived immediately), 'unknown' (records the event only). Anything else is rejected. Success raises confidence (+0.1; extra +0.15 when a different agent validates for the first time). agent must be your own source agent id. Memories in a private 'agent-' namespace accept feedback only from the owner (agent = 'agent-' or ''). Archiving is reversed on feedback (except outcome=obsolete, which archives instead).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentYes
mem_idYes
outcomeNosuccess

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the entire behavioral burden and does so richly: exact confidence deltas (+0.1 success, +0.15 for first-time cross-agent validation, -0.2 failure with 0.05 floor), freezing and queued review for 'contradiction', immediate archiving for 'obsolete', rejection of any other value, ownership restriction for private 'agent-<name>' namespaces, and archiving being reversed on feedback. This is far beyond what any structured field provides.

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 the trigger before enumerating outcomes, and every clause carries information not present in the schema. The dense run of parentheticals makes it slightly heavy to scan, but there is little genuine filler to cut.

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?

For a three-parameter mutation tool with no annotations, no output schema, and 0% schema coverage, the description covers timing, per-outcome behavior, and authorization thoroughly. The one remaining gap is what the caller receives back (returned confidence, review-entry id), though the state changes themselves are disclosed.

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

Parameters5/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: every meaningful value of 'outcome' is defined with its side effect and the default is noted, and 'agent' is constrained to "your own source agent id" with the private-namespace ownership rule spelled out. Only 'mem_id' is left implicit, which is reasonable for a self-evident identifier.

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 specific verb and resource ("Report feedback on a memory with an outcome") and immediately differentiates itself from siblings like memory_write/memory_get by framing feedback as the step after a memory is adopted. The compounding-loop phrasing makes its role in the memory lifecycle unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

"call after actually adopting a memory" gives a clear trigger condition, and the per-outcome effects tell the agent which outcome applies when. It stops short of explicitly comparing itself to the sibling tools or stating when not to call it, so it is clear context without full routing guidance.

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