Skip to main content
Glama

memoire_identify_gaps

Identify queries whose recalled memories are missing or below the trust threshold, so you can detect gaps in memory coverage and improve retrieval reliability.

Instructions

Identify queries whose recalled memories are missing or below the trust threshold. min_trust defaults to the engine's HINT threshold (0.40), the same bar MemoryPolicy uses to decide whether a memory is worth offering at all.

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": {
      "queries": "<queries>"
    },
    "name": "memoire_identify_gaps"
  }
}

Input Schema

NameRequiredDescriptionDefault
top_kNo
queriesYes
min_trustNo
namespaceNodefault

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses useful semantics about the default threshold (HINT 0.40, matching MemoryPolicy), but says nothing about whether the operation is read-only, whether it is expensive, whether it mutates state, or what the response contains.

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 compact sentences with the core behavior front-loaded and the threshold default placed second. The MemoryPolicy reference earns its place by explaining the number, though the parenthetical around the threshold is slightly padded.

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?

For a four-parameter, no-annotation, no-output-schema tool, the definition covers the key concept (what a gap is, where the threshold comes from) but leaves the return structure and three of four parameters to inference. An agent could invoke it, but would guess at what comes back.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters. The description only explains min_trust and its default; queries, top_k, and namespace are left entirely undocumented, so an agent gets no guidance on the shape of the query list or on namespace scoping.

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 names a specific verb and object: it identifies queries whose recalled memories are missing or fall under the trust threshold. This distinguishes it from a plain recall tool, though it never names a sibling such as memoire_recall or memoire_recall_explained to contrast against.

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

Usage Guidelines3/5

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

Usage is only implied — the framing suggests diagnostic/quality auditing, and the MemoryPolicy reference hints at why the threshold matters. There is no explicit when-to-use versus when-not, and no stated prerequisites or alternatives for checking recall quality.

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