Skip to main content
Glama

github_get_pull

Read a single GitHub pull request to inspect its details without making changes. Provide the repository owner and name, and optionally the pull request number.

Instructions

读取单个 Pull Request(只读)。

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add one real behavioral fact — '只读' (read-only) — which tells the agent the call is non-mutating, but it says nothing about authentication, rate limits, pagination, or what happens when the PR number is invalid.

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?

A single short sentence with no filler, and the read-only qualifier is placed immediately after the purpose. It is efficient, though the brevity reflects under-specification rather than tight writing.

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?

With no annotations, no output schema, and an undocumented third parameter, the description needs to do more work than one sentence. An agent cannot learn from it what the PR number parameter means or what the response contains.

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 already carry descriptions, but the 'number' parameter has no description anywhere. The tool description does not clarify that 'number' is the Pull Request number, so the one genuinely ambiguous parameter remains undocumented in both places.

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 names a specific verb and resource — reading a single Pull Request — and the word '单个' (single) implicitly separates it from the list_pulls style siblings. It stops short of naming the closest alternative, github_get_pull_diff, so an agent must still infer which retrieval variant to use.

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 when-to-use guidance, no preconditions (e.g. the PR must exist), and no mention of alternatives such as the diff or list variants. The agent is left to infer usage entirely from the name.

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