Skip to main content
Glama

repo_deep_dive

Get a complete repository orientation in one call: file and symbol stats, directory tree, language breakdown, and manifest contents to quickly understand scale, structure, and stack.

Instructions

Full repository orientation: stats (files, symbols, sections), directory tree, language breakdown, and manifest contents (pyproject.toml, package.json, go.mod). Replaces 5-10 separate calls to understand a repo's scale, structure, and stack.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "repo": "<repo>"
    },
    "name": "repo_deep_dive"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesRepository name (as shown in list_repos)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.2

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden; it correctly signals this is an aggregate read that substitutes for several smaller calls, which is genuinely useful. It does not state expected latency/cost, whether output is truncated for very large repos, or any access prerequisites, so the behavioral picture is only partial.

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 sentences, front-loaded with the payload contents before the justification, with no redundant restatement of the title or name. 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?

With no output schema, the description must describe return values, and it does so concretely by listing the four data groups plus named manifest files. Minor gaps remain around large-repo behavior and result size, but nothing essential to calling it is missing.

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?

There is a single parameter, and the schema already documents it at 100% coverage ('Repository name (as shown in list_repos)'), so the description adds no parameter meaning beyond that. Baseline 3 applies when the schema does the heavy lifting.

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 names a composite read operation and enumerates the concrete outputs (stats, directory tree, language breakdown, manifest contents), which is far more specific than the tool name alone. It stops short of distinguishing itself from the sibling repo_overview, so an agent must guess which orientation tool to pick.

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?

'Replaces 5-10 separate calls to understand a repo's scale, structure, and stack' implies the right context: bulk orientation before drilling in. There is no explicit when-not guidance and no mention of the close sibling repo_overview, leaving the choice between them to inference.

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