Skip to main content
Glama

Trengo MCP by usefulapi

Get agent performance

trengo_get_agent_performance
Read-only

Per-agent performance over a period: messages sent, notes, tickets assigned and closed, average first response and resolution times (with and without business hours). Trengo: GET /reporting/agent_performance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (1-based). Omit for the first page.
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.
user_idsNoOnly these user ids.
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

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered; the description adds genuinely non-obvious behavioral detail by disclosing that response/resolution averages are computed both with and without business hours. That is real context beyond the structured fields, though it says nothing about pagination behavior or result limits.

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?

A single dense sentence that front-loads the subject and only then enumerates the metric set, with the endpoint tacked on at the end. No filler or repetition.

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 no output schema, the description must carry the return-value burden, and it does by naming the metric families the report contains. It is slightly thin on the fact that all filters are optional and on pagination semantics, but nothing critical for invoking the tool is missing.

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 all seven filters (page, date pair, team/user/label/channel ids) are already documented in the schema, making 3 the baseline. The description adds no format guidance or interaction between filters beyond the period framing.

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 resource (per-agent performance) and enumerates the metrics returned — messages sent, notes, tickets assigned/closed, first response and resolution times — plus the underlying endpoint. It does not differentiate itself from the two sibling reporting tools (trengo_get_reporting_metrics, trengo_get_ticket_details_report), which keeps it from 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 Guidelines3/5

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

Usage is only implied by the phrase 'over a period' and the reporting framing; there is no explicit when-to-use statement and no routing to the sibling reporting tools. An agent can infer this is the per-agent analytics call, but nothing resolves the overlap with trengo_get_reporting_metrics.

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.