Skip to main content
Glama
paifas

mcp-web-tools

by paifas

github_search_repo

Search across code, issues, and pull requests in a single GitHub repository query. Supports GitHub search syntax and state filters.

Instructions

Search a GitHub repository across code, issues, and pull requests in one call. Code search uses /search/code (requires the repo to be indexed by GitHub). Issues and PRs use /search/issues. Works without a token (anonymous rate limits apply — set GITHUB_TOKEN for higher limits).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoWhat to search. 'all' fans out across code, issues, and PRs in parallel. Default 'all'.
repoYesGitHub repository in the form 'owner/repo'
queryYesSearch query. GitHub search syntax is supported (e.g. 'auth token', 'bug in login', 'TODO refactor', 'label:bug').
stateNoFilter for issues/PRs only. Ignored for code. Default 'all'.
maxResultsNoMax results per kind. Default 5 (so 'all' returns up to 15 total).
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses that code search requires indexing, that anonymous rate limits apply, and that 'all' fans out in parallel. It does not detail side effects or error handling, but the disclosed behaviors are sufficient for safe invocation.

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?

The description is three sentences, concise and front-loaded: the first sentence states the primary purpose. Every sentence adds essential information without redundancy, making it highly efficient.

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

Completeness4/5

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

Given the tool has 5 parameters, 2 required, no output schema, and multiple search types, the description covers usage, constraints, and behavior adequately. It could note return format, but completeness is high for the complexity level.

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

Parameters4/5

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

Schema coverage is 100% with descriptions for all parameters. The description adds value by explaining that 'all' fans out in parallel, that state is ignored for code, and default maxResults values. This enhances understanding beyond the schema alone.

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 clearly states the tool searches a GitHub repository across code, issues, and pull requests in one call, specifying the underlying API endpoints. It differentiates from sibling tools like github_get_repo_structure (structure) and github_read_file (reading files), making the purpose unambiguous.

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?

The description provides context on authentication (anonymous vs. token) and a prerequisite for code search (repo must be indexed). It implies usage for searching across repo content but does not explicitly state when not to use it or compare with alternatives, missing a small bit of guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/paifas/mcp-web-tools'

If you have feedback or need assistance with the MCP directory API, please join our Discord server