Skip to main content
Glama
github-fetcher

github-fetcher

by KurvCygnus

GitHub batch activity snapshot

github_batch_activity
Read-onlyIdempotent

Fetch a windowed activity snapshot for up to 5 GitHub repositories in one call: stars, forks, open issues/PRs, commits, CI conclusions, and top contributor shares.

Instructions

Windowed activity snapshot for up to 5 repositories in one call: stars, forks, open issues/PRs, recent commits, CI run conclusions, and top contributors with their share. Uses core endpoints only; search quota untouched. Each repository's four to seven core GETs run sequentially under a 25-second per-repo timeout: a timed-out repository reports ok:false while the others stay ok:true, and the abandoned request's result is discarded. Contributor gathering stops after 3 pages of 100. Returns {window_days, top_n, generated_at, items[repo item or error item], meta}.

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_batch_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
freshNoBypass the local cache
reposYesRepositories in owner/name form, at most 5
top_nNoTop contributors to project, 1-20, default 5
window_daysNoAnalysis window in days, 1-90, default 30

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.1

TDQS

A4/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive and open-world, yet the description adds substantial behavior beyond them: sequential execution of 4-7 core GETs, a 25-second per-repo timeout, per-repo ok:false on timeout while others remain ok:true, discarding the abandoned request's result, and a 3-page/100-item cap on contributor gathering. These are exactly the partial-failure and cost characteristics an agent needs before invoking.

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?

The capability statement is front-loaded, and the timeout/quota caveats follow in a logical order with a colon-separated enumeration that scans quickly. It is dense but nearly every clause carries operational information; only the trailing return-shape listing duplicates what a reader could largely infer.

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?

For a multi-repo aggregation tool with no output schema, the description supplies the return shape ({window_days, top_n, generated_at, items[repo item or error item], meta}), the partial-failure contract, and the internal cost bounds. Nothing material an agent needs to call it correctly is missing.

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 repos, fresh, top_n and window_days are already documented at the field level, making 3 the baseline. The description adds only indirect meaning — that top_n governs 'top contributors with their share' and that window_days appears in the return object — without elaborating formats or defaults beyond the schema.

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 names a specific resource and scope: 'Windowed activity snapshot for up to 5 repositories in one call', then enumerates exactly what is measured (stars, forks, issues/PRs, commits, CI conclusions, contributors). The 'in one call / up to 5 repositories' framing implicitly separates it from single-repo siblings like github_repo_activity, but no sibling is named, so it stops short of a 5.

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?

There is an efficiency-oriented hint ('Uses core endpoints only; search quota untouched'), which tells an agent this is a quota-friendly path, and the per-repo isolation note implies partial results are acceptable. However, it never states when to prefer this over calling a single-repo tool repeatedly or over the search tools, and there are no exclusions.

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