Skip to main content
Glama

find_duplicates

Scan a namespace to detect clusters of near-identical memories, helping you identify and consolidate redundant entries.

Instructions

Scan a namespace for clusters of near-identical memories.

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": "find_duplicates"
  }
}

Input Schema

NameRequiredDescriptionDefault
namespaceNoepisodic
thresholdNo
project_filterNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv7.1.7

TDQS

C2.6/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 behavioral burden. It implies a read-style scan but never states side-effect freedom, cost, or latency, and it does not describe what a 'cluster' looks like in the response or how results are ordered, leaving an agent unable to predict the outcome.

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

Conciseness3/5

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

The single sentence is front-loaded, free of preamble, and easy to parse, so structural quality is good. However, its extreme brevity leaves no room for the qualifying details this no-annotation tool needs, making it concise to the point of under-specification.

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?

With no annotations, no output schema, and 0% schema coverage, the description is the only information source and it covers only the headline action. It should explain the return shape (cluster grouping, similarity measure) and the threshold and project_filter semantics for the agent to call it correctly.

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 three parameters, so the description must compensate and largely fails. 'Namespace' is echoed by the text and 'threshold' is loosely hinted at by 'near-identical', but project_filter is never mentioned and no ranges, units, or defaults for threshold are given.

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 concrete verb ('Scan'), an explicit resource ('a namespace'), and a stated result ('clusters of near-identical memories'), so an agent knows this tool detects duplicates. It does not name a sibling like check_contradictions or memory_audit to sharpen the boundary, but the purpose itself is unambiguous.

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 statement of when to run this scan, when not to, or what alternative tools exist for related auditing tasks. Neither is there guidance on choosing a namespace or threshold, so the agent must infer all usage context from the name.

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