Skip to main content
Glama

Get Vector Index Stats

get_vector_index_stats
Read-onlyIdempotent

Retrieve statistics for the semantic search vector index to monitor index health and search readiness.

Instructions

Get statistics about the semantic search vector index

Input Schema

NameRequiredDescriptionDefault
use_test_dbNo

Output Schema

NameRequiredDescriptionDefault
codeNoError code (e.g. VALIDATION_ERROR, INTERNAL_ERROR)
errorNoHuman-readable error message
detailsNoAdditional error context
successNo
categoryNoError category (validation, query, connection, internal)
availableYes
itemCountNo
modelNameNo
dimensionsNo
suggestionNoSuggested fix for the error
recoverableNoWhether the error is recoverable
aggregated_errorsNoDetails of individual errors in a multi-step operation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv9.0.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is fully covered elsewhere. The description adds nothing beyond that—it does not say what statistics are returned, whether the call is cheap, or that the optional use_test_db flag switches the underlying database being inspected, which is a meaningful behavioral trait left undisclosed.

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?

A single front-loaded sentence with zero filler. It is efficient, though the brevity comes at the cost of the missing details noted above rather than because everything necessary was said.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained. However, for a tool with a database-selecting parameter and a team-scoped twin, the definition omits the parameter's effect and the sibling distinction, leaving real gaps for an agent choosing between index-stats variants.

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

Parameters2/5

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

Schema description coverage is 0% for the single optional parameter use_test_db, and the description never mentions it. Its name hints at intent, but nothing states what the test database is or when to set it, so the description does not compensate for the coverage gap.

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: get statistics about the semantic search vector index. An agent can distinguish it from write-side siblings like rebuild_vector_index and add_to_vector_index, though the near-duplicate sibling team_get_vector_index_stats is not mentioned, leaving the scope (personal vs team) ambiguous.

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

Usage Guidelines2/5

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

No guidance on when to call this versus alternatives such as get_statistics or team_get_vector_index_stats, and no preconditions or exclusions are given. The agent must infer usage purely from the name.

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

Deploy Server

Other Tools