Skip to main content
Glama

Agent Data Hub

GitHub repository search

search_github
Read-onlyIdempotent

Search public GitHub repositories by keywords, optionally filtered by language and minimum stars, sorted by relevance, stars, forks or recently updated. Returns full name, URL, description, language, stars, forks, open issues, topics, license, created/last-push dates, archived flag and homepage. Use to find libraries, SDKs, examples and competitors. Price: $0.002 per call (USDC on Base via x402); the first 10 calls per day are free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_github"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNorelevance (default), stars, forks or updated
limitNoResults 1–30 (default 10)
queryYesKeywords, e.g. x402 payments
languageNoOptional language filter, e.g. TypeScript, Python, Rust
min_starsNoOptional minimum stars

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description goes well beyond that by disclosing the pricing model ($0.002 per call in USDC on Base via x402) and a free tier of 10 calls per day, plus the full set of returned fields — cost and rate context that annotations cannot express.

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?

Three sentences, front-loaded with the core capability and filters before use case and pricing. The enumerated return-field list is long but defensible because no output schema exists; it is the only place that information appears.

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?

Given five parameters, no output schema, and rich annotations, the description covers everything an agent needs: what it searches, how to filter, what triggers use, what comes back, and what it costs. No significant gap remains for correct invocation.

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 every parameter is already documented, and the description largely restates it: language filter, minimum stars, and the four sort options. It adds no syntax or format hints 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 states a specific verb and resource ('Search public GitHub repositories'), then names the exact filter dimensions (keywords, language, minimum stars) and sort orders. An agent can immediately distinguish this from sibling search tools like search_npm or search_stackoverflow by the explicit 'GitHub repositories' scope.

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 provides a concrete use case — 'find libraries, SDKs, examples and competitors' — which tells an agent what kind of intent should trigger this tool. However, it offers no exclusions or explicit routing against the many other search_* siblings, so the agent must infer that NPM/StackOverflow questions belong elsewhere.

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.

Resources