Skip to main content
Glama

aidex_session

Initialize or verify an AiDex session to detect externally modified files, automatically reindex changes, and retrieve previous session information for continuity.

Instructions

Start or check an AiDex session. Call this at the beginning of a new chat session to: (1) detect files changed externally since last session, (2) auto-reindex modified files, (3) get session note and last session times. Returns info for "What did we do last session?" queries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to project with .aidex directory
Behavior4/5

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

With no annotations provided, the description carries full burden and discloses key behaviors: it performs file change detection, auto-reindexing, and returns session history info. However, it doesn't mention potential side effects like performance impact during reindexing or error handling for invalid paths.

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 front-loaded with the core purpose, followed by bullet-like functions and a clear use case. Every sentence adds value: the first states what it does, the second lists specific actions, and the third explains when to use it. No wasted words.

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 tool with no annotations, no output schema, and one parameter, the description is mostly complete: it explains purpose, usage, and behaviors. However, it lacks details on return format (though hinted at with 'info') and doesn't cover edge cases like missing .aidex directories.

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?

Schema description coverage is 100% with one parameter documented as 'Path to project with .aidex directory'. The description doesn't add parameter details beyond the schema, but with high coverage and only one parameter, the baseline is 3. It earns a 4 by implicitly contextualizing the path parameter through the tool's purpose of session management.

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?

The description clearly states the verb 'Start or check' with the resource 'AiDex session' and lists three specific functions: detecting externally changed files, auto-reindexing modified files, and retrieving session metadata. It distinguishes from siblings by focusing on session initialization and history queries rather than file operations, indexing, or project management.

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

Usage Guidelines5/5

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

It explicitly states when to use this tool: 'at the beginning of a new chat session' and for queries about 'What did we do last session?'. This provides clear context for usage versus alternatives like aidex_status for general status or aidex_query for specific searches.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CSCSoftware/AiDex'

If you have feedback or need assistance with the MCP directory API, please join our Discord server