Skip to main content
Glama

createSupportTicket

Create a support ticket in a location. Returns the created ticket. ticket.text is the request in the requester's words; the requester and the administrators see it. When ticket.type is omitted, it is detected from the text. To open a ticket on behalf of a member, pass ticket.userRefRequester: the user.id of a getCustomers result of type "user", never its id and never a company; the member is notified that the ticket was opened for them. Omit it to open the ticket as the connected administrator. Call getLocations to list locations, or getLocation to fetch one by locationId. Never invent UUIDs; only use values from prior tool responses.

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": {
      "ticket": "<ticket>"
    },
    "name": "createSupportTicket"
  }
}

Input Schema

NameRequiredDescriptionDefault
ticketYesSupport ticket to create.

Output Schema

NameRequiredDescriptionDefault
ticketYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / ticket / properties / subscriptionRef
      Added value: +{
      +  "description": "ID of the subscription request this ticket holds the conversation of.",
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnly=false, destructiveHint=false, openWorld=false), the description discloses audience and side effects: ticket.text is visible to the requester and administrators, opening for a member triggers a notification to them, and type is auto-detected and later changeable. These are non-obvious behaviors an agent would otherwise have to guess.

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?

Purpose is front-loaded in the first two sentences, and the remaining guidance is dense but each sentence carries actionable constraint (visibility, notification, ID sourcing). Slightly long as a single unbroken block, but no filler.

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 nested-object creation tool with an output schema and full annotation coverage, this covers audience, defaults, auto-detection, and ID provenance well. Minor gaps remain around companyRefRequester trade-offs (e.g., the discriminationAndHarassment restriction), which only appear in the schema.

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 coverage is 100%, so the baseline is 3; the description adds real meaning on top by pinning userRefRequester to a user.id from a getCustomers result of type "user" and explicitly excluding the company id, and by explaining the default-to-authenticated-admin behavior. companyRefRequester's semantics are left to the schema.

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?

The description opens with a specific verb and resource ("Create a support ticket in a location") and states the return ("Returns the created ticket"). It is clearly distinguishable from the updateSupportTicket* and createSupportTicketComment siblings, which operate on existing tickets.

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?

It gives explicit when-to-use branching: pass ticket.userRefRequester to open on behalf of a member, omit it to open as the connected administrator, and omit ticket.type to let detection handle it. It also names the prerequisite tools for obtaining a valid locationId (getLocations/getLocation) and the hard rule against inventing UUIDs.

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