Skip to main content
Glama
codedev-mcp

codedev-mcp

by Kranthithota

file_tree

Read-onlyIdempotent

List project files and directories with sizes, modification times, and type icons while automatically excluding node_modules, .git, and build artifacts.

Instructions

List files and directories with sizes, modification times, and type icons. Automatically excludes node_modules, .git, build artifacts.

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

Input Schema

NameRequiredDescriptionDefault
globNoFile pattern filter, e.g. "*.ts", "*.py"
typeNoShow only files, only directories, or all
directoryNoDirectory to list (default: project root)
max_depthNoMaximum directory depth (default: 3)
show_detailsNoShow sizes and dates (default: true)

Output Schema

NameRequiredDescriptionDefault
treeYes
filesNo
fileCountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.5

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, closed-world), and the description adds genuine behavioral context beyond them: certain directories (node_modules, .git, build artifacts) are silently excluded from results. That is exactly the kind of surprise an agent needs warned about. It stops short of saying whether those exclusions are configurable or whether output is capped, which keeps it from a 5.

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 front-loaded and the exclusion caveat second, so nothing is buried. The phrase 'type icons' is slightly decorative and not backed by any parameter or output documentation, which is minor waste.

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 an output schema present, the description need not explain return values, and all five optional parameters are fully documented in the schema. The description supplies the one thing the schema cannot: the implicit filtering behavior. The only real gap is the absence of routing guidance among a large set of related inspection siblings.

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 all five parameters are already documented in the schema and the baseline is 3. The description adds little parameter meaning beyond what is there, though 'type icons' hints at the effect of show_details and 'sizes, modification times' reinforces its default behavior.

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 (list) and resource (files and directories) plus the data returned (sizes, modification times, type icons). The scope is narrow enough that an agent can distinguish it from analysis-focused siblings like find_large_files or codebase_map.

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: the auto-exclusion note hints at a 'quick overview of a project tree' use case, but there is no explicit when-to-use or when-to-prefer-a-sibling guidance. No exclusions or prerequisites are stated, leaving the agent to infer that this is a browsing tool rather than an analysis tool.

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