Skip to main content
Glama

HappyFox MCP by usefulapi

List or search tickets

happyfox_list_tickets
Read-only

List tickets, newest activity first, with optional filters and HappyFox's search syntax. Paginated (page_info + data). Search q examples: status:"New","In Progress", priority:"High", assignee:none, tag:"billing", contact:"jane@example.com", unresponded:true, breached:true, duedate:overdue, created-after:"2026/01/31", last-modified-on-or-after:"2026/09/01", "Custom Field":"value". Separate several filters with a space. HappyFox: GET /api/1.1/json/tickets/.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoHappyFox search/filter string (see description).
pageNoPage number, starting at 1.
sizeNoResults per page, 1-50 (HappyFox default 10).
sortNoSort key, e.g. created (newest first), createa, updated, due, priorityd.
fieldsNoComma-separated top-level fields to return, e.g. id,display_id,subject,status — keeps responses small.
statusNo`_all` (default), `_pending` (every pending-behaviour status), or a status id from happyfox_list_statuses.
categoryNoOnly tickets in this category id (happyfox_list_categories).
minify_responseNoIf true, return only ticket ids.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, so the safety profile is covered; the description adds real behavioral detail on top: activity-ordered results, pagination via page_info + data, and that minify_response collapses output to ticket ids only. It omits auth/permission needs and rate limits, which keeps it out of the top band.

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?

Front-loaded with purpose, then pagination behavior, then the dense example block — every sentence carries information an agent needs to build a query. The long inline example list is justified by the deferred schema, though it is heavy for a single paragraph and would read better as a list.

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?

With no output schema, the description steps in with a return-shape hint (page_info + data) and the minify_response id-only mode, and it documents all eight parameters including defaults for status and page size. Missing only edge context such as maximum page depth or how total counts are surfaced.

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 schema's `q` entry explicitly defers to the description ('see description') and the description carries that load with real search syntax semantics — quoted OR sets, date formats, tag/contact/unresponded/breached/duedate operators, custom-field syntax. Other parameters gain little beyond the schema, so it is above baseline rather than maximal.

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 ('List tickets') plus scope and ordering ('newest activity first, with optional filters'). It is clearly distinguishable from the single-ticket sibling happyfox_get_ticket and from write tools like happyfox_add_staff_reply, but it never names a sibling or states the list-vs-get boundary explicitly.

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 concrete guidance for the filter parameter with a dozen worked examples and the composition rule ('Separate several filters with a space'), and flags filters as optional so unfiltered listing is viable. It stops short of any when-not or alternative-tool routing (e.g. 'use get_ticket when you already have an id').

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.