Skip to main content
Glama

Trengo MCP by usefulapi

Get reporting metrics

trengo_get_reporting_metrics
Read-only

Aggregate support metrics over a period: new, created, assigned, closed and reopened tickets, average first response time and average total resolution time (seconds). Filter by team, channel, label or direction. Trengo: GET /reporting/metrics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
metricsYesWhich metrics to return.
end_dateNoPeriod end as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair.
team_idsNoOnly these team ids.
directionNoOnly INBOUND or OUTBOUND conversations.
label_idsNoOnly these label ids.
start_dateNoPeriod start as ISO 8601, e.g. 2026-09-01T00:00:00+00:00. Give it together with its pair.
channel_idsNoOnly these channel ids.

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

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safe-read profile is covered. The description adds useful context about aggregation, metric names, units in seconds, and filter axes, but it does not mention the required start/end date pairing constraint or any pagination/rate-limit behavior.

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 with the purpose, metric list, filters, and endpoint front-loaded. There is no redundant or wasted text, and the structure makes the key information immediately scannable.

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 read-only tool with 7 parameters and full schema coverage, the description adequately explains the aggregate purpose and available metrics. However, with no output schema it does not describe the response shape, and it omits the start/end date pairing requirement, leaving modest gaps.

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 the schema already documents every parameter, including enum options, date pairing, and required metrics. The description mostly repeats the metric names and filter axes, adding only the 'seconds' unit, which is a minor gain.

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?

States a specific verb ('Aggregate') and resource ('support metrics'), then enumerates the exact metric types and filter dimensions. It does not distinguish itself from sibling reporting tools such as trengo_get_agent_performance or trengo_get_ticket_details_report, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, and no alternative tools are named. The filter dimensions describe parameter behavior rather than selection criteria, leaving usage context implicit at best.

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.