Skip to main content
Glama
repo-summary-mcp

repo-summary-mcp

by nameluqman

get_repo_context

Fetches a public GitHub repository's overview, README, and file structure in one call so an AI assistant can summarize it without extra API keys or repeated requests.

Instructions

Get everything needed to summarize a public GitHub repo in one call: overview (description, topics, languages, stars, license), README text, and file structure. Pass a link such as https://github.com/owner/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": {
      "url": "<url>"
    },
    "name": "get_repo_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description does useful work by disclosing the return contents and the 'public' scope constraint (implying private or nonexistent repos are out of scope). It says nothing about rate limits, README truncation, file-structure depth, or what happens on a malformed URL, which are the traits that matter for a network-fetching read tool.

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?

Three short sentences, front-loaded with the value proposition and return payload, then the input format. No filler and nothing repeated from the schema beyond the needed example.

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 one-parameter, read-only fetch tool with no annotations and no output schema, the description covers purpose, contents, and input format adequately. The remaining gap is edge-case behavior — failures, truncation, and size limits on large repos — which an agent would need before relying on it.

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

Parameters4/5

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

Schema coverage is 0% for the single 'url' parameter, so the description must carry the meaning, and it does: it specifies a full GitHub link format with a concrete example (https://github.com/owner/repo). It stops short of stating whether owner/repo shorthand or URLs with extra path segments are accepted.

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

Purpose5/5

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

The description names a specific verb and resource and enumerates the exact payload: overview (description, topics, languages, stars, license), README text, and file structure. The phrase 'everything needed ... in one call' implicitly positions it as the composite of the sibling tools get_repo_overview, get_repo_readme, and get_repo_structure, so an agent can pick it without opening a schema.

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 by 'in one call' and 'to summarize a public GitHub repo' — an agent can infer this is the aggregate call versus the narrower siblings. There is no explicit when-to-use/when-not statement and no named alternative for cases where only the README or structure is wanted.

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