Skip to main content
Glama
plur-ai
by plur-ai

plur_doctor

Diagnose PLUR engine health: verify embedding model load, hybrid search operation, and remote-store auth validity. Run first when recall degrades or team engrams fail to sync.

Instructions

Diagnose the PLUR ENGINE (embedder, hybrid search, remote-store auth) — not hook/MCP wiring. Reports whether the embedding model loaded, whether hybrid search is fully operational, and — for any configured enterprise/remote store — whether its auth is valid (probes /api/v1/me and decodes token expiry), so a dead or soon-to-expire token surfaces instead of hiding behind a "healthy" report. Run this first when recall feels off or team engrams stop syncing. Does NOT check .cursor/mcp.json, .cursor/hooks.json, or the live MCP tool count — for that, run the plur doctor CLI command in a terminal (a different, more thorough check with the same name).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
retryNoIf true, reset cached embedder failure state and retry the model load before reporting
rerank_evalNoIf true and a reranker is configured (PLUR_RERANKER), run the per-store self-eval gate (#451): probes synthesized from this store's own engrams compare rerank-on vs RRF-only ordering. Verdict is cached in the store and advisory — it never auto-disables reranking. Costs one cross-encoder pass per probe (~20 probes).
Behavior5/5

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

The annotations only state readOnlyHint=false and idempotentHint=false, but the description discloses side effects and behavior: it resets cached failure state with retry, probes /api/v1/me and decodes token expiry, performs a cross-encoder pass for rerank_eval, and caches verdicts. It also clarifies what the tool does NOT do, avoiding misleading 'healthy' reports. This goes far beyond the annotations.

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 long but every sentence carries valuable information: scope, checks, exclusions, alternatives, and behavioral caveats. It is front-loaded with the core purpose and structured with specific, non-redundant statements.

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?

Given the tool's complexity (diagnostic, with two optional parameters, no output schema), the description explains what the tool reports, what it probes, what side effects occur, and what it intentionally omits. It is complete enough for an agent to select and invoke it correctly without additional context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so per the rubric the baseline is 3. The description does not add parameter-level detail beyond the schema; the schema itself already explains both 'retry' and 'rerank_eval' thoroughly, including cost implications. The description reinforces usage context but does not elevate semantic meaning.

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 starts with 'Diagnose the PLUR ENGINE' and explicitly names the components checked (embedder, hybrid search, remote-store auth), which is a specific verb+resource. It also differentiates from hook/MCP wiring and the CLI 'plur doctor', making the tool's scope unmistakable.

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?

It gives a clear when-to-use instruction: 'Run this first when recall feels off or team engrams stop syncing.' It also explicitly states what it does NOT check (e.g., .cursor/mcp.json, .cursor/hooks.json, MCP tool count) and directs users to the CLI command for those checks, naming an alternative.

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/plur-ai/plur'

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