Skip to main content
Glama

project_overview

Generate a directory tree with supported text file contents so AI coding agents get structured project context, with depth limits and a 400,000-character output cap.

Instructions

Directory tree plus the contents of supported text files.

Output is capped at 400,000 characters of file content; when capped, the result says so and lists the omitted files. Set depth to include only files within the first N levels, like tree -L N.

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

Input Schema

NameRequiredDescriptionDefault
pathNoLocal project directory. Defaults to the server's working directory.
depthNo
formatNoOutput format: 'markdown' (default) or 'json' (structured envelope).markdown

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.4.1
    • addedInput schema / properties / depth
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Depth"
      +}
  2. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Because no annotations are provided, the description carries the full burden, and it discloses two non-obvious behaviors: output is capped at 400,000 characters of file content and, when capped, the result explicitly says so and lists the omitted files. It also explains the depth semantics and the output formats. It does not define what makes a text file 'supported', does not say whether hidden or ignored files are included, and does not address error behavior for a bad 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?

Three short sentences, front-loaded with the core behavior, and no filler. The cap disclosure and the depth hint both provide real information. Line breaks inside the quoted string are slightly noisy but cost nothing semantically.

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 the description need not explain return values, and it sensibly spends its words on the cap and depth instead. However, for a tool that walks an entire project and inlines file contents, the vague phrase 'supported text files' leaves a real decision gap: an agent cannot predict which files will be included. It also says nothing about path resolution or failure modes.

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?

Schema coverage is 67%, with path and format already documented in the schema. The description does meaningful extra work for depth, which is undocumented in the schema, by explaining it as a level limit with the 'tree -L N' analogy. It adds nothing to path or format beyond what the schema already supplies, but the depth explanation is the parameter that most needed interpreting.

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 first sentence names a specific deliverable: a directory tree plus the contents of supported text files. That is clearly more than a restatement of the name 'project_overview'. It does not, however, distinguish itself from siblings like project_map, read, or read_many, so an agent must infer that this is the whole-project dump rather than a targeted read.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no when-to-use or when-not-to-use guidance, and it names no alternative. Nothing tells an agent whether to reach for this rather than read_many or project_map. Even within the description, the only actionable instruction is a tuning hint: set depth like 'tree -L N'.

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