Skip to main content
Glama
claude-continuity-mcp

claude-continuity-mcp

router_project_search

Idempotent

Find where code or prior work is handled by searching across a project or all indexed projects and returning ranked files with exact snippets.

Instructions

Busca en TODO el proyecto y devuelve los archivos más relevantes con los fragmentos EXACTOS de cada uno. Para "¿dónde se maneja X?" cuando no sabés en qué archivo está — smart_read es por-archivo, esto es cross-archivo.

Índice incremental: la primera llamada indexa; las siguientes solo re-indexan los archivos cuyo hash cambió (los sin cambios cuestan ~0), y el índice persiste cross-sesión y cross-cliente.

Ventaja sobre grep: ranking por relevancia (no coincidencia literal), y entiende snake_case/camelCase. Determinista, 100% local.

scope=all: busca en la memoria (checkpoints, reglas de cada proyecto, órdenes cerradas del inbox) y en el código de TODOS los proyectos ya indexados, con el proyecto de origen en cada resultado.

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": {
      "params": "<params>"
    },
    "name": "router_project_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the first call builds an index, later calls only re-index files whose hash changed, and the index persists across sessions and clients — which explains why readOnlyHint is false for something called "búsqueda". It also discloses the ranking model (relevance, not literal match), snake_case/camelCase awareness, determinism, and locality.

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?

Purpose is front-loaded in the first sentence and each paragraph covers a distinct concern (routing, indexing, grep comparison, scope). Slightly dense with parenthetical asides such as "los sin cambios cuestan ~0", but nothing is wasted.

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 a persistent index side effect, rich annotations, and an output schema, the description covers the routing decision, the indexing cost model, determinism, and the cross-project scope. The remaining details (top_k defaults, fragment counts, return shape) are handled by schema and output schema.

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?

The description explains the query intent and, importantly, what scope=all actually covers (memoria: checkpoints, reglas por proyecto, órdenes cerradas del inbox, plus all indexed projects) and that results carry the originating project. It implies the reindex-on-first-call semantics but leaves top_k and fragments_per_file to the schema.

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?

States a specific verb and resource ("Busca en TODO el proyecto y devuelve los archivos más relevantes con los fragmentos EXACTOS") and explicitly distinguishes itself from siblings: smart_read is per-file, this is cross-file. An agent can route to it without opening any schema.

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?

Gives a concrete trigger ("¿dónde se maneja X?" cuando no sabés en qué archivo está) and names the alternative (smart_read = por-archivo), plus scope=all for the cross-project case. It lacks an explicit "do not use when" clause, which keeps it at 4 rather than 5.

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