Skip to main content
Glama

index_multi_repo

Index multiple folders into one workspace and auto-resolve cross-repo imports to enable cross-repo search, blast radius, and dependency analysis.

Instructions

Indexes multiple folders and groups them into a workspace. Resolves cross-repo imports automatically. Enables cross-repo search, blast radius, and dependency analysis.

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": {
      "workspace": "<workspace>",
      "paths": "<paths>"
    },
    "name": "index_multi_repo"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYesList of absolute folder paths to index
workspaceYesWorkspace name
descriptionNoWorkspace description

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.2

TDQS

B3.4/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 behavioral burden; it does add one valuable trait, that cross-repo imports are resolved automatically, which an agent could not infer from the schema. It omits other important behavior for a mutation-style tool: whether re-indexing replaces or appends to an existing index, whether the workspace must be new, and whether the operation is long-running or costly.

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?

Three short sentences, all front-loaded: what it does, then a behavioral detail, then the payoff. The final value-proposition clause is somewhat compressed ('blast radius' is unexplained) but earns its place as selection rationale.

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

Completeness3/5

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

For a three-parameter indexed-write tool with no annotations and no output schema, the description covers the what and the benefit but leaves the operational contract thin: no return information (workspace identifier, indexing status), no idempotency or conflict behavior, and no cost expectations.

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%, with all three parameters documented including 'absolute folder paths' and workspace name/description, so the schema already does the work and the baseline of 3 applies. The description adds no formatting guidance beyond the schema, such as path count limits or whether description is optional.

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?

States a concrete verb and resource ('Indexes multiple folders and groups them into a workspace'), which makes the multi-folder scope explicit and distinguishes it in spirit from single-project indexing siblings. It stops short of naming the sibling to prefer when indexing only one project, so the differentiation is implied rather than stated.

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 phrase 'multiple folders' implies when this applies, and the closing clause names downstream capabilities (cross-repo search, blast radius, dependency analysis) that motivate using it. However, there is no explicit when-not guidance, no mention of how it relates to index_project, add_repo_to_workspace, or delete_repo_index, and no stated prerequisites.

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