Skip to main content
Glama

ticket_topics

Read-onlyIdempotent

Analyze Zendesk ticket volume by category fields and tags to see topic share, period-over-period growth, rising or falling issues, and CSAT, first reply, and resolution metrics per topic.

Instructions

What customers contact you about: ticket volume by category field values and tags, share of total, growth vs the previous period, rising/falling topics, and CSAT/first reply/resolution per topic. For free-text themes not captured by fields or tags, use sample_ticket_text.

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": "ticket_topics"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvNoAlso return chart tables as CSV: 'inline' in the response, or 'files' written under ZENDESK_FILE_ROOT/csv_dir.none
endNoEnd date YYYY-MM-DD (exclusive). Overrides period.
topNo
startNoStart date YYYY-MM-DD (inclusive). Overrides period.
filterNoExtra Zendesk search terms to narrow scope, e.g. 'group:"Tier 2" -tags:spam brand:acme'.
periodNoReporting period: last_quarter, this_quarter, last_month, this_month, last_year, this_year, ytd, last_7_days, last_30_days, last_90_days, or a calendar unit like '2026-Q3', '2026-09', '2026'. Ignored if start/end are given.
csv_dirNoFolder (inside ZENDESK_FILE_ROOT) for csv='files'.reports
sourcesNoCount dropdown/multiselect field values, tags, or both.
field_idsNoOnly these ticket fields (default: all active dropdown and multiselect fields).
date_fieldNocreated
max_ticketsNoUpper bound on tickets analyzed (≈1 API call per 100).
exclude_tagsNo
compare_previousNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered. The description adds real value by specifying what the report computes (comparison to previous period, rising/falling topics, per-topic satisfaction and reply metrics), effectively standing in for the absent output schema. It says nothing about cost or volume implications (the schema's max_tickets notes ~1 API call per 100 tickets) or about CSV side effects when csv='files'.

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 sentences, front-loaded with the core purpose, and every clause corresponds to something the tool actually returns. The metric enumeration is dense and slightly list-like, but it earns its place because there is no output schema to convey the same information.

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 13-parameter analytical tool with no output schema, the description explains the deliverables and one routing rule but leaves notable gaps: period vs start/end precedence, top-N behavior, the cost bound, and the CSV file-writing side effect are all handled only (or not at all) in the schema. It is adequate to pick the tool, but not fully sufficient to configure it well.

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 69%, so several parameters (top, max_tickets, csv, csv_dir, filter, exclude_tags, date_field) are documented only in the schema and not reinforced in the description. The description does implicitly explain the semantics of sources ('category field values and tags') and compare_previous ('growth vs the previous period'), which is meaningful added meaning. Baseline 3 fits a mid-coverage schema where the description covers only part of the surface.

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?

The description names the resource precisely ('what customers contact you about: ticket volume by category field values and tags') and enumerates the derived outputs (share of total, growth vs previous period, rising/falling topics, CSAT/first reply/resolution per topic). An agent can tell this is a contact-driver analytics report rather than a raw ticket fetch, which separates it from get_ticket/list_ticket_audits.

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?

It gives an explicit routing rule: for free-text themes not captured by fields or tags, use sample_ticket_text. That is a concrete alternative plus the condition that selects it. What it does not address is overlap with other reporting siblings such as csat_feedback or ticket_reply_times, which surface the same metrics without per-topic segmentation.

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