Skip to main content
Glama

index_info

Reports index health: freshness, search mode (lexical vs hybrid), kind distribution, unclassified symbol counts, and attribution defects that degrade symbolType and framework filtering.

Instructions

Report index HEALTH (not just metadata): freshness provenance, real search mode (lexical vs hybrid), kind distribution, unclassified-symbol count, and framework/path attribution defects that degrade symbolType and framework filtering

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the specific content of the report (freshness provenance, actual lexical vs hybrid search mode, kind distribution, unclassified-symbol counts, attribution defects). 'Report' implies a non-mutating read. It stops short of stating cost, latency, or whether the computation is expensive on large indexes.

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?

A single front-loaded sentence that leads with the verb and resource, then qualifies scope parenthetically before listing the returned signals. Dense but every clause adds discriminating information; no filler or restatement of the title.

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?

With no output schema, the description usefully enumerates what the report contains, which is the right thing to spend words on. The main residual gap is operational context (cost, whether results are cached or point-in-time), which is minor for a zero-argument read-only diagnostic.

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 to convey and the baseline of 4 applies; the schema is trivially complete.

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?

States a specific verb and resource ('Report index HEALTH') and immediately scopes it against a weaker alternative ('not just metadata'), then enumerates the concrete signals returned. An agent can tell this is a diagnostic/health tool rather than a query tool like search_symbols or semantic_search, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the 'HEALTH (not just metadata)' framing suggests reaching for this when diagnosing index quality, and the listed defect categories hint at troubleshooting filtering problems. There is no explicit when-to-use/when-not statement and no named alternative for related needs such as fetching plain version or documentation info.

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