Skip to main content
Glama

github_search_repositories

Search GitHub repositories by keyword, owner, repo, stars, forks, or update status to locate projects matching specific criteria. Provides read-only results for browsing and discovery.

Instructions

搜索 GitHub 仓库(只读)。

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

Input Schema

NameRequiredDescriptionDefault
qNo搜索关键词,可带 qualifier,如 "repo:owner/name" 或 "stars:>100"
pageNo
repoYes仓库名
sortNo
orderNo
ownerYes仓库所有者(用户或组织)
per_pageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, yet it only adds the 'read-only' safety signal. It says nothing about authentication, rate limits, pagination, or the shape of results, which matter for a search endpoint.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single short sentence is front-loaded and free of filler, but its brevity stems from under-specification rather than disciplined editing. Nothing is wasted because almost nothing is said.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter search tool with no annotations and no output schema, the definition leaves most required context unstated. An agent would have to inspect the schema and guess at pagination and result behavior.

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

Parameters2/5

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

Schema coverage is only 43% across 7 parameters, so the description would need to compensate and does not. Notably it gives no hint about the unusual required owner/repo pair alongside a free-text q with qualifiers, nor about page/per_page/sort/order.

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 states a specific verb and resource ('搜索 GitHub 仓库'), and the resource word 'repositories' distinguishes it from siblings like github_search_code and github_search_issues. It is terse but an agent can identify the target of the call.

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?

Only the read-only nature is disclosed; there is no explicit guidance on when to use this search instead of github_get_repository or the code/issue search siblings. Usage is implied by the resource name rather than stated.

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