Skip to main content
Glama

Memoreal — Deterministic AI Memory & Code Intelligence MCP

Navigate Codebase Hierarchy

navigate
Read-onlyIdempotent

Inspect directory children, parent directories, and symbol definitions at a specific path. Use when exploring directory structure and discovering symbols within a folder before deep reads.

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": {
      "namespace": "<namespace>"
    },
    "name": "navigate"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoDirectory or file path to inspect (defaults to root).
actionNoNavigation action.peek
namespaceYesLogical workspace namespace.

Output Schema

NameRequiredDescriptionDefault
pathYes
parentNo
symbolsYes
childrenYes
namespaceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world scope, so the safety profile is fully covered without the description. The description adds only the exploratory intent and no information about what the four navigation actions actually do or how much data each returns.

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?

Two tight sentences with the capability statement front-loaded and the usage hint second; no filler or redundancy. It could be marginally improved by spending one clause on action disambiguation rather than restating intent.

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?

An output schema exists, so return values need not be explained, and the annotations cover safety. The remaining gap is the four-value action enum, whose only documentation is 'Navigation action.' — an agent cannot confidently choose zoom_in versus peek versus list from this definition.

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%, so the schema already documents path, action and namespace, making 3 the baseline. The description gestures at the action space ('children, parent directories, symbol definitions') but never maps those behaviors onto zoom_in, zoom_out, peek, or list, so it adds no real semantics beyond the schema.

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 ('Inspect') and concrete resources ('directory children, parent directories, and symbol definitions') at a given path, which is more specific than the title alone. It does not explicitly distinguish itself from siblings like get_hierarchy or find_file, so an agent must infer that boundary.

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?

Provides a use context ('exploring directory structure and discovering symbols within a folder before deep reads'), which implies sequencing ahead of heavier read tools. However, it names no alternatives and gives no exclusion conditions, so the agent is left to guess when get_hierarchy or find_file would be better.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.