Skip to main content
Glama
chatwoot-mcp
by md-riaz

get_agent_performance_report

get_agent_performance_report

Generates a one-agent performance report with fuzzy name matching, covering workload, SLA, issue and channel mix, slow conversations, and risk samples for Chatwoot analytics.

Instructions

One-agent report with fuzzy name matching for misspellings, workload, SLA, issue mix, channel mix, slow conversations, and risk samples.

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

Input Schema

NameRequiredDescriptionDefault
daysNo
limitNo
account_idNo
agent_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose a meaningful behavior beyond structured fields — fuzzy name matching tolerating misspellings — and names the report sections, but it says nothing about what happens when agent_name is empty or unmatched, permissions, cost/latency, or how the limit parameter bounds output.

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 front-loaded sentence with the key scope words ('One-agent report', 'fuzzy name matching') ahead of the content list. No filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter, zero-annotation, no-output-schema tool, the definition leaves important gaps: no default windows for days, no meaning for limit/account_id, no behavior when agent_name is blank. It describes what the report contains but not enough to invoke it correctly in edge cases.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters, so the description must compensate and largely fails to. Only agent_name gains meaning (fuzzy matching for misspellings); days, limit (default 20), and account_id (default 1) are entirely unexplained, including whether limit applies per section or to the whole report.

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?

It states a specific resource (a one-agent performance report) and enumerates its contents: workload, SLA, issue mix, channel mix, slow conversations, and risk samples. That enumeration distinguishes it from single-metric siblings like get_agent_sla_metrics or get_agent_resolution_workload, though it never names them explicitly.

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?

The phrase 'one-agent report' and the section list imply it is the consolidated per-agent view, but there is no explicit when-to-use, no when-not-to-use, and no pointer to any alternative tool. An agent must infer routing from the listed contents alone.

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

Deploy Server

Other Tools