Skip to main content
Glama
codedev-mcp

codedev-mcp

by Kranthithota

codebase_map

Read-onlyIdempotent

Generate a comprehensive overview of an entire codebase—languages, frameworks, directory structure, file counts, tests, CI, and Docker—to understand project organization and infrastructure.

Instructions

Generate a comprehensive overview of the entire codebase: languages, frameworks, directory structure, file counts, infrastructure (tests, CI, Docker). Essential first step for understanding any project.

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": "codebase_map"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
treeYes
rootsNo
summaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.5

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and openWorldHint=false, so the safety profile is covered. The description adds genuine value by disclosing the breadth and composition of the scan (languages, frameworks, structure, counts, tests/CI/Docker). It does not mention cost or runtime on very large repositories, which is the main remaining behavioral unknown for a whole-repo aggregation.

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?

A single sentence, front-loaded with the verb and scope, followed by a compact colon-delimited list of what is covered. Nothing is redundant, though the list is dense enough that it reads more like an inventory than a prioritized summary.

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?

With zero parameters, a declared output schema, and annotations covering safety and idempotency, the description only needs to convey scope and purpose, which it does. The one gap is orientation relative to sibling analysis tools, which an agent selecting among 30+ options would benefit from.

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 tool takes no parameters, so there is no parameter semantics to explain; the baseline of 4 applies. The description correctly implies the scan is unscoped and covers the whole repository, which is consistent with the empty 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?

The description pairs a specific verb ('Generate') with a specific resource ('comprehensive overview of the entire codebase') and enumerates the contents: languages, frameworks, directory structure, file counts, infrastructure. That is well beyond a restatement of the name. It stops short of distinguishing itself from adjacent tools such as file_tree, code_metrics, or architecture_check, which cover overlapping slices of the same repo.

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?

'Essential first step for understanding any project' gives an implied usage context: onboarding/orientation before deeper analysis. There are no explicit exclusions or named alternatives, so an agent must infer for itself whether to call this or file_tree/code_metrics first.

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