Skip to main content
Glama

ticket_reply_times

Read-onlyIdempotent

Calculate per-ticket reply times: how long customers waited for each agent response and how long they took to reply, with Zendesk metrics for comparison.

Instructions

Every back-and-forth on one ticket: how long the customer waited for each agent reply and how long the customer took to respond, plus Zendesk's own metrics for comparison. The clock for an agent response starts at the first unanswered customer message.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ticket_id": "<ticket_id>"
    },
    "name": "ticket_reply_times"
  }
}

Input Schema

NameRequiredDescriptionDefault
ticket_idYes
time_zoneNoOverride the schedule's time zone with an IANA name if it isn't recognised.
schedule_idNoSchedule for business hours (default: the account's first schedule).
business_hoursNoAlso compute gaps in business hours using a Zendesk schedule.
include_automatedNoCount trigger/automation comments as agent responses.
include_internal_notesNoCount internal notes as agent responses.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description adds real semantic context the annotations cannot: the measurement convention that the agent-response clock starts at the first unanswered customer message, plus the comparison against Zendesk's native metrics. It stops short of noting that automated comments and internal notes are excluded by default, which materially changes the numbers.

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 sentences, both front-loaded with the substance: first what is computed, then the critical measurement convention. No filler, no restatement of the name or title.

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?

There is no output schema, and the description does not describe the shape of the result (per-reply pairs, per-agent breakdown, how Zendesk metrics are presented alongside). For a six-parameter analytical tool with no output contract, that leaves a real gap, though the core metric definition is well covered.

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 83%, so the schema already documents ticket_id, time_zone, schedule_id, business_hours, include_automated and include_internal_notes. The description adds no parameter-level meaning, such as how business_hours interacts with schedule_id or why the default exclusion of automated replies matters. Baseline 3 for a high-coverage schema.

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 names a specific resource (one ticket's reply cadence) and states exactly what is measured: customer wait per agent reply, customer response time, plus Zendesk's own metrics for comparison. It is clearly scoped to a single ticket, which implicitly distinguishes it from an account-wide report, though no sibling is named explicitly.

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 is only implied by the scoping language ('one ticket'). There is no explicit statement of when to pick this over the related reply_time_report sibling, and no prerequisites or exclusions are given. An agent can infer the single-ticket use case but gets no routing guidance.

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