Skip to main content
Glama
github-fetcher

github-fetcher

by KurvCygnus

GitHub repository health

github_repo_health
Read-onlyIdempotent

Get a one-call GitHub repository status snapshot with stars, open issue and PR counts, windowed issue activity by label, and latest release.

Instructions

One-call repository snapshot: stars, true open issue and PR counts, has_issues/has_discussions, window opened/closed counts and per-label open counts (search-backed), and the latest release. Window terms: opened_total = issues created inside the window (any current state); opened_still_open = the subset still open; closed = issues closed inside the window (any creation date). Costs about 10 upstream calls, 9 of them search (within the 30 requests/minute search quota). open_issues here counts issues only; github_repo.open_issues includes pull requests. Returns {repo, window_days, generated_at, stars, forks, license, default_branch, pushed_at, created_at, has_issues, has_discussions, open_issues, open_prs, open_issues_and_prs, window{opened_total, opened_still_open, closed, labels}, search_unavailable, latest_release}.

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

Input Schema

NameRequiredDescriptionDefault
repoYesRepository in owner/name form
freshNoBypass the local cache
labelsNoOpen-issue labels to count, default bug/regression/data-loss/reproduced
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. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), and the description adds genuinely new behavior: ~10 upstream calls, 9 consuming the 30 req/min search quota, and a search_unavailable return flag signaling partial-failure behavior. The window term definitions (opened_total vs opened_still_open vs closed) clarify non-obvious aggregation semantics that no annotation conveys.

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?

Front-loaded with the core snapshot summary, then cost, then a disambiguation note, then the return shape — a logical ordering. It is dense and long, but since there is no output schema, the field listing earns its place; a few phrases could still be tightened.

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 discharges the return-value burden by enumerating every field including the nested window object and search_unavailable. Window math, label defaults, rate-limit exposure, and the sibling ambiguity are all covered — an agent can call this correctly without further inference.

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 100%, so the baseline is 3; the description still adds value by defining what window_days actually measures in terms of issue creation vs closure dates, and what the labels list is counting (open issues, per-label). It does not explain 'fresh'/cache-bypass behavior beyond the schema wording.

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?

Opens with a specific verb+resource framing ('One-call repository snapshot') and enumerates exactly what is captured: stars, open issue/PR counts, has_issues/has_discussions, window counts, latest release. It also explicitly differentiates from the sibling: 'open_issues here counts issues only; github_repo.open_issues includes pull requests.'

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?

Gives strong selection context by disclosing cost ('about 10 upstream calls, 9 of them search') and contrasting the issue-count semantics with github_repo, which lets an agent choose the cheaper sibling when appropriate. It stops short of an explicit when-not/alternative rule (e.g. 'use github_repo if you only need basic metadata'), so it lands at clear-context-without-exclusions.

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