Skip to main content
Glama

Trending GitHub repos

get_trending
Read-onlyIdempotent

Top GitHub repos by stars gained today (last 24 hours), this week (7 days) or this month (30 days), or by total stars (window "all"). Optional language or topic filter. Use list_filters for valid names.

Input Schema

NameRequiredDescriptionDefault
limitNoHow many repos to return (1 to 25).
topicNoGitHub topic, for example "mcp".
windowNotoday = last 24 hours, week = 7 days, month = 30 days, all = total stars.week
languageNoProgramming language, for example "Rust".

Output Schema

NameRequiredDescriptionDefault
noteYes
countYes
reposYes
topicYes
sourceYes
windowYes
languageYes
data_dateYesDay of the latest snapshot, YYYY-MM-DD.
text_noteYes
truncatedYes
method_urlYesPage that explains how the numbers are made.
window_statusYes
repos_in_filterYes
collecting_sinceYesFirst day of collected data, YYYY-MM-DD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds the meaning of 'trending' (stars gained over a window) and that filters are optional, but says nothing about refresh cadence, result ordering/tie-breaks, or that list_filters is required to validate names — details an agent might want before calling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler: the ranking basis and windows come first, the filter hint and the pointer to list_filters follow. Nothing is repeated needlessly and the front-loading is ideal.

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

Completeness4/5

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

With an output schema, rich annotations, and 100% parameter coverage, the description only needs to explain the ranking concept, which it does. It could go one step further by pointing to how_we_rank for the ranking methodology, but nothing required for correct invocation 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 coverage is 100% and each parameter (limit, topic, language, window with enum) is documented inline, so the description's restatement of the windows and 'optional language or topic filter' adds no syntax or format detail beyond the schema. Baseline 3 is appropriate.

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 resource (GitHub repos) plus the ranking basis (stars gained) and the exact windows, which clearly separates it from get_repo (single lookup) and search_repos (query-driven search). An agent can tell what it returns without opening the schema.

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?

Provides clear context for use — 'top repos by stars gained' over named windows — and routes to the sibling list_filters for valid language/topic names. It does not explicitly contrast with search_repos, but the trending-vs-search distinction is inferable from the metric described.

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.

Resources