Skip to main content
Glama
semantic-search

semantic-search

by kengo006

semantic_search_info

Reports semantic search index status and degradation warnings, including backend, model, counts, and build time, so you can verify recall reliability before treating a miss as evidence.

Instructions

Report current index state: backend, model, chunk count, file count, build time, and the degradation registry's self-report - every category by name, with its count and one line of instruction.

⚠ Read the degradation block before treating any miss as evidence, and read it per category: under unreliable_recall a zero hit count proves nothing; under unreliable_order it still counts. status "unknown" means the registry could not be read - which is not the same as "no degraded files", and must not be rounded down to zero.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does substantial work: it discloses that the tool returns a degradation self-report, that a zero hit count is meaningless under 'unreliable_recall' but valid under 'unreliable_order', and that status 'unknown' is distinct from 'no degraded files'. It does not state that the call is side-effect free or its cost, but the read-only nature is clear from 'Report current index state'.

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?

Front-loaded with the concrete field list, then a clearly marked warning block, so an agent gets the shape of the response immediately. It is longer than a minimal definition and repeats the per-category reading instruction twice ('read it per category' and the two conditional examples), but each element adds real signal rather than filler.

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?

With no output schema and no annotations, the description is the only source of truth about what comes back, and it supplies both the field inventory and the interpretive rules for the two most error-prone values ('unknown' status and category-scoped zero counts). Nothing an agent needs in order to call this and read the result correctly is missing.

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 for the description to disambiguate; the baseline of 4 applies. The description uses its space on semantics of the returned values rather than on parameters, which is the right allocation here.

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?

States a specific verb and resource ('Report current index state') and then enumerates exactly what is reported: backend, model, chunk count, file count, build time, and the degradation registry. That field list makes it unmistakably a diagnostics/introspection tool rather than a search, so an agent can separate it from semantic_search and semantic_search_deep by name alone.

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?

The description gives strong guidance on how to consume the result ('read the degradation block before treating any *miss* as evidence'), but it never says when to call this tool versus its siblings — e.g. 'call this first to confirm the index is healthy before searching'. Usage is therefore implied rather than explicitly routed.

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