Skip to main content
Glama

locus_doctor

Run a health check on the Locus store to verify corpus integrity, knowledge graph population, bulletin fill levels, entity resolver status, store size, and version.

Instructions

Run a health check on the Locus store. Checks corpus integrity, KG population, bulletin fill levels, entity resolver, store size, and version.

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

Input Schema

NameRequiredDescriptionDefault
store_pathNo.locus

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

C2.7/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 never states that the check is read-only and non-destructive, whether it can be slow on large stores, or what shape of result is returned. Only "checks" implies inspection, and that is inference rather than disclosure.

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?

Two compact sentences with the action front-loaded and the checklist following. Nothing is redundant, though the enumerated list is the only substantive content.

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?

For a diagnostic tool with no annotations, no output schema, and an undocumented parameter, the description should cover safety, expected runtime, and result interpretation. None of these appear, leaving the agent unable to judge cost or how to read the outcome.

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?

The schema has one parameter (store_path, default ".locus") with 0% description coverage, and the description does not mention it at all. It neither explains that the path selects which store is examined nor clarifies what happens when the default is used, so the coverage gap is not compensated.

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 gives a specific verb and resource ("Run a health check on the Locus store") and then enumerates the six subsystems checked (corpus integrity, KG population, bulletin fill levels, entity resolver, store size, version). That is far more concrete than the bare name. It stops short of distinguishing itself from adjacent diagnostics such as locus_kg_stats, locus_cache_stats, or locus_inspect.

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 check — e.g. after ingest, before export, or when retrieval results look wrong — and no mention of alternatives for narrower diagnostics. An agent must infer the trigger condition entirely from the name.

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