Skip to main content
Glama

Create subticket

create_subticket

Create a sub-ticket under a parent ticket. This creates a new ticket (inheriting channel/assignee/project/customer/priority from the parent unless overridden) and links it to the parent as a checklist item in one call. Uses the same field names as create_ticket.

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": {
      "parent_ticket_id": "<parent_ticket_id>",
      "subject": "<subject>"
    },
    "name": "create_subticket"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoOptional body — stored IN FULL as the child ticket's body (like create_ticket, no length limit); the parent's checklist item shows a short preview of it. Response reports body_chars + description_is_preview.
typeNoType for the child ticket (feature_request | bug | task | question)
subjectYesSub-ticket subject/title — becomes both the checklist item title and the child ticket's subject
priorityNoPriority for the child ticket (default: same as parent)
commit_shaNoOptional git commit SHA to link to the child ticket
project_idNoProject UUID for the child ticket (default: same as parent)
sort_orderNoPosition among the parent's checklist items (default: 0)
customer_nameNoCustomer name for the child ticket (default: same as parent)
parent_ticket_idYesUUID of the parent ticket
commit_repo_full_nameNoGitHub repo (owner/repo) the commit_sha belongs to — must already be linked to the project. Omit to use the project's default repo.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare it is a non-read-only, non-destructive, non-idempotent, closed-world write. The description adds genuinely useful behavior beyond that: the atomic create-and-link composite, and the inheritance rules for channel/assignee/project/customer/priority when fields are omitted.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Three short sentences, front-loaded with the action and its composite nature, followed by inheritance rules and a naming-convention note. No filler or redundancy.

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

Completeness4/5

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

For a 10-parameter write tool with no output schema, the description covers the composite side effect and defaulting behavior well, with per-parameter detail supplied by the schema. It stops short of describing failure/partial-creation behavior or the returned identifiers, which an agent might want for a non-idempotent create.

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 every parameter is already documented, including the inheritance defaults and the subject-to-checklist-title mapping. The description only restates the inheritance behavior in aggregate, so it adds little beyond the schema and the baseline of 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?

States a specific verb and resource ('Create a sub-ticket under a parent ticket') and clarifies the composite effect: it creates a new ticket and links it as a checklist item in one call. This distinguishes it from plain create_ticket and from update_subticket, though it does so implicitly rather than naming those siblings.

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

Usage Guidelines3/5

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

Usage is implied by 'under a parent ticket' and by the note that it uses the same field names as create_ticket, which hints at the relationship between the two tools. There is no explicit when-to-use-this-vs-create_ticket guidance and no stated exclusions or prerequisites.

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.

Resources