Skip to main content
Glama
GitHub Projects MCP Server

GitHub Projects MCP Server

by ProRanked

add_sub_issue

Adds a child issue to a parent issue, creating a native parent-child relationship in GitHub via the beta API.

Instructions

Add a sub-issue relationship using GitHub beta API (creates native parent-child relationship)

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>",
      "parentIssueNumber": "<parentIssueNumber>",
      "childIssueNumber": "<childIssueNumber>"
    },
    "name": "add_sub_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesRepository name
ownerYesRepository owner
childIssueNumberYesChild issue number to add as sub-issue
parentIssueNumberYesParent issue number

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, and it only discloses that this is a mutation and that it uses a beta API. It says nothing about permissions required, idempotency (what happens if the child already has a parent), failure modes, or whether the operation is reversible.

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 the action front-loaded and no filler. The parenthetical restates the same idea in slightly different words but does clarify 'native', so it largely earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter mutation with no output schema, the definition covers identity and effect but omits what is returned and how failures surface. The beta-API note is the one piece of context that meaningfully helps an agent decide whether to rely on it.

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%, so all four parameters (owner, repo, parentIssueNumber, childIssueNumber) are already documented in the schema. The description adds no format or constraint detail beyond that, so the baseline 3 applies.

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?

Names a specific verb and resource ('Add a sub-issue relationship') and clarifies the effect is a native parent-child link, which is more precise than the bare name. It stops short of distinguishing this from plausible siblings like set_parent or link_issues, so an agent must still guess which relationship tool to pick.

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 use this versus alternatives, despite siblings such as set_parent and link_issues that appear to operate on issue relationships. No prerequisites (e.g., both issues must already exist in the same repo) or exclusions are stated.

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