Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

GitHub Trending Repositories

github_trending_repositories

Fetch GitHub repositories trending by recent star gains for daily, weekly, or monthly windows, with optional language filtering.

Instructions

github.com/trending — repos ranked by starsGained (daily|weekly|monthly), not all-time stars (2 credits). Costs 2 credits. Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).

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_repositories"
  }
}

Input Schema

NameRequiredDescriptionDefault
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.
limitNoMax items to return (default 25, max 100). Flat 2 credits per call.
sinceNoTrending window: daily (default), weekly, or monthly — matches github.com/trending?since=.
languageNoOptional programming-language slug (e.g. python, typescript) → /trending/{language}.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does a good job on the economics: it states the 2-credit cost, that empty results and failures are never charged, and that cache=true yields a free 24h hit while the default is always fresh. It omits auth requirements, rate limits, and any sense of return shape, which keeps it from a 5.

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

Conciseness3/5

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

It is short and front-loads the resource and ranking rule, which is good. However, the credit cost is stated twice — once as '(2 credits)' and again as 'Costs 2 credits' — and the parenthetical fragments make the prose choppy rather than tight.

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

Completeness3/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 no annotations, so the description is the only source of behavioral context, and it covers cost, failure charging, and caching well. It still says nothing about what a result contains (repo fields, star counts, ordering guarantees) or whether the trend window affects the ranking baseline, which leaves an agent guessing about the payload.

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%, so all four parameters are already documented, including the cache/limit/since/language semantics. The description reinforces cache=true as the free path and echoes the daily|weekly|monthly window, but adds no syntax or edge-case detail (e.g., invalid language slugs, limit interaction with caching) beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete resource (github.com/trending repos) and a specific ranking rule: ordered by starsGained over daily/weekly/monthly, explicitly 'not all-time stars.' That contrast implicitly separates it from a general repo lookup, but it never names a sibling tool, so the differentiation is indirect rather than explicit.

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

Usage Guidelines3/5

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

Usage context is only implied: the 'not all-time stars' phrasing hints that this is the discovery/ranking tool rather than a star-count lookup, and the cache note hints at repeat-call patterns. There is no explicit when-to-use, when-not-to-use, or named alternative for fetching a specific repo or its total stars.

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

Deploy Server

Other Tools