Skip to main content
Glama

List open tickets

list_open_tickets

Retrieve open and pending support tickets with customer and invoice context, optionally filtered by status, priority, customer, or result limit for support triage.

Instructions

List open (and pending) support tickets, each enriched with customer and invoice context. Requires role ops and scope graph:read.

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_open_tickets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of tickets to return. Defaults to 50.
statusNoDefaults to open and pending. Pass open, pending, resolved, or closed to override.
priorityNoIf set, only tickets with this priority are returned.
customerIdNoIf set, only tickets for this customer are returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden, and it does disclose a real prerequisite (role ops plus graph:read scope) and that results are enriched with customer and invoice context. It does not state ordering, what happens when no tickets match, or the default result cap, so the read-only/safety profile is only partly covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences: the capability and its enrichment first, the access prerequisite second. Nothing is wasted and the key information is front-loaded.

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 read-only list tool with fully documented parameters and no output schema, this covers purpose, return enrichment, and authorization requirements adequately. Only minor gaps remain, such as result ordering and behavior on an empty match, which an agent could still call the tool correctly without.

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 every parameter (limit, status, priority, customerId) is already documented in the schema. The description's parenthetical '(and pending)' merely echoes the schema's default-status behavior and adds no new filtering semantics.

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?

The description opens with a specific verb and resource ('List open (and pending) support tickets') plus the enrichment it returns, so the agent knows exactly what comes back. It does not explicitly differentiate from siblings like get_account_graph, though the ticket-listing scope is self-evidently distinct from the account-graph and follow-up tools.

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?

Usage context is implied through the default behavior noted ('open and pending') and the stated prerequisites ('Requires role ops and scope graph:read'). However, there is no explicit when-to-use or when-not-to-use guidance and no named alternative for retrieving ticket data another way.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.