Skip to main content
Glama

Memoria — Deterministic AI Memory & Code Intelligence MCP

Record Memory Feedback

feedback

Adjust a memory salience weight based on recall utility (consumes 1 Write API call; non-idempotent because repeated calls compound the salience delta) and return { updated }. Enforces organization ownership on id; useful=true boosts salience toward 1.0 while useful=false dampens noisy or outdated entries without deleting them. Use after recall_memories to tune future ranking quality; use forget_memory instead for permanent removal, or consolidate to merge duplicate records.

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>",
      "useful": "<useful>"
    },
    "name": "feedback"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTarget memory UUID from recall_memories.
usefulYesTrue to boost salience when helpful; false to dampen salience when stale or noisy.

Output Schema

NameRequiredDescriptionDefault
updatedYesTrue when the target memory existed and its salience was updated.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / id / description
      Previous value: -"Memory ID being rated."New value: +"Target memory UUID from recall_memories."
    • changedInput schema / properties / useful / description
      Previous value: -"True when helpful, false when outdated or irrelevant."New value: +"True to boost salience when helpful; false to dampen salience when stale or noisy."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "updated": {
      +      "description": "True when the target memory existed and its salience was updated.",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "updated"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag non-read-only, non-idempotent, non-destructive behavior, and the description corroborates rather than contradicts them, explaining *why* it is non-idempotent ('repeated calls compound the salience delta') and warning that it costs 1 Write API call. It further discloses organization ownership enforcement on id, the return shape { updated }, and the important safety property that a false useful flag dampens rather than deletes entries.

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 text is dense and front-loaded with the purpose, then the cost, then the alternatives, so a reader gets the essential constraint first. It is slightly overpacked in a single sentence with a parenthetical and semicolon, but nearly every clause carries distinct information.

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?

For a two-parameter mutation tool with annotations and an output schema, the description covers cost, idempotency rationale, authorization, return value, and the semantics of both flag directions. An agent has enough to call it correctly and avoid mistaking it for a delete or merge operation.

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 coverage is 100%, so a baseline of 3 is warranted, but the description earns extra credit by clarifying semantics the schema leaves implicit: ownership is enforced on id, and a useful=false dampening never deletes an entry, which prevents an agent from conflating it with removal. It still doesn't add further detail on id fetching beyond what the schema says.

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?

The description opens with a specific verb and resource: 'Adjust a memory salience weight based on recall utility.' It immediately scopes what the tool changes (salience, not content) and names siblings it is not, so an agent can distinguish it from forget_memory and consolidate without inspecting schemas.

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?

It gives an explicit trigger ('Use after recall_memories to tune future ranking quality') plus named alternatives with their conditions: forget_memory for permanent removal, consolidate for merging duplicates. The when-to-use case and the when-not-to-use cases are both stated directly.

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.