Skip to main content
Glama

Trengo MCP by usefulapi

Get ticket details report

trengo_get_ticket_details_report
Read-only

Per-ticket reporting rows: status, assignee, labels, first reply, first resolution and total resolution times (with and without business hours). Filter by team, channel, label, direction, status and created/closed/assigned date ranges; sort by a timing metric. For large accounts page with start_after_ticket_id instead of page. Trengo: GET /reporting/details/ticket.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (1-based). Omit for the first page.
sort_byNoSort column.
statusesNoOnly tickets in these statuses.
team_idsNoOnly these team ids.
directionNoOnly INBOUND or OUTBOUND conversations.
label_idsNoOnly these label ids.
sort_orderNoSort direction.
channel_idsNoOnly these channel ids.
closed_end_dateNoClosed-until as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair.
created_end_dateNoCreated-until as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair.
assigned_end_dateNoAssigned-until as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair.
closed_start_dateNoClosed-from as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair.
created_start_dateNoCreated-from as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair.
assigned_start_dateNoAssigned-from as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair.
start_after_ticket_idNoKeyset cursor: return tickets after this ticket id (replaces page for huge accounts).

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.1/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true, so the safety profile is covered; the description adds beyond that by disclosing the returned columns and the business-hours vs non-business-hours timing distinction, plus the keyset-pagination behavior for large accounts. It does not mention rate limits or result caps, so it is not fully exhaustive.

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 dense sentences, front-loaded with what the report returns before filters, sorting, and pagination. Efficient, though the filter list is somewhat run-on and the endpoint suffix adds little for an agent.

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 15 optional parameters, no output schema, and only a readOnlyHint annotation, the description compensates well by naming the returned columns and the pagination strategy. It is close to complete, missing only edge details like maximum page size or date-range pairing constraints beyond what the schema states.

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 is already documented, including the 'give it together with its pair' date-pairing rule and the keyset-cursor explanation. The description largely restates the filter/sort surface provided by the schema, so the baseline 3 is appropriate.

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 ('Per-ticket reporting rows') and enumerates the returned dimensions (status, assignee, labels, first reply, first/first-resolution/total resolution times). The phrase 'Per-ticket reporting rows' cleanly distinguishes it from sibling aggregate tools like trengo_get_reporting_metrics and trengo_get_agent_performance.

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 real operating context: which filters are available, that you sort by a timing metric, and specifically that huge accounts should page with start_after_ticket_id instead of page. It stops short of naming sibling tools or stating when this report is the wrong choice versus the metrics/agent-performance reports.

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.