Skip to main content
Glama

Index Project

index_project

Indexes a repository at the given path for semantic and keyword code search. Deprecated alias for index_repo.

Instructions

Deprecated alias for index_repo.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "index_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
pathYes
forceNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and discloses almost nothing: it doesn't say whether indexing mutates state, writes an index to disk, is expensive or long-running, or what permissions are required. The only behavioral fact offered is the deprecation status, which is useful but thin for a tool with three parameters and no safety hints.

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, which is appropriate for a deprecated alias. Brevity is the right call here, though the sentence is so short that it leaves the tool under-explained rather than efficiently explained.

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 needn't be described, but for a tool with three parameters at 0% schema coverage and no annotations, the definition is not complete enough to invoke confidently. The deprecation notice is the one essential fact delivered; nothing about the required path or the force flag is covered.

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

Parameters1/5

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

Schema description coverage is 0% and the description says nothing about path, name, or force, so semantics like what force re-indexes or what happens when name is null are entirely undocumented. The one sentence is spent on deprecation and adds no parameter meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the tool only as a "Deprecated alias for index_repo," so the actual function (indexing a project/repo) must be inferred from the name and title rather than stated as a verb+resource. It does succeed in distinguishing the tool from its sibling by naming index_repo as the canonical version.

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

Usage Guidelines4/5

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

Calling it a "deprecated alias" is a clear steer away from this tool and toward index_repo, which functions as strong when-not-to-use guidance. It gives no explicit when-to-use condition (e.g., legacy clients) and does not state whether the alias behaves identically.

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