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

get_top_resolved_issue_labels

get_top_resolved_issue_labels

Rank issue labels by count across cached resolved conversations to identify top categories within a chosen period and result limit.

Instructions

Rank labels/categories by count across cached resolved conversations.

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_top_resolved_issue_labels"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
limitNo
account_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and all it adds is the word "cached", which hints at possible staleness or a dependency on prior cache population but is never explained. It says nothing about ranking order, permissions/account scoping, rate limits, or what an empty result means for a read tool.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity is driven by omission rather than tight editing.

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 tool with three undocumented parameters, no annotations, and no output schema, the one-line description is not sufficient: the time window, default limit behavior, and the cached-data caveat that materially affects results are all left unexplained. The agent can guess the general shape but not call it correctly with confidence.

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

Parameters1/5

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

Schema description coverage is 0% for all three parameters (days, limit, account_id), and the description adds no meaning: it never explains the time window, the default/meaning of limit, or the account scoping. The phrase "across cached resolved conversations" gives no indication of what days or account_id control, so the agent cannot set them confidently.

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 gives a specific verb and resource ("Rank labels/categories by count") scoped to "cached resolved conversations", so an agent knows it produces a ranked label frequency list rather than raw label metadata. It does not distinguish itself from close siblings such as get_resolved_issue_label_trends or get_emerging_resolved_issue_labels, leaving the agent to guess which ranking/trend view applies.

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 when-to-use guidance, no exclusion of alternatives, and no stated prerequisite (e.g. that resolutions must be cached first). The agent must infer that this is the plain top-N ranking versus the emerging/trend/period-comparison siblings from the name 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