Skip to main content
Glama
Backlog MCP Server

Backlog MCP Server

get_pull_request

Read-only

Retrieve details for a specific Backlog pull request by number, using optional repository or project identifiers to locate it accurately.

Instructions

Returns information about a specific pull request

Input Schema

NameRequiredDescriptionDefault
numberYesPull request number
repoIdNoRepository ID
repoNameNoRepository name
projectIdNoThe numeric ID of the project (e.g., 12345)
projectKeyNoThe key of the project (e.g., 'PROJECT')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.1
  2. Removedv0.13.1
  3. Changed1 schema field changedv0.11.0
    • addedInput schema / properties / organization
      Added value: +{
      +  "description": "Optional organization name. Use list_organizations to inspect available organizations.",
      +  "type": "string"
      +}
  4. Changed7 schema fields changedv1.0.0
    • addedInput schema / properties / projectId
      Added value: +{
      +  "description": "The numeric ID of the project (e.g., 12345)",
      +  "type": "number"
      +}
    • removedInput schema / properties / projectIdOrKey
      Removed value: -{
      -  "description": "Project ID or project key",
      -  "type": [
      -    "string",
      -    "number"
      -  ]
      -}
    • addedInput schema / properties / projectKey
      Added value: +{
      +  "description": "The key of the project (e.g., 'PROJECT')",
      +  "type": "string"
      +}
    • addedInput schema / properties / repoId
      Added value: +{
      +  "description": "Repository ID",
      +  "type": "number"
      +}
    • removedInput schema / properties / repoIdOrName
      Removed value: -{
      -  "description": "Repository ID or name",
      -  "type": "string"
      -}
    • addedInput schema / properties / repoName
      Added value: +{
      +  "description": "Repository name",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "projectIdOrKey",
      -  "repoIdOrName",
      -  "number"
      -]New value: +[
      +  "number"
      +]
  5. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds nothing beyond that – no mention of what fields come back, what happens when the PR number or repo identifiers don't resolve, or how the repoId/repoName and projectId/projectKey pairs interact. With no output schema, some of this burden falls on the description.

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 front-loaded sentence with zero filler. Brevity is appropriate, though it tips into under-specification given the tool's identifier complexity.

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 five parameters forming alternative identifier pairs, one required field, and no output schema, the description should clarify which identifiers suffice and roughly what is returned. It leaves both questions entirely to the schema, which only labels the fields.

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 description coverage is 100%, and all five parameters carry descriptions, so the baseline of 3 applies. The description adds no meaning beyond the schema, notably silent on why both repoId and repoName (and projectId and projectKey) exist as alternative identifiers.

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?

States a specific verb ('Returns') and resource ('information about a specific pull request'), and the word 'specific' signals single-resource retrieval as opposed to the sibling get_pull_requests list. It does not explicitly name the sibling, so differentiation is implied rather than stated.

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?

No guidance on when to use this versus get_pull_requests (list) or get_pull_request_comments. The agent must infer from the name alone that this is for fetching one PR by number.

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