Skip to main content
Glama
SalAkBuK

github-stars-mcp

by SalAkBuK

github_batch_get_starred_with_readme

Batch-fetch starred repositories and distilled READMEs with token budget and cache support to keep AI context within limits.

Instructions

High-performance batch tool: fetches starred repositories + distilled READMEs with dynamic token budgeting, local caching, and speculative next-batch prefetching.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (1-indexed). Default is 1.
sortNoSort order. Default is 'created'.
distillNoEnable semantic distillation. Default: true.
profileNoContext window profile. Default: 'standard'.
refreshNoForce live refresh from GitHub API, bypassing cache.
per_pageNoNumber of repositories in this batch.
directionNoSort direction. Default is 'desc'.
token_budgetNoExplicit token budget for the entire batch payload.
prefetch_nextNoSpeculatively prefetch the next batch in background. Default: true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden. It does disclose dynamic token budgeting, local caching, and speculative prefetching, which are meaningful behaviors. However, it omits cache invalidation/refresh semantics, rate-limit or auth implications, and what the returned payload looks like.

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 description is a single dense sentence that packs the core purpose and three behavioral traits without filler. It is concise and front-loaded, though the jargon-heavy phrasing reduces readability slightly.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a complex 9-parameter tool with no annotations and no output schema, yet the description only names high-level features. It lacks usage guidance, cache/refresh behavior, relation to sibling tools, and any indication of return values or pagination semantics.

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 coverage is 100%, so the baseline is 3. The description's phrases like 'token budgeting', 'caching', and 'prefetching' map to schema parameters but do not add meaning beyond what the parameter descriptions already provide.

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 states a specific verb and resource: it fetches starred repositories plus distilled READMEs in batch. It is clear enough to differentiate from simpler siblings like github_list_starred and github_get_readme, though it does not explicitly name or contrast them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus alternatives such as github_list_starred or github_get_readme. The description implies a high-performance batch use case but does not state when not to use it, prerequisites, or trade-offs.

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