Skip to main content
Glama

happyfox

Edit a ticket's custom fields

happyfox_update_ticket_custom_fields
Destructive

Set ticket custom-field values (t-cf-, ids from happyfox_list_ticket_custom_fields). HappyFox: POST /api/1.1/json/ticket//update_custom_fields/.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
staffYesThe agent making the change id.
custom_fieldsYesCustom field values keyed "t-cf-<id>". Ticket fields only. 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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations declare destructiveHint=true, so the safety profile is partially covered, and the description adds the underlying POST endpoint. It still does not explain why the operation is destructive (i.e., whether existing values are overwritten vs merged) or note authorization needs, leaving the key behavioral question unanswered.

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 compact sentences with the action front-loaded and the id-source dependency immediately following. The raw endpoint sentence is mild boilerplate but conveys the HTTP method, so waste is minimal.

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

Completeness3/5

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

For a three-parameter destructive mutation with a nested object and no output schema, the schema carries parameter detail but the description omits the merge-vs-replace behavior and any permission requirements. Adequate to invoke, but not fully complete on the semantics an agent should know before writing.

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% and the schema already documents the t-cf-<id> key pattern, value-type mapping, and the ticket_number semantics. The description only restates the key format and names the id source, adding little beyond structured fields, so the 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 ('Set ticket custom-field values') and disambiguates from the sibling list tool by pointing to happyfox_list_ticket_custom_fields for ids. An agent can tell what it does and what it is not (e.g., not updating tags or a ticket itself).

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?

Provides a useful dependency pointer to happyfox_list_ticket_custom_fields for obtaining custom-field ids, which implies the intended workflow. However, it never states when to use this versus sibling mutators, nor any prerequisites such as required permissions or whether values are replaced.

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.