Skip to main content
Glama

happyfox

Create a ticket

happyfox_create_ticket
Destructive

Open a new ticket on behalf of a contact (created if the email is new). Needs a category id (a public category), a subject and a message in text or html. HappyFox: POST /api/1.1/json/tickets/.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ccNoCC email addresses, as a comma-separated string.
bccNoBCC email addresses, as a comma-separated string.
htmlNoMessage in HTML (text or html is required).
nameYesContact name.
tagsNoTags, as a comma-separated string.
textNoMessage in plain text (text or html is required).
emailYesContact email address.
phoneNoContact phone number.
subjectYesTicket subject.
assigneeNoAgent id to assign the ticket to (from happyfox_list_staff); null to unassign.
categoryYesThe category (happyfox_list_categories; must be public) id.
due_dateNoDue date, yyyy-mm-dd or dd/mm/yyyy.
priorityNoPriority id (happyfox_list_priorities); defaults to the default priority.
custom_fieldsNoCustom field values keyed "t-cf-<id>" / "c-cf-<id>". Ticket (t-cf-) and contact (c-cf-) fields; required ones must be present. Values: text = string, number = number, dropdown = choice id, multiple choice = array of choice ids, date = yyyy-mm-dd.
visible_only_staffNotrue = private ticket, visible to staff only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With annotations providing only destructiveHint=true, the description adds a genuine behavioral disclosure: the contact is auto-created if the email is new, which is a side effect the agent must anticipate. It does not cover permissions, rate limits, or what the ticket write actually returns, so it is good but not rich.

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?

Two tight sentences plus an endpoint reference, with the operation and its key prerequisites front-loaded. The HappyFox POST path is arguably redundant but harmless.

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 mutation tool with no output schema but full schema coverage, the description covers the core operation and the notable contact-creation side effect. Return values and auth expectations remain unstated, but an agent has enough to call it correctly.

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 15 parameters are already documented (including the public-category constraint and the text/html requirement the description echoes). The description adds no syntax or format detail beyond what the schema carries; baseline 3 applies.

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 ('Open a new ticket') on behalf of a contact, and distinguishes itself from creation siblings (create_contact) by naming the side effect of creating a contact when the email is new. An agent can identify the operation without opening the schema.

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?

The description lists prerequisites (public category, subject, text/html message), which is useful context, but it never states when to pick this tool over alternatives or any when-not conditions. Usage is implied rather than explicit.

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.