Skip to main content
Glama

Mango Inventory

List tickets

list_tickets
Read-only

List defect and maintenance tickets, newest first, capped at about 500 (truncated when cut; filters narrow it). Filters: itemId, statuses (open, in_progress, done, wontfix; "open tickets" usually means open + in_progress), type, and a text search over title and description. Every row carries createdAt (when the problem was reported, the sort key) and reporterName (absent when nobody reported it: a maintenance plan created it, or it came from a logged-out QR report). Dates come twice, the epoch and its ISO twin: createdAtIso / closedAtIso are UTC instants, dueAtIso is a plain calendar day; the server does no timezone conversion. A ticket has no printed code: webUrl is its page in the web app and id the handle for update_ticket, add_comment and list_comments. The rows are the tickets the connected user sees in the app.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_tickets"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNo
itemIdNoOnly tickets on this item
searchNoText search over ticket title and description
statusesNoOnly these statuses — "open tickets" usually means ["open", "in_progress"]

Output Schema

NameRequiredDescriptionDefault
ticketsNoThe matching tickets
truncatedNoThe scan hit its cap — narrow the filters

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / tickets / items / properties / dueAtIso / description
      Previous value: -"The due date as a plain calendar day, \"YYYY-MM-DD\". A DAY, not a moment: the server does no timezone conversion, so do not re-zone it into the previous evening"New value: +"The due date as a plain calendar day, \"YYYY-MM-DD\". A DAY, not a moment: the server does no timezone conversion"
    • changedOutput schema / properties / tickets / items / properties / webUrl / description
      Previous value: -"Link to this ticket in the web app — give your user THIS, never the raw `id` (that is a machine handle for your next call). Absent when the deployment has no public address"New value: +"Link to this ticket in the web app, for a person to open; `id` is the handle for tool calls. Absent when the deployment has no public address"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavior: the ~500 cap with a `truncated` signal, no server-side timezone conversion, `dueAtIso` being a calendar day rather than an instant, and the reasons `reporterName` can be absent.

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 scope, ordering, and cap before filters and field notes, so an agent can stop reading early. It is on the long side and spends several clauses on field-level details that the output schema likely covers.

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

Completeness5/5

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

Covers ordering, truncation, filter semantics, ID handling for follow-up calls, and timezone caveats — everything needed to call and interpret results. Any return-field verbosity is harmless because the tool is otherwise fully specified.

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 coverage is 75% and the schema already documents itemId, search, and the statuses semantics including the "open tickets" hint. The description mostly restates those filters rather than adding syntax, defaults, or combination rules, so it sits at the baseline for high-coverage schemas.

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 ("List defect and maintenance tickets") plus ordering ("newest first") and a hard cap (~500). The agent knows exactly what this returns and how it differs from mutation siblings like update_ticket or add_comment.

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 practical selection guidance for filters, notably that "open tickets" usually means open + in_progress, and routes the agent to update_ticket/add_comment/list_comments via the `id` handle. However it never states when to prefer a different listing tool or when not to use this one.

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