Skip to main content
Glama

neurocode_map

Generate a Mermaid.js flowchart of module relationships and call edges across a repository to visualize high-level architecture without using model tokens.

Instructions

Generate a zero-token high-level architecture diagram (Mermaid.js flowchart) showing module relationships and call edges across the codebase.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "neurocode_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
repo_pathNoPath to repository root (default '.').

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does usefully disclose the output medium (Mermaid.js flowchart), the abstraction level (modules and call edges), and the 'zero-token' property implying static analysis rather than LLM inference. It does not say whether the diagram is returned as text or written to a file, whether large repos are truncated, or what happens on an invalid repo_path.

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?

One sentence, front-loaded with the verb and the artifact, with parenthetical format clarification. Nothing is wasted. The only mild cost is the unglossed jargon 'zero-token', which an agent may misread without explanation.

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 simple one-parameter, zero-required-argument tool this covers the essentials of what the output looks like. But with no output schema and no annotations, the description should have closed the gap on delivery mechanism (returned string vs. written file) and scale behavior for very large repositories.

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?

The single parameter repo_path is fully documented in the schema (path plus default '.'), which sets the baseline at 3. The description adds nothing about it — no mention of what path is expected, whether it must exist, or how it affects the generated diagram.

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?

The description names a specific verb ('Generate'), a specific artifact ('high-level architecture diagram'), its concrete serialization ('Mermaid.js flowchart'), and its content scope ('module relationships and call edges across the codebase'). That is enough for an agent to distinguish it from granular siblings like neurocode_symbol or neurocode_trace, though it never explicitly names those alternatives.

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?

Usage is only implied: 'high-level' and 'across the codebase' signal an overview/orientation task rather than a per-symbol lookup. There is no explicit when-to-use, when-not-to-use, or pointer to a sibling tool for callers who need line-level detail instead of an architecture map.

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