Skip to main content
Glama

Add Entry to Vector Index

add_to_vector_index
Idempotent

Add a specific entry to the semantic search vector index

Instructions

Add a specific entry to the semantic search vector index

Input Schema

NameRequiredDescriptionDefault
entry_idNo
project_numberNo

Output Schema

NameRequiredDescriptionDefault
codeNoError code (e.g. VALIDATION_ERROR, INTERNAL_ERROR)
errorNoHuman-readable error message
detailsNoAdditional error context
entryIdNo
successNo
categoryNoError category (validation, query, connection, internal)
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=false, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds no behavioral context beyond the name and title—it doesn't say whether the operation fails if the entry is already indexed, what permissions are needed, or how it handles concurrency. With annotations present, the description adds almost no value beyond structured fields.

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 a single, front-loaded sentence with no filler. It is appropriately sized for a simple tool and every word earns its place.

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

Completeness2/5

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

For a write tool with two undocumented parameters and no parameter descriptions in the schema, the description is not complete enough. It lacks usage guidance and parameter semantics, which are critical for correct invocation. The presence of an output schema and annotations mitigates some complexity but does not fill the gaps.

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%, so the description must compensate. It only mentions 'a specific entry', vaguely hinting at entry_id, and says nothing about project_number or the optional nature of both parameters. This leaves a significant gap for an agent to infer correct usage.

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 states a specific verb ('Add') and resource ('a specific entry to the semantic search vector index'), making the core action clear. It distinguishes from bulk operations like rebuild_vector_index by specifying 'a specific entry', but it does not explicitly differentiate from the sibling team_add_to_vector_index or name alternatives, so it is not a 5.

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?

There is no guidance on when to use this tool versus alternatives like rebuild_vector_index or team_add_to_vector_index. The description only states what it does, not when it should be chosen, what prerequisites exist, or any exclusions.

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