Skip to main content
Glama

Search GitHub repositories

search_github
Read-only

Search GitHub repositories ranked by stars with exact counts, language and description to find, compare or rank open-source projects and libraries; supports GitHub qualifiers.

Instructions

Search GitHub repositories, ranked by stars, with exact star counts, language and description. Use instead of web search to find, compare or rank open-source projects and libraries. Supports GitHub qualifiers, e.g. "mcp server language:typescript stars:>100".

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
limitNomax results (default 10)
queryYessearch terms, optionally with GitHub qualifiers

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already state readOnly/openWorld/non-destructive, so the safety profile is covered. The description adds meaningful behavior on top: results are star-ranked with exact counts, and GitHub qualifiers in the query are honored — both affect how an agent should phrase a call. Rate limits or auth requirements are not disclosed, keeping it below 5.

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?

Three short sentences: what it returns, when to use it instead of an alternative, then the syntax supported. Front-loaded with the distinguishing property (star-ranked) and carrying no redundant restatement of the title or schema.

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?

For a two-parameter read-only search with no output schema, the description covers the returned fields, ordering, and query syntax, which is everything an agent needs to invoke it correctly. The remaining gaps (auth, rate limits) are marginal at this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description earns more by supplying concrete qualifier syntax ('mcp server language:typescript stars:>100') that the schema only alludes to. That example directly teaches the agent how to construct a high-quality query string.

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 opens with a specific verb and resource ('Search GitHub repositories') and immediately qualifies scope: results are ranked by stars and carry exact star counts, language and description. An agent can tell this apart from sibling registry lookups (search_npm, search_crates) without opening the schema.

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 gives an explicit routing rule ('Use instead of web search to find, compare or rank open-source projects and libraries'), which is exactly the decision an agent faces when choosing a discovery tool. It stops short of exclusions, e.g. when to prefer search_npm or get_github_repo for a single known project, so it is clear but not fully disambiguating.

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