GitHub: search_repos
github_search_repos[github] Search repositories. Supports GitHub qualifiers like 'mcp language:rust stars:>100'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | stars | |
| limit | No | ||
| query | Yes |
github_search_repos[github] Search repositories. Supports GitHub qualifiers like 'mcp language:rust stars:>100'.
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | stars | |
| limit | No | ||
| query | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds the useful behavioral fact that GitHub's search qualifier syntax is passed through, but says nothing about rate limits, sort defaults, or the 30-result cap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, front-loaded with the purpose and followed by the single most useful usage detail. Nothing is wasted.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema and zero parameter descriptions in the schema, the definition should explain sort and limit behavior. Those are entirely absent, so an agent cannot tell what sort defaults to or why results might be truncated.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description carries the full burden. It explains the query parameter well with a concrete example, but leaves sort and limit completely undocumented in both schema and description — including the limit's 1–30 range.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ("Search repositories") plus an example query, so the agent knows exactly what it returns. It does not explicitly distinguish itself from the sibling github_repo (single-repo lookup), leaving that differentiation to naming alone.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The example query implies when this tool is appropriate, but there is no explicit statement of when to use it instead of the sibling github_repo, and no mention of prerequisites or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.