Skip to main content
Glama

memory_quality_tool

Reports memory quality metrics—signal ratio, provenance, stale evidence, conflicts, and digest quality—so agents can validate persistent knowledge before relying on it.

Instructions

Report signal ratio, provenance, stale evidence, conflicts, and digest quality.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "memory_quality_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.11.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It discloses what the report inspects (stale evidence, conflicts, provenance), which is useful, but it does not state whether the tool is read-only, whether reporting triggers any refresh or mutation, or what permissions are needed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; every listed item corresponds to a reported quality dimension. Nothing is redundant or buried.

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 not be explained, and the metrics list covers report content. However, for a tool with an undocumented parameter and no annotations, the definition omits usage context and behavioral guarantees an agent would need to invoke it confidently.

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?

There is one optional 'project' parameter with 0% schema description coverage, and the description never mentions it. It neither explains what supplying a project scopes nor what omitting it does, so no meaning is added beyond the bare schema.

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 uses a specific verb ('Report') and enumerates the exact metrics produced: signal ratio, provenance, stale evidence, conflicts, and digest quality. That distinguishes it fairly well from siblings like memory_audit_tool or memory_check_record_tool, though it never explicitly contrasts itself with them.

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?

There is no guidance on when to call this tool versus memory_audit_tool, memory_check_record_tool, or memory_profile_tool, and no prerequisites or exclusions are stated. The agent must infer usage from the metric list alone.

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