Skip to main content
Glama

memory_index_check

Read-onlyIdempotent

Audit the always-loaded memory index without writing or repairing: report active document count, orphan documents without routes, dangling entries, and coverage-receipt errors.

Instructions

Audit the always-loaded INDEX without writing anything.

Reports the active document count, every active document with no route (orphan_documents), every route whose document no longer reads (dangling_entries) and any coverage-receipt error (errors). ok is false when any of those is present. Nothing is ever repaired or removed.

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_index_check"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered; the description still adds meaningful value by promising nothing is repaired or removed and by enumerating the exact categories it surfaces (orphan_documents, dangling_entries, errors). The 'ok is false when any of those is present' rule is a genuine behavioral detail an agent can branch on.

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?

Front-loaded with the one-line purpose before the field breakdown, and each subsequent sentence adds information. The enumeration of reported fields partially overlaps with the existing output schema, which is the only mild redundancy.

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

Completeness5/5

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

For a zero-parameter, fully annotated, read-only audit tool with an output schema, this covers what the agent needs: what it inspects, what it reports, the meaning of ok, and the guarantee that nothing is mutated. No gaps remain that would cause a misinvocation.

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?

The tool takes zero parameters, so there is no parameter meaning for the description to add and the baseline of 4 applies. Nothing in the text conflicts with the empty object schema.

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?

Opens with a specific verb and resource: 'Audit the always-loaded INDEX without writing anything.' The read-only framing and the named target (INDEX) separate it cleanly from siblings like memory_index_register, memory_index_split, and memory_index_read, which imply mutation or content retrieval rather than diagnosis.

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?

The phrase 'without writing anything' and 'Nothing is ever repaired or removed' make clear this is the diagnostic choice rather than a repair path, which is real usage context. It stops short of naming the alternative to call when the agent actually wants to fix an orphan or dangling entry, so the routing guidance is implied rather than explicit.

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