Skip to main content
Glama

Get Repo Overview

get_repo_overview

Returns a token-bounded directory tree, language breakdown, and detected manifests for an indexed repository, helping AI agents orient to code structure without scanning every file.

Instructions

Return a token-bounded directory tree, language breakdown, and detected manifests for an indexed repo.

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

Input Schema

NameRequiredDescriptionDefault
repoYes
max_depthNo
max_entriesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3/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 behavioral burden, and it does disclose that output is 'token-bounded' and enumerates what the payload contains, which is genuinely useful. However, it says nothing about read-only semantics, permission requirements, pagination/truncation behavior when the bound is hit, or what happens if the repo is not indexed.

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?

A single dense sentence with no filler, front-loading the verb and the output composition. Nothing is redundant and nothing could be trimmed without losing content.

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?

An output schema exists, so return-value detail is fairly excused, but for a three-parameter tool with zero schema coverage and no annotations, the definition leaves the agent guessing about parameter format, truncation behavior, and the not-indexed failure mode. The single sentence is accurate but too thin for the tool's surface area.

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% across three parameters, so the description must compensate and largely does not: it never explains what 'repo' expects (name, path, or ID) or how max_depth and max_entries affect results. The phrase 'token-bounded' only loosely gestures at the two bounding parameters without tying them to names or defaults.

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 uses a specific verb ('Return') and names three concrete outputs: a directory tree, a language breakdown, and detected manifests, scoped to an 'indexed repo'. It is clearly distinguishable in kind from get_symbol_outline or search_code, but it never explicitly contrasts itself with siblings such as get_repo_status, leaving differentiation to inference.

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 statement of when to choose this tool over get_repo_status, get_symbol_outline, or search_code, and no when-not guidance. The only usage-adjacent information is the implied prerequisite that the repo must already be indexed, which is buried in a prepositional phrase rather than stated as a condition.

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