Skip to main content
Glama
mcp-developer-context-server

mcp-developer-context-server

Project structure

project-structure

Returns a directory tree or key files list up to a chosen depth so models and MCP clients can inspect repository layout and locate relevant code.

Instructions

Return directory tree or key files list

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-structure"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description bears the full burden and does very little with it. It does not state that the operation is read-only, whether it traverses from the workspace root, whether ignored/vendored directories are excluded, or whether output is truncated for large repositories.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The sentence is short and front-loaded, which is good, but its brevity comes from under-specification rather than economy. The ambiguous "or" is the one piece of structure present and it adds uncertainty rather than resolving it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and an undocumented parameter, the description should carry nearly all the context. It leaves the return shape, traversal scope, and the meaning of `depth` unaddressed, which is inadequate for even a simple tree-listing tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single parameter `depth`, and the description never mentions it. It is unclear whether depth is a recursion level, a byte limit, or optional with a default, so the description fails to compensate for the schema gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a verb ("Return") and a resource ("directory tree or key files list"), so the general purpose is inferable. However, the disjunction "or" leaves it unclear what actually gets returned and under what condition each mode applies, so an agent cannot predict the output shape from the description alone.

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?

There is no guidance on when to use this tool versus siblings such as search-codebase or fetch-api-spec, and no stated preconditions. The reader must guess that this is a broad structural overview rather than a targeted lookup.

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