Skip to main content
Glama

Add Team Entry to Vector Index

team_add_to_vector_index
Idempotent

Add a specific team entry to the semantic search vector index so project memory can be retrieved by meaning. Requires TEAM_DB_PATH to target the team database.

Instructions

Add a specific team entry to the semantic search vector index. Requires TEAM_DB_PATH.

Input Schema

NameRequiredDescriptionDefault
entry_idNo
use_test_dbNo
workspace_idNoOptional workspace isolation identifier (e.g. "alpha"). Do not use numeric project IDs or "workspace" as the key.
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

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=false and idempotentHint=true, so the safety and repeatability profile is covered. The description contributes one genuinely new operational fact — it 'Requires TEAM_DB_PATH' — which is useful environment context. It does not state what happens when the entry is missing or already indexed, so it adds only modest value beyond annotations.

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?

Two short sentences with no filler, and the core action is front-loaded ahead of the prerequisite. Efficiency is fine, though the second sentence is a bare fragment rather than integrated context.

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?

An output schema exists so return values need no explanation, but for a 4-parameter indexing mutation the description omits prerequisites for the referenced entry, effects on a stale/dirty index, and the meaning of the undocumented parameters. An agent cannot confidently call this correctly from the description alone.

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?

Four parameters with zero required and only 25% schema description coverage; only workspace_id carries a schema description. The description says nothing about entry_id, use_test_db (a materially risky test-database toggle), or project_number, so it fails to compensate for the coverage gap. Its only parameter-adjacent contribution is the TEAM_DB_PATH note, which isn't a parameter.

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 has a specific verb ('Add') and resource ('a specific team entry to the semantic search vector index'), so an agent immediately knows what it does. The team scope is conveyed in the tool name, but the description never explicitly contrasts itself with the non-team add_to_vector_index or team_rebuild_vector_index.

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?

'Add a specific team entry to the vector index' implies the post-write indexing scenario, but there is no explicit when-to-use or when-not-to-use statement. Nothing tells the agent whether to prefer this over rebuild_vector_index for bulk work or over add_to_vector_index for non-team databases.

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