Skip to main content
Glama

github_search_issues

Search issues and pull requests across repositories using query syntax, then paginate, sort, or order results for read-only triage.

Instructions

跨仓库搜索 Issue/PR(只读)。

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
qYesIssue/PR 搜索语法,如 "repo:owner/name is:issue is:open"
pageNo
sortNo
orderNo
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 must disclose behavior, and all it states is that the operation is read-only. Nothing covers GitHub search rate limits, result ordering defaults, pagination behavior, or authentication requirements, even though sort/order/page/per_page parameters exist and imply those concerns.

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?

It is a single, front-loaded phrase with zero waste, but its brevity comes at the cost of under-specification rather than economy. There is no structure to hang usage or behavior details on.

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?

Five parameters at 20% coverage, no output schema, and no annotations make this a tool with substantial undisclosed surface. A one-line description does not supply enough for an agent to call it correctly, especially around pagination and sorting.

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 description coverage is only 20% – only 'q' is documented. The description adds no meaning for 'q' beyond 'Issue/PR search' and says nothing about page, per_page, sort, or order, leaving four parameters undocumented in both schema and prose.

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 retains a specific verb and resource ('搜索 Issue/PR') and adds a scope qualifier ('跨仓库', cross-repository) that separates this search tool from a plain per-repo issue listing. An agent can tell what it does at a glance, though it never names the alternative tool.

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?

'跨仓库' implies the tool is for searches spanning multiple repositories, which hints at when to prefer it over repo-scoped listing. The description gives no explicit when-to-use, when-not-to-use, or alternative guidance.

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