Skip to main content
Glama
repo-summary-mcp

repo-summary-mcp

by nameluqman

get_repo_structure

Fetch top-level folders, files, and key config files from a public GitHub repository so you can inspect its structure and write a summary.

Instructions

Get a public GitHub repo's top-level folders and files, plus key files such as package.json, pyproject.toml, requirements.txt or Dockerfile.

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": {
      "url": "<url>"
    },
    "name": "get_repo_structure"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It does disclose the content scope (top-level entries plus select manifest files, and implicitly not deep traversal), which is useful, but it says nothing about auth/rate limits, behavior on private or missing repos, or whether the result is truncated for large repos.

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?

One sentence, front-loaded with the core action, then the concrete file examples that add information rather than padding. Nothing could be cut without losing meaning.

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?

For a one-parameter read tool with no output schema, the description covers what kinds of items come back but not the return shape (flat list vs tree, depth limits) and not the URL format. That leaves real gaps an agent must guess at.

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?

The single parameter 'url' has zero schema description coverage, and the description only implies it points at a public GitHub repo. It does not clarify the accepted format (full https URL vs 'owner/repo'), which is the most likely source of invocation error.

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 gives a specific verb ('Get') and a precise resource scope: a public repo's top-level folders and files plus named key files (package.json, pyproject.toml, requirements.txt, Dockerfile). That enumeration distinguishes it well from get_repo_readme and get_repo_overview, though it never names those siblings explicitly.

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?

Usage is only implied: 'public GitHub repo' signals that private repos are out of scope, but there is no statement of when to choose this over get_repo_context or get_repo_readme, and no prerequisites or error conditions are mentioned.

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