Skip to main content
Glama

github_get_issue

Retrieve a single GitHub issue by owner, repository, and issue number for read-only inspection.

Instructions

读取单个 Issue(只读)。

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": {
      "owner": "<owner>",
      "repo": "<repo>"
    },
    "name": "github_get_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYes仓库名
ownerYes仓库所有者(用户或组织)
numberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses only that the operation is read-only (只读). It says nothing about authentication requirements for private repositories, what happens when the issue does not exist, or what data is returned (body, comments, labels), which matters for a tool with no annotations and no 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The sentence is short and front-loaded with the verb and resource, with no filler. However, the brevity is under-specification rather than economy, since the tool has three parameters and no annotations to fall back 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?

For a simple read tool, the description still leaves too much unsaid: the undocumented 'number' parameter, the absence of annotations, and no output schema mean the agent gets no information about return content or failure behavior. The definition is functional but not complete enough to invoke confidently.

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 coverage is 67%: owner and repo are described in the schema, but the critical 'number' parameter has no description anywhere. The description adds no meaning beyond the schema, leaving the agent to infer that 'number' is the issue number identifying which issue to fetch.

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 pairs a specific verb (读取, read) with a specific resource (单个 Issue, a single issue), and the qualifier 单个 implicitly contrasts with github_list_issues and github_search_issues. It does not name any sibling explicitly, so the differentiation is only implied by the wording.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to choose this tool over github_list_issues or github_search_issues, and no statement of prerequisites such as needing a valid issue number or repository access. The only hint is the word 单个, which suggests single-item retrieval rather than listing.

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