Skip to main content
Glama

memoire_penalize

Penalize memories that contributed to failed task outcomes by lowering their trust score using a failure severity factor from 0.0 to 1.0.

Instructions

Penalize memories that contributed to a failed task outcome. failure_severity is a scale factor [0.0, 1.0].

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": {
      "memory_ids": "<memory_ids>",
      "failure_severity": "<failure_severity>"
    },
    "name": "memoire_penalize"
  }
}

Input Schema

NameRequiredDescriptionDefault
namespaceNodefault
memory_idsYes
failure_severityYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden, yet it never explains what penalization actually does mechanically — whether it reduces a score/weight, marks memories as suspect, or removes them. It also omits reversibility, persistence, and whether penalized memories still surface in memoire_recall, which are exactly the facts an agent needs before invoking 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?

Two short sentences, front-loaded with the action, and no filler. The brevity is efficient rather than padded, though the second sentence is purely parameter data that arguably belongs in the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an unannotated mutation tool with no output schema and 0% parameter coverage, the definition is too thin: it says nothing about effects, reversibility, or return value. An agent could invoke it but could not predict the consequences or verify success.

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 must compensate; it does explain that failure_severity is a scale factor bounded to [0.0, 1.0], which is genuine meaning beyond the bare 'number' type. However, namespace and memory_ids receive no clarification — notably whether memory_ids must come from a prior memoire_recall and whether namespace must match the one used at write time.

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 pairs a specific verb ('Penalize') with a specific resource ('memories') and the triggering condition ('contributed to a failed task outcome'), so the core action is unambiguous. It stops short of differentiating from nearby tools such as memoire_reinforce, memoire_forget, or memoire_batch_feedback, leaving the agent to infer the boundary.

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 trigger ('after a failed task outcome') is implied by the phrase 'contributed to a failed task outcome', but there is no explicit when-to-use guidance and no mention of alternatives or exclusions. It never says whether penalizing should be paired with memoire_forget, when to prefer memoire_reinforce, or how it differs from batch feedback — a notable gap given the crowded sibling set.

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