Skip to main content
Glama

get_repos

Get top trending GitHub repositories ranked by stars, with full metadata and optional language filter. Payment via x402 per call.

Instructions

PAID $0.01 via x402. Top trending GitHub repos sorted by stars with full metadata. Pays USDC on Base via x402. Compute-first, settle-after — you are never charged for an error. Set PRIVATE_KEY (wallet with USDC on Base Mainnet) to pay on a live API; without a key the call returns the 402 price terms.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of repos to return
languageNoFilter by programming language, e.g. 'TypeScript'
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly discloses the paid nature, x402 payment mechanism, PRIVATE_KEY requirement, the fallback behavior of returning 402 price terms without a key, and the 'compute-first, settle-after' guarantee. This goes well beyond a typical description, though it does not detail rate limits or error handling beyond the payment context.

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 description is compact, with each sentence providing relevant information about pricing, purpose, or configuration. However, purpose is not front-loaded—the first phrase is 'PAID $0.01 via x402' before the actual function—and there is redundancy with x402 mentioned twice. Still, no unnecessary filler is present.

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?

Given the absence of an output schema and annotations, the description must explain both behavior and return value. It explains 'full metadata' but does not enumerate fields. The payment workflow is comprehensively described, including setup and failure behavior. For a simple two-parameter tool, this is reasonably complete, though the return structure could be more explicit.

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?

The input schema already covers 100% of the parameters (limit and language) with descriptions, so baseline is 3. The tool description does not add any additional parameter-level detail beyond what the schema provides, such as default values, ranges, or format hints. It names 'language' only indirectly via 'programming language' in 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 clearly identifies the tool as returning top trending GitHub repos sorted by stars with full metadata. It does not use an explicit verb like 'list' or 'retrieve', but the meaning is unambiguous. It distinguishes from siblings by focusing on repository data rather than digests or briefs, though no direct comparison is given.

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?

The description implies when to use the tool: when you need trending GitHub repos with metadata. It does not explicitly state when not to use it or mention alternatives among sibling tools. Payment setup instructions are included, which is useful operational context, but the when-to-use guidance is only implied.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jcislo/gitbeacon-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server