Skip to main content
Glama

nreki_navigate

Find the code a task needs in one call: search symbols, definitions, references, outlines, imports, and type usage to reduce token use during code navigation.

Instructions

Find code. context: query = the task; returns the code it names (symbols verbatim, other mentions, importers) in one call. fast_grep: exact text -> file:line [symbol]. search: concept search. definition/references: by symbol. outline: symbols of path. type_shape: resolved TS type. prepare_refactor: occurrences to rename. map: repo overview (large). orphan_oracle: unreachable files. type_graph: code using type_name. Also: token_budget (context), depth, kind.

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": {
      "action": "<action>"
    },
    "name": "nreki_navigate"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNo
limitNo
queryNo
actionYes
symbolNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv12.1.2

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden, and it only partly does: it hints at read-only analysis ("occurrences to rename" for prepare_refactor) and at cost for map, but never confirms that nothing is mutated, whether prepare_refactor writes changes, or what permissions are needed. Return shape is described only for context (symbols, mentions, importers), not for the other ten actions.

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?

Extremely compact and front-loaded: the overall purpose leads, then action glosses. The telegraphic "action: gloss" style and the dangling "Also: ..." list compress past the point of easy parsing, but virtually every clause carries information.

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 an eleven-action tool with no annotations and no output schema, the description covers action selection well but leaves per-action return values (beyond context) and any mutation/safety story undocumented. An agent could pick the right action but would not know what each returns.

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 coverage is 0%, so the description is the only source of parameter meaning; it binds query to context, path to outline, and symbol to definition/references, which is genuinely useful. However, `limit` is never mentioned, and the trailing "Also: token_budget, depth, kind" names parameters that do not appear in the schema properties, which adds ambiguity rather than clarity.

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?

Opens with a specific verb+resource ("Find code") and then disambiguates all eleven action values with a one-line semantic each (fast_grep = exact text, search = concept, outline = symbols of path). An agent can select an action without opening the schema. It does not differentiate the tool from siblings nreki_code or nreki_guard, which keeps it below a 5.

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?

The per-action glosses effectively map user intent to the right action ("definition/references: by symbol", "type_graph: code using type_name"), and "context: query = the task ... in one call" implies context is the default entry point. It flags one cost caveat ("map: repo overview (large)") but never states explicit exclusions or fallbacks for ambiguous cases like search vs. fast_grep.

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

Deploy Server

Other Tools