Skip to main content
Glama

Trending repositories

trending_repos
Read-only

Discover projects: the most-starred GitHub repositories created in the last day, week or month, or with period "rising" repositories of any age that gained the most stars this week (like GitHub Trending; risingRank keeps that order). Optionally one language; each scored and returned sorted by score (starsRank keeps the stars order). Each result has a 0-100 score (momentum 40% (stars gained per week; without history, lifetime stars per week scaled by the npm/PyPI download trend), maintenance 25%, adoption incl. npm/PyPI weekly downloads 25%, license 10%), a tier (Strong >=75, Solid >=50, Watch >=25, Avoid <25; New for repos under 30 days old, too new to judge), a one-line verdict and the full breakdown. Not the right tool for picking a dependency, since new repositories have little maintenance history; use recommend_repos for that. One GitHub search (rising: one download of the daily list from raw.githubusercontent.com instead), plus one npm/PyPI lookup per repository when withDownloads is true. Hosted: 50 free tool calls per day per user; send header X-GitHub-Token with your own GitHub token for unlimited use, or run the npm package locally (npx -y whichlib).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many repositories to return, 1-100.
periodNo"day", "week" or "month": repos created in the last 24 hours, 7 days or 30 days. "rising": repos of any age by stars gained this week (the top 1,000 repos per language plus new ones are tracked).week
languageNoGitHub language name, e.g. "TypeScript", "Python", "Rust". Matches that language only. Omit for all languages.
withDownloadsNoAlso look up npm/PyPI weekly downloads for each repository. Slower: one registry lookup per repository.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnly and openWorld, but the description goes far beyond: it discloses the exact scoring weights, tier thresholds, the underlying network calls (one GitHub search or one raw.githubusercontent download plus one npm/PyPI lookup per repo when withDownloads is true), rate limits (50 free calls/day), the auth mechanism (X-GitHub-Token header), and a local-run option. This is unusually rich behavioral context.

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?

Purpose and the sibling exclusion are front-loaded, and most sentences carry distinct information. It is dense and long, with the full scoring breakdown arguably more than an agent needs to select the tool, so it is slightly over-full rather than maximally tight.

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?

No output schema exists, yet the description fully characterizes the return values (0-100 score, tier labels, one-line verdict, full breakdown), plus cost, latency, auth, and rate limits. Nothing 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.

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, and the description adds real meaning: 'risingRank keeps that order' and 'sorted by score (starsRank keeps the stars order)' explain the ordering consequences of period, and it clarifies that withDownloads trades speed for registry data. The parameter coverage is strong; only minor format detail is absent from the description vs. schema.

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 (discover the most-starred GitHub repositories created in a time window, or period='rising' repos by weekly star gain), and explicitly distinguishes itself from recommend_repos. An agent can identify what this returns and how it differs from compare_repos/recommend_repos without opening any schema.

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

Usage Guidelines5/5

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

Explicitly names the alternative and the condition that selects it: "Not the right tool for picking a dependency... use recommend_repos for that," and it explains what each period value is for. Both when-to-use and when-not-to-use are covered.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.