Skip to main content
Glama

Groundsocial

Search GitHub issues and pull requests

github_search_issues
Read-onlyIdempotent

Search GitHub issues and pull requests with GitHub’s query syntax.

GitHub’s issue search with its qualifiers (repo:, org:, is:issue, is:pr, is:open, label:, author:, involves:, in:title, created:, …). sort: comments, reactions, reactions-+1, interactions, created or updated (default: best match); order desc (default) or asc. since/until add a created: qualifier. GitHub serves at most 1,000 results per query.

Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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_issues"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesGitHub issue search query.
pageNo1-indexed page number (default 1).
sortNoSort field (default: best match).
afterNoCursor: the previous page’s `next_cursor` (instead of page).
orderNodesc (default) or asc.
sinceNoOnly items on or after this date (YYYY-MM-DD or ISO 8601).
untilNoOnly items on or before this date (that whole UTC day for YYYY-MM-DD).
per_pageNoItems per page, 1-100 (default 30).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent and non-destructive, yet the description still adds real behavior: a hard 1,000-result cap per query, a 1-credit cost with automatic refund on failure, public-data-only scope, and the presence of cost_credits/credits_remaining in results. These are the kind of operational facts an agent cannot get from annotations or schema. It stops short of describing what an issue record contains or how next_cursor behaves in 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?

Capability, syntax, sorting, limits, and cost are front-loaded in that order, and the cost/safety line is correctly placed last. A few clauses restate schema content verbatim ('order desc (default) or asc', 'default: best match'), which is mild redundancy given full schema coverage.

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?

For an 8-parameter, read-only search tool with no output schema, the definition covers the essentials an agent needs: query language, sorting and date semantics, result ceiling, pagination hints, cost, and data visibility. Nothing required to call it correctly is missing, and the absence of an output schema is partly compensated by naming the fields returned alongside results.

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%, so the baseline is 3, but the description earns above baseline by explaining that since/until are translated into a created: qualifier and that sort's default is best match rather than a listed enum value. It also contextualizes the page maximum against the 1,000-result ceiling. The q parameter's syntax is described by reference to GitHub qualifiers rather than fully enumerated, but that is appropriate.

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 first sentence states a specific verb and resource ('Search GitHub issues and pull requests') plus the query mechanism, which is more than a restatement of the title. It does not, however, contrast itself with repo-scoped siblings like github_repo_issues or github_repo_top_issues, so the agent must infer that this is the global search entry point.

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?

Usage guidance is present but indirect: listing repo:, org:, is:issue, is:pr and label: qualifiers implies the tool can be scoped arbitrarily, which is the implicit reason to prefer it over repo-specific siblings. There is no explicit 'use this when / use X instead when' statement or statement of required scopes, so the routing is left to inference.

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.