Skip to main content
Glama
agy-session-search

agy-session-search

by ctx-o1

reindex_sessions

Sync the local Antigravity session search index incrementally, or force a full rebuild, then return index statistics for accurate search results.

Instructions

Incrementally sync (or force rebuild) the local Antigravity session search index and return index statistics.

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

Input Schema

NameRequiredDescriptionDefault
forceNoIf true, clears and rebuilds the entire index from scratch (default: false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does usefully flag that force clears and rebuilds the entire index from scratch, which is the key destructive behavior, and that statistics are returned. However, it says nothing about duration, whether the rebuild blocks, whether it requires authentication or a local Antigravity install, or what happens to concurrent searches during a rebuild – gaps that matter for a mutation tool with zero annotation coverage.

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 no filler; the action, the option, and the return value all appear in order of importance. The parenthetical slightly fragments the flow but earns its place by distinguishing incremental from rebuild.

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?

For a one-parameter local maintenance tool with a fully described schema and no output schema, the definition covers what the tool does, the destructive variant, and that statistics come back. The missing pieces are operational context (cost, blocking, preconditions) rather than anything needed to call it correctly.

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

Parameters3/5

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

Schema description coverage is 100% and the single 'force' parameter is already fully documented, including its default. The description's phrase 'force rebuild' only restates the schema's own wording, adding no syntax or behavioral detail beyond it. Baseline 3 applies when the schema does the heavy lifting.

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 names a specific verb ('Incrementally sync'/'force rebuild') and a specific resource ('the local Antigravity session search index'), plus a return value ('index statistics'). The action is clearly distinct from the read-only siblings (list_sessions, search_sessions, read_artifact, read_session), 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?

The parenthetical '(or force rebuild)' implies the two modes of operation and, by extension, when to prefer one, but the description never states when an agent should call this tool at all versus search_sessions, nor any prerequisites (e.g., index must already exist). Usage is implied rather than explicit.

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