Skip to main content
Glama
github-fetcher

github-fetcher

by KurvCygnus

GitHub repository comparison

github_compare_repos
Read-onlyIdempotent

Compare up to 20 GitHub repositories in one throttled call to get stars, open issue and PR counts, recent closed issue counts, and latest releases.

Instructions

Throttled multi-repo breadth comparison: stars, open issue/PR counts, window closed count, and latest release for up to 20 repositories in one call. About 5 upstream calls per repo, roughly 10 repos/minute (search quota). Label-level detail lives in github_repo_health. Returns {window_days, repos[{repo, stars, has_issues, has_discussions, open_issues, open_prs, search_unavailable, window, latest_release} or {repo, error}], elapsed_ms}.

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": {
      "repos": "<repos>"
    },
    "name": "github_compare_repos"
  }
}

Input Schema

NameRequiredDescriptionDefault
freshNoBypass the local cache
reposYesRepositories in owner/name form
window_daysNoAnalysis window in days, 1-365, default 30

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • changedInput schema / properties / window_days / description
      Previous value: -"Analysis window in days, default 30"New value: +"Analysis window in days, 1-365, default 30"
  2. Addedv0.2.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, openWorld), the description discloses cost and throttling behavior: ~5 upstream calls per repo and roughly 10 repos/minute under search quota, plus a cache that 'fresh' bypasses. It also reveals partial-failure semantics via per-repo 'error' objects and a 'search_unavailable' flag, which annotations cannot convey.

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

Conciseness4/5

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

Three tightly packed sentences, front-loaded with purpose, then constraints, then return shape; nothing is wasted. The return-shape enumeration is long but justified because no output schema exists.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 carries the return contract itself and does so field by field, including the error variant and elapsed_ms. Combined with quota and caching notes, an agent has everything needed to call it and interpret results.

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?

Schema description coverage is 100%, so all three parameters are already documented, giving a baseline of 3. The description adds only light framing – that the 20-repo cap applies 'in one call' and that window_days defines the closed-count window – without new format or default detail.

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?

States a specific verb and resource ('multi-repo breadth comparison') and enumerates exactly what is compared: stars, open issue/PR counts, window closed count, and latest release, capped at 20 repos. It also distinguishes itself from the sibling github_repo_health, which owns label-level detail.

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?

The description gives a clear selection rule against github_repo_health ('label-level detail lives in github_repo_health'), so an agent knows when to prefer this breadth tool. It does not address single-repo alternatives like github_repo, but the breadth-vs-detail split is the main routing decision.

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