Skip to main content
Glama

Create an issue

create_issue

Create a GitHub issue and immediately add its task to the aictrl backlog. The repository must be connected and live-authorized. Search for duplicates first with query_context (domain: issues, action: list, query: search words, params: {repoFullName: owner/repo}). Call only after the user explicitly asks to file the issue and confirms the repository, title and body. Uses existing labels, issue types and an open milestone (number or exact title); milestone is required because imported tasks are grouped by milestone. Returns url, issue_number and task_id. This write is not idempotent: do not blindly retry after a transport failure; search for the issue first.

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": {
      "organization_id": "<organization_id>",
      "repository_full_name": "<repository_full_name>",
      "title": "<title>",
      "body": "<body>",
      "milestone": "<milestone>"
    },
    "name": "create_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
typeNo
titleYes
labelsNo
milestoneYesExisting open milestone number or exact title. Required for the importer epic mapping.
organization_idYes
repository_full_nameYes

Output Schema

NameRequiredDescriptionDefault
urlYes
task_idYes
issue_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false and idempotentHint=false, and the description adds real context beyond them: the non-idempotent retry hazard, the auth/connection prerequisite, the milestone requirement driven by importer grouping, and the returned fields. This is exactly the kind of operational detail annotations cannot carry.

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?

Four dense sentences, front-loaded with the action and side effect, then preconditions, then the retry warning. Every sentence carries information, though the duplicate-search instruction is syntactically heavy and could be tightened.

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

Completeness5/5

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

For a 7-parameter write tool with an output schema, the description covers the risky parts: authorization, duplicate avoidance, required milestone, non-idempotency, and return values. Nothing an agent needs to invoke it safely is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 14%, so the description must compensate; it does for the hardest parameter by explaining milestone accepts an existing open milestone number or exact title and why it is required, and it clarifies repository_full_name as owner/repo and that labels/types must already exist. organization_id, title and body remain unelaborated, but they are largely self-evident.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Create a GitHub issue") plus the non-obvious side effect ("immediately add its task to the aictrl backlog"), which distinguishes it from siblings like query_context and update_backlog.

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

Usage Guidelines5/5

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

Gives explicit preconditions (repository connected and live-authorized), a mandatory duplicate check routed to a named sibling with concrete arguments, and a gate requiring explicit user request plus confirmation of repo, title and body. It also states when not to retry after a transport failure.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.