Skip to main content
Glama

status

Diagnose your RAG configuration and index health. Get version, roots, model, chunk counts, schema scheme, OCR engine details, and precise error hints when config or index is invalid.

Instructions

Report configuration and index status. Works even when configuration is invalid.

Always includes version. When configuration is valid, also includes roots, dbPath, model, hybridWeight, and chunkCount/sourceCount (both present on every call, 0 before anything is indexed) — or, if opening the index itself fails, indexError instead of the counts. When configuration is invalid, includes configError instead, and every other tool raises an error referencing it until the configuration is fixed.

chunkScheme is the chunking scheme the index is being written with. staleChunkCount counts chunks still stored under an older scheme — when it is above zero, schemeWarning explains that those chunks need a re-sync to be rebuilt.

ocr names the OCR engine this install can use, or is "unavailable" when the optional extra is missing — scanned PDFs and images cannot be indexed then, and ocrHint says what to install.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description fully discloses behavior: it always includes version, conditionally includes roots/dbPath/model/hybridWeight/counts or indexError/configError, explains chunkScheme, staleChunkCount, schemeWarning, ocr engine status, and ocrHint. This goes well beyond a simple status report and covers expected edge cases.

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 front-loaded with a one-sentence summary, then organized into logical paragraphs for valid/invalid configuration, chunk scheme, and OCR. Each sentence adds unique value—no filler or repetition—making it appropriately sized for the information conveyed.

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?

The description covers all major behaviors and edge cases: invalid configuration, index open failure, chunk scheme staleness, and missing OCR extras. Since an output schema exists, it doesn't need to detail return values, but it still explains the meaning of key fields, making it complete for a status tool in a complex setup.

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 has zero parameters, and the input schema is an empty object. The description adds no parameter-specific semantics because none are needed. Baseline for 0 params is 4, which fits here.

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 clearly states the tool reports configuration and index status, with a specific verb and resource. It also distinguishes itself implicitly by noting it works even when configuration is invalid, which sets it apart from other tools, though it does not explicitly name alternatives like sync_status.

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 description provides clear context for when to use this tool: it works even when configuration is invalid, and it notes that every other tool raises an error referencing configError until fixed, implying this is the diagnostic tool. However, it does not explicitly say 'use this instead of X' or list alternative tools by name.

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/sfrangulov/minirag-mcp'

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