Skip to main content
Glama

x402_githubsearch_get_v1_repositories

Search GitHub repositories by query, language, and stars to find projects that match specific criteria for discovery or comparison.

Instructions

githubsearch — GitHub code/repo search API: find repos and code by query, language, stars. Free unauthenticated (60 req/hr). [GET /v1/repositories] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/repositories?q=cloudflare%20workers&sort=stars&per_page=5

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

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description does real work: it discloses the free unauthenticated tier with a 60 req/hr cap and the paid cost of $0.005 USDC across four eip155 chain IDs, which is exactly the kind of auth/rate-limit/cost context annotations would normally carry. It stops short of describing the response shape, pagination, or result limits, which matter for a search tool.

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?

Front-loaded with the capability, then compact notation for endpoint, price, chains and an example URL. Dense but every clause carries operational information; the chain-ID string is terse to the point of near-unreadability but is not waste.

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?

For a four-parameter GET search tool with no annotations and no output schema, the description covers identity, cost, auth tier and an example call, which is most of what an agent needs. It leaves out pagination behavior, result size, error/retry semantics, and how the generic 'query'/'restart'/'operationId' wrapper params interact with this endpoint.

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 nominally 100%, but the schema's parameter descriptions are generic boilerplate (the query example is {base:'USD', quote:'EUR'}, irrelevant here), so the description must supply real semantics. It does partially, naming q, language, stars, sort and per_page with a concrete example URL, but it never maps these onto the actual 'query'/'body'/'operationId'/'restart' properties.

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?

States a specific verb and resource ('GitHub code/repo search API: find repos and code by query, language, stars') and pins it to the GET /v1/repositories endpoint, which distinguishes it from the sibling x402_githubsearch_get_v1_code. The only blur is that it claims to search 'code' as well as repos, which overlaps the sibling's apparent remit.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not guidance and no mention of the sibling code-search tool. The example query shows how to call it, but an agent is left to infer that this endpoint is for repositories and the other for code.

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