Skip to main content
Glama

deep_check

Detect and optionally fix memory data quality issues: anonymous sources, short content, stale profiles, orphaned episodes, calibration staleness, and near-duplicate merge candidates.

Instructions

Deep heuristic analysis of memory data quality. Detects issues requiring recovery or judgment (anonymous sources, short/trivial content, stale profiles, orphaned episodes, stale threshold calibration, embedding-space near-duplicate pairs as merge candidates). near_duplicate and calibration_staleness are report-only: apply decisions via merge_memories / delete_memory / calibrate_threshold. Set fix=true to apply repairs. Use checks parameter to select specific checks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fixNoApply repairs (default: dry-run preview only)
checksNoChecks to run (empty = all). Options: anonymous_source, short_content, stale_profile, orphaned_episodes, calibration_staleness, near_duplicate
agent_idYesAgent ID to check (required)
Behavior5/5

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

The description discloses that the tool can apply repairs when fix=true, and defaults to a dry-run preview. This goes beyond the readOnlyHint annotation (false) by detailing the mutation behavior. No contradictions with annotations.

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 description is concise and front-loaded with the purpose. It covers all key aspects in a few sentences. However, it could be more structured (e.g., bullet points for the issue types) to improve scanability. Still, every sentence earns its place.

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?

The description covers what the tool does and how to use it, but lacks details about the output/report format. Since there is no output schema, the description should specify what the tool returns (e.g., a list of issues with severity). This gap reduces completeness, especially for a diagnostic tool.

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 baseline is 3. The description adds value by explaining that near_duplicate and calibration_staleness checks are report-only, requiring other tools for action. This extra context improves understanding of the checks parameter beyond the schema's enum list.

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 clearly states the tool performs deep heuristic analysis of memory data quality and lists specific issues detected (anonymous sources, short content, stale profiles, etc.). It distinguishes itself from sibling tools like merge_memories, delete_memory, and calibrate_threshold by noting which checks are report-only and require those other tools for actions.

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?

Explicit guidance on when to use: it detects issues requiring recovery or judgment. It explains the fix parameter (default dry-run, set to true to apply repairs) and the checks parameter (empty runs all, otherwise select specific checks). It also clarifies that near_duplicate and calibration_staleness are report-only, directing users to sibling tools for decisions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Cloto-dev/CPersona'

If you have feedback or need assistance with the MCP directory API, please join our Discord server