Skip to main content
Glama

Github Trending Repos

github_trending_repos
Read-onlyIdempotent

Trending GitHub repositories, what is hot, popular, and taking off on GitHub right now. Answers "what are the top trending GitHub repos this week", "what is hot on GitHub today", "popular new repositories this month", "trending Rust / Python / AI projects", "which GitHub projects blew up recently". Two modes: mode="new" (default) ranks repositories CREATED inside the time window by star count, the projects that blew up this week, and mode="active" ranks repositories PUSHED inside the window by star count, surfacing established projects under heavy development. Set the window with since (day, week, or month), filter with language, add free-text query keywords such as "llm" or "agent", and raise a min_stars floor. Returns full_name, description, language, stars, forks, created and pushed dates, topics, and URL per repo. Computed live from the GitHub Search API; github.com/trending ranks by stars GAINED during the period using an unpublished algorithm that the public API keeps private, so ordering differs and every response says so in its caveat field.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "since": "week"
    },
    "name": "github_trending_repos"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoWhich window the date applies to: "new" (default) = repos CREATED in the window, ranked by stars, closest to "what blew up this week". "active" = repos PUSHED in the window, ranked by stars, big projects with recent commits.
limitNoNumber of repos to return (default 10, max 30).
queryNoOptional free-text keywords to narrow the topic, e.g. "llm", "agent framework", "kubernetes".
sinceNoTime window: "day" (last 24h), "week" (last 7 days, default), or "month" (last 30 days).
languageNoOptional primary language filter, e.g. "python", "rust", "typescript".
min_starsNoOptional minimum star count. Useful with mode="active" to skip small repos.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / mode / description
      Previous value: -"Which window the date applies to: \"new\" (default) = repos CREATED in the window, ranked by stars — closest to \"what blew up this week\". \"active\" = repos PUSHED in the window, ranked by stars — big projects with recent commits."New value: +"Which window the date applies to: \"new\" (default) = repos CREATED in the window, ranked by stars, closest to \"what blew up this week\". \"active\" = repos PUSHED in the window, ranked by stars, big projects with recent commits."
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only, open-world, idempotent behavior, and the description adds real context beyond that: results are computed live from the GitHub Search API, ordering will differ from github.com/trending's private stars-gained algorithm, and every response carries a caveat field saying so. It also discloses the result cap (default 10, max 30), which the agent needs to size requests.

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 definition is front-loaded: identity first, then mode semantics, then filters, then return fields and the caveat. The opening stacks several near-synonymous phrasings ("hot, popular, and taking off", plus five quoted example questions) that could be trimmed without losing information.

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?

There is no output schema, and the description compensates by enumerating the returned fields (full_name, description, language, stars, forks, created/pushed dates, topics, URL). With six optional parameters fully documented and the API-provenance caveat stated, an agent has everything needed to call this correctly.

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 meaning by framing mode="new" as the closest match to "what blew up this week" and by noting min_stars is mainly useful with mode="active" to skip small repos. Much of the mode/since explanation duplicates the schema text, so the marginal gain is modest rather than substantial.

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?

The description gives a specific verb and resource (returns trending GitHub repositories) and immediately splits it into two named modes, "new" (created in window, ranked by stars) and "active" (pushed in window, ranked by stars). It also distinguishes itself from github.com/trending by explaining the differing ranking method, so an agent can tell exactly what this tool computes.

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?

Guidance is explicit about mode selection ("new" for projects that blew up, "active" for established projects under heavy development) and about narrowing with since, language, query, and min_stars, plus worked example phrasings. It stops short of naming siblings such as search_repos or pipeworx_trending as alternatives for other cases, so the routing is implied rather than exhaustive.

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.