Skip to main content
Glama
saidsef

GitHub PR Issue Analyser

by saidsef

Github Search Issues Prs

github_search_issues_prs
Read-only

Search GitHub issues and pull requests with custom text and qualifiers, including closed and merged items, using any GitHub search filter.

Instructions

Searches issues and pull requests by text and qualifiers. Unlike github_list_open_issues_prs the query is the caller's, so closed and merged items are reachable and any qualifier GitHub search accepts works.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
queryYesTerms and qualifiers, e.g. 'rate limit repo:owner/name is:closed label:bug'
per_pageNoNumber of results per page (1-100)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv42.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the read-only nature is clear. The description adds the behavioral detail that the tool accepts arbitrary GitHub search qualifiers, providing more flexibility than a simple list. While it does not mention pagination quirks or response format, that is minor given the annotations and output schema.

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?

Two sentences, no fluff. The main purpose and differentiator are front-loaded in the first sentencewif the alternative is named in the second. Every word adds value.

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 annotations and output schema, the description covers the core usage: it targets search of any state (open/closed/merged) and accepts all GitHub qualifiers. It does not mention rate limits or that the query must be URL-encoded, but an agent with GitHub API knowledge should infer that. Overall sufficient for a search tool.

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 covers the 'query' parameter with an example, and query is requiredERSONEN. The description does not add extra semantics for 'page' or 'per_page', but schema already describes per_page (1-100) and defaults. With 67% coverage, the description's mention of qualifiers supplements the query schema, but overall the schema does most of the work.

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?

Describes a specific verb ('Searches') and resource ('issues and pull requests') with a clear scope (caller-supplied query, qualifiers). Explicitly differentiates from sibling github_list_open_issues_prs by noting that closed and merged items are reachable. Purpose is unmistakable.

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 states the key alternative (github_list_open_issues_prs) and implies why to use this tool (when you need closed/merged items or custom qualifiers). However, it does not explicitly say when NOT to use it or mention potential limitations such as GitHub search API quotas or the need for exact qualifier syntax.

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