Skip to main content
Glama

github_search_repositories

Read-only

Searches public GitHub repositories and returns matching repository rows for market or competitive discovery. Unauthenticated search is rate limited to roughly 10 requests per minute. q: GitHub repository search query. Use github_search_users to search public GitHub users.

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": {
      "q": "<q>"
    },
    "name": "github_search_repositories"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesGitHub repository search query.
pageNoPage number.
sortNoSort field: stars, forks, help-wanted-issues, or updated.
orderNoSort order: asc or desc.
per_pageNoResults per page (max 100).

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint=false, so the safety profile is covered. The description adds genuinely new behavioral context: unauthenticated search is rate limited to roughly 10 requests per minute, which materially affects how an agent should pace calls. It does not say what happens when the limit is hit or how paging behaves at the end of results.

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?

Four short sentences, front-loaded with purpose before constraints and the sibling pointer. The only waste is the sentence defining q, which duplicates the schema description word for word.

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?

An output schema exists, so return values need no explanation, and the annotations cover the read-only/open-world profile. With the rate limit disclosed and the sibling alternative named, nothing essential for correct invocation is missing.

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 all five parameters are already documented, including sort values and the per_page maximum. The description only restates q verbatim and adds no syntax, query-operator, or default-value information beyond the schema, making the baseline 3 appropriate.

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 ("Searches public GitHub repositories") and states the return shape ("matching repository rows") plus an intended use case ("market or competitive discovery"). It also explicitly contrasts itself with github_search_users, so an agent can distinguish it from the nearest sibling without opening a 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 supplies a concrete usage context (market/competitive discovery) and routes user-oriented queries to github_search_users. It stops short of exclusions or guidance against other repo-listing siblings such as github_org_repos or github_trending, so it is clear but not fully discriminating.

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.