Skip to main content
Glama

github_trending

Read-only

$0.09 via x402: top trending GitHub repositories by stars over the last day/week/month, optional language filter. Live from the GitHub Search API.

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": "github_trending"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNo1-30
sinceNoday|week|month
languageNoprogramming language filter, for example python
x_paymentNosigned x402 payment payload (the X-PAYMENT header value) for the terms the first call returns; omit it to get the price and terms

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / language / description
      Added value: +"programming language filter, for example python"
    • addedInput schema / properties / x_payment / description
      Added value: +"signed x402 payment payload (the X-PAYMENT header value) for the terms the first call returns; omit it to get the price and terms"
  2. Added
  3. Removed
  4. Added
  5. Removed
  6. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered; the description adds genuinely new behavior — a fixed $0.09 x402 charge and a two-step payment handshake where the initial call returns terms. It omits rate limits, caching/freshness cadence beyond 'live', and what a failed payment returns.

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 compact sentences with the price/access model front-loaded, then the resource, scope options, and data source. Every clause earns its place — no restatement of the tool name and no filler.

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?

For a parameterless read tool with a fully documented schema, this covers purpose, cost, payment flow, and data provenance adequately. With no output schema present, a brief note on what a result entry contains (stars, repo, URL) would close the remaining gap.

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%, so all four parameters are already documented, including the x_payment handshake and the day|week|month values. The description corroborates those semantics and adds the price point, but contributes no syntax or constraint detail beyond the schema, so the baseline 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 gives a specific verb and resource — 'top trending GitHub repositories by stars' — plus the supported time windows and an optional language filter. It also names the upstream source (GitHub Search API), so an agent knows exactly what data it is getting and that no near-identical sibling exists to confuse it with.

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?

It conveys the practical when-and-how: pick day/week/month, optionally narrow by language, and — critically — omit x_payment on the first call to receive price and terms. What it does not state is any exclusion or precondition such as rate limits or what happens if a language has no results, so it stops short of full when/when-not guidance.

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.