Skip to main content
Glama

Inspect project

inspect_project

Inspect project structure, manifests, stack, instruction files, and Git status to gather context before planning any non-trivial change.

Instructions

Discover project structure, manifests, stack, instruction files (AGENTS.md/CLAUDE.md/README), and current Git status. Run this before planning any non-trivial change.

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

Input Schema

NameRequiredDescriptionDefault
rootNoProject root directory. Defaults to the MCP client's current working directory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations exist, so the description must carry the behavioral burden. "Discover/inspect" and "current Git status" strongly imply a read-only survey with no mutation, and the enumerated scope tells the agent what surface is touched, but it never states that nothing is modified, nor anything about cost, repository size limits, or whether unreadable files are skipped. It adds useful scope context but leaves the safety profile to inference.

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

Conciseness5/5

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

Two short sentences, zero filler: the inventory of what is collected comes first and the timing instruction second. Every clause earns its place.

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?

For a zero-required-parameter discovery tool with no output schema, the description effectively doubles as a return-value summary by listing the artifacts it finds, which is what an agent needs to decide whether to call it. The only real gap is the undisclosed read-only guarantee, which matters here precisely because no annotations exist.

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?

With one optional parameter at 100% schema description coverage, the schema already explains that root defaults to the client's working directory. The description never mentions root or how scoping to a subdirectory changes the inspection, so it adds no meaning beyond the schema; baseline 3 is appropriate.

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?

"Discover" is a specific verb paired with an enumerated resource list (structure, manifests, stack, instruction files, Git status), so an agent knows exactly what it gets back. It does not explicitly differentiate itself from the sibling get_project_context, so it stops short of a 5.

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

Usage Guidelines4/5

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

"Run this before planning any non-trivial change" gives a clear triggering condition and implicitly bounds trivial edits. There are no explicit exclusions and no named alternative for the get_project_context path, so the guidance is clear but not complete.

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