Skip to main content
Glama

memory_feedback_tool

Records whether a stored memory was useful, wrong, irrelevant, verified, or stale so agents can adjust knowledge reliability and prioritize relevant context.

Instructions

Record whether a memory was useful, wrong, irrelevant, or stale.

Args: id: Memory item id signal: useful, wrong, irrelevant, verified, or stale query: Task or query the item was considered for tags: Tags supplied with that query weight: Relative weight in [0, 10] (default 1) project: Optional project root path

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": {
      "id": "<id>",
      "signal": "<signal>"
    },
    "name": "memory_feedback_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
tagsNo
queryNo
signalYes
weightNo
projectNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.11.0

TDQS

C2.9/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 burden of behavioral disclosure, and it does not state whether feedback overwrites prior signals, whether the memory item must already exist, or how the weight influences later ranking or decay. The `weight: Relative weight in [0, 10]` hint implies scoring impact but never explains it, which leaves the tool's side effects opaque for a mutation.

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 intent sentence is front-loaded and the Args list is compact with no filler. The only friction is the signal mismatch between the summary line and the Args line, which costs a re-read rather than wasted words.

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?

An output schema exists, so return values need no explanation, and all six parameters are at least named. But for an unannotated mutation with six inputs, the description omits the effects of the call and any routing versus the many feedback-adjacent siblings, leaving the definition only minimally sufficient.

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%, and the Args block does document all six parameters including defaults and the weight range, which is real value added. However, explanations for query and tags are near-circular ("Task or query the item was considered for", "Tags supplied with that query"), and the opening sentence lists four signals while the Args line lists five, adding "verified", a discrepancy that leaves the accepted enum unclear.

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?

"Record whether a memory was useful, wrong, irrelevant, or stale" gives a specific verb (record) and resource (feedback on a memory item), which is enough to distinguish it from read-oriented siblings like memory_feedback_list_tool. It stops short of naming any sibling or contrasting itself with memory_audit_tool or memory_quality_tool.

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

Usage Guidelines2/5

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

The description never says when to record this feedback, what triggers it, or how it differs from adjacent tools such as revalidate, quality, or check_record. An agent must infer from the name alone that this is the write path for post-retrieval feedback.

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