Skip to main content
Glama

happyfox

Reply to a ticket as an agent

happyfox_add_staff_reply
Destructive

Add an agent reply to a ticket and/or change its status, priority, assignee, due date or tags. The contact is emailed ONLY if update_customer is true (HappyFox default: false). With no message it just updates properties. Moving to a completed status may require the category's compulsory custom fields. HappyFox: POST /api/1.1/json/ticket//staff_update/.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ccNoCC email addresses, as a comma-separated string.
bccNoBCC email addresses, as a comma-separated string.
htmlNoReply in HTML.
tagsNoTags to set, as a comma-separated string.
staffYesThe agent making the reply (happyfox_list_staff) id.
statusNoNew status id (happyfox_list_statuses).
subjectNoOverride the subject of the email sent to the contact.
assigneeNoAgent id to assign the ticket to (from happyfox_list_staff); null to unassign.
due_dateNoDue date, yyyy-mm-dd or dd/mm/yyyy.
priorityNoNew priority id (happyfox_list_priorities).
plaintextNoReply in plain text.
time_spentNoMinutes to add to the ticket's time spent (some categories require it).
send_surveyNotrue = send the satisfaction survey.
custom_fieldsNoCustom field values keyed "t-cf-<id>". Ticket fields (ids from happyfox_list_ticket_custom_fields); compulsory-on-completion fields are required when closing. Values: text = string, number = number, dropdown = choice id, multiple choice = array of choice ids, date = yyyy-mm-dd.
ticket_numberYesThe ticket NUMBER (the `id` field, e.g. 3 for #DC00000003) — not the prefixed display id.
update_customerNotrue = send the reply to the contact by email. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the lone destructiveHint, the description discloses the customer-email side effect and its default, the property-only mode when message is omitted, the compulsory-custom-fields prerequisite for completion statuses, and the underlying endpoint. No return format is given, but that is a minor gap for a ticket-mutation call.

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 compact sentences, front-loaded with the tool's two capabilities before the email caveat. The trailing endpoint line is slightly redundant but cheap and useful for debugging.

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 16-parameter tool with a nested custom_fields object and no output schema, the description covers the behaviors an agent must know before calling: email gating, property-only mode, and completion-field requirements. Response shape is the only substantive omission.

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, but the description adds interpretive value: it clarifies that reply and property changes are independent, and that update_customer gates outbound email. It stops short of explaining the cc/bcc or time_spent interactions beyond what the schema already says.

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 ('add an agent reply to a ticket') and extends it with the dual capability of updating status, priority, assignee, due date or tags. The email-gating sentence implicitly separates it from a private-note tool, so an agent can route between the two 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 Guidelines4/5

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

Gives clear operating conditions: the contact is emailed only when update_customer is true, and with no message the call is a pure property update. It does not explicitly name happyfox_add_private_note as the alternative when no customer-visible reply is wanted, so one inference step remains.

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.