Skip to main content
Glama

GitHub.Locker

Trending GitHub projects

trending_projects
Read-onlyIdempotent

The GitHub projects that gained the most stars on the last closed GitHub day, or over the last week or month, from GitHub.Locker's daily ranking. Use it when the user asks what is trending, hot or new on GitHub without naming a topic. For trending projects within a topic use search_projects with sort week or month instead.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
limitNoHow many projects to return, highest gain first.
periodNoday: the last closed GitHub day (Pacific time); week: the last 7 days; month: the last 30 days.day

Output Schema

NameRequiredDescriptionDefault
periodYes
dataDayNoLast GitHub day counted, YYYY-MM-DD
projectsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description still adds real context beyond them by disclosing data provenance (GitHub.Locker's curated daily ranking) and the 'last closed GitHub day' boundary, which tells the agent results are a third-party snapshot rather than a live query. It stops short of saying whether results are cached or how fresh the ranking is, so it is not exhaustive.

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?

Three sentences, front-loaded with what the tool returns, then the usage rule, then the alternative. No repetition of the schema and no filler.

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?

With an output schema present, return values need not be explained, and both parameters are fully documented in the schema. The description supplies the remaining gaps an agent needs: what the ranking means and which sibling to pick for topic-based queries.

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%, and the schema already defines limit (1-25, default 10) and the day/week/month period semantics including Pacific-time boundaries. The description adds no parameter meaning beyond that, so the baseline of 3 applies.

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 names a specific resource and metric: GitHub projects with the largest star gain, sourced from GitHub.Locker's daily ranking, over a day/week/month window. It explicitly contrasts with search_projects for topic-scoped trending, so an agent can distinguish it from siblings without opening either 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?

It states the trigger condition (user asks what is trending/hot/new on GitHub without naming a topic) and names the alternative tool plus the exact parameter values to use instead (search_projects with sort week or month). Both the when-to-use and when-not-to-use cases are explicit.

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.