Skip to main content
Glama
Cloto-dev

CPersona

Official
by Cloto-dev

deep_check

Inspect memory data quality and identify problems like anonymous sources, short content, stale profiles, orphaned episodes, calibration staleness, and near-duplicates. Use fix mode to repair fixable issues.

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). fix=true applies repairs for: anonymous_source, short_content. Report-only (fix is accepted and ignored): stale_profile, orphaned_episodes, calibration_staleness, near_duplicate — apply those decisions via merge_memories / delete_memory / calibrate_threshold / update_profile. 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)
session_keyNoOpaque session identity you declare: a partition hint, not authentication and not a data filter. Selects which no-persist pause applies to this call. Omit to share one bucket with every caller that omits it. Full text on recall.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv2.5.10
    • addedInput schema / properties / session_key
      Added value: +{
      +  "default": "",
      +  "description": "Opaque session identity you declare: a partition hint, not authentication and not a data filter. Selects which no-persist pause applies to this call. Omit to share one bucket with every caller that omits it. Full text on recall.",
      +  "type": "string"
      +}
  2. Changed1 schema field changedv2.4.37
    • changedInput schema / properties / checks / description
      Previous value: -"Checks to run (empty = all). Options: anonymous_source, short_content, stale_profile, orphaned_episodes"New value: +"Checks to run (empty = all). Options: anonymous_source, short_content, stale_profile, orphaned_episodes, calibration_staleness, near_duplicate"
  3. Addedv2.4.10

TDQS

A4.6/5.0
Behavior5/5

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

The description goes well beyond the readOnlyHint=false annotation by disclosing exactly which checks are repaired by fix=true, which are report-only, and that fix is accepted but ignored for those. It also surfaces the default dry-run preview behavior and the judgment call nature of the analysis.

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?

The description is dense but every sentence carries a distinct responsibility: scope, issue taxonomy, fix behavior, routing, and check selection. The core capability is front-loaded and there is no filler.

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

Completeness4/5

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

For a tool of this complexity, it covers the input contract, per-check fix behavior, and downstream actions, which is strong. It does not describe the shape or content of the report returned (and there is no output schema), so an agent must assume the issue categories are the output vocabulary.

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 the baseline is 3; the description adds value by grouping checks into fixable vs report-only and by explaining that fix is not a global repair switch. It confirms how checks selects specific checks, though it does not add detail beyond the schema for session_key or agent_id.

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?

States a specific verb ('Deep heuristic analysis') and a well-scoped resource (memory data quality), then enumerates the six concrete issue categories it detects. This clearly distinguishes it from sibling health/update tools even without reading their schemas.

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

Usage Guidelines4/5

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

It gives actionable guidance on how to use the fix flag and which checks to select, and routes report-only outcomes to the correct follow-up tools (merge_memories, delete_memory, calibrate_threshold, update_profile). It does not explicitly contrast deep_check with check_health or other diagnostic siblings, so an explicit when/not-when boundary is missing.

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

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