Skip to main content
Glama

status

Reports configuration and index status, including version, index counts, and configuration errors, even when the configuration 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.

ftsLanguage is the stemmer keyword search uses (RAG_FTS_LANGUAGE). ftsWarning, present only when the keyword index could not be rebuilt after that setting changed, names the stemmer it still uses.

unsignedSourceCount, present when above zero, counts indexed documents without the signature that finds their look-alikes, so no result names theirs; lookAlikesWarning says a sync computes them.

unpagedSourceCount, present when above zero, counts PDFs indexed before page numbers were stored, whose results carry no pages; pagesWarning says the next sync reads them again.

ignoreFiles, present when a root has a .miniragignore: each file with its number of rules, or the error that stops scanning under its root.

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.

labels, present only when the corpus has a classify.toml: its facets, value descriptions and document counts, unlabelled and uncertain counts, and the model state, with modelHint saying why when it is "unavailable" — or the file's error.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does well on behavior: discloses that it succeeds under invalid configuration, that other tools fail until fixed, and enumerates conditional fields (indexError, configError, schemeWarning, etc.). However, most of the text is field-by-field return documentation, which the output schema already provides, so the value added beyond structured data is thinner than the length suggests.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and the critical conditional behavior are front-loaded, which is good, but roughly ten subsequent paragraphs enumerate return fields (chunkScheme, ftsLanguage, unsignedSourceCount, ocr, labels…) that an output schema already defines. For a zero-argument diagnostic, this is significantly longer than the selection decision requires.

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 no-parameter status tool with an output schema, nothing needed to call it correctly is missing, and the failure-mode context (config invalid, index open failure) is well covered. It over-delivers on return-value detail rather than under-delivering, so completeness is not a problem.

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 nothing to disambiguate; baseline 4 applies. The description correctly avoids inventing parameter guidance that does not exist.

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?

Opens with a specific verb+resource pair ("Report configuration and index status") and immediately states a distinguishing property: it works even when configuration is invalid, whereas "every other tool raises an error referencing it." The differentiation from siblings is present but indirect rather than naming a specific alternative.

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?

Clearly establishes the diagnostic context: use this when other tools fail, since they raise errors pointing at configError until configuration is fixed. It does not spell out exclusions against specific siblings like sync_status, but the when-to-use condition is unambiguous.

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