Skip to main content
Glama

chat_analytics_compare

Read-only

Compare 2 to 8 WhatsApp chats side by side on reply speed, message share, message length, emoji, stickers, voice, formality, and main script, then list where each chat differs from the others' median.

Instructions

Compare 2 to 8 chats side by side (my share, reply speed, deferrals, length, emoji, stickers, voice, formality, main script) and list where each chat differs from the median of the others.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chats": "<chats>"
    },
    "name": "chat_analytics_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNo
chatsYes
beforeNo
accountNoAccount from list_accounts when several WhatsApp numbers are set up; default: default

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine non-obvious behavior beyond that: each chat is benchmarked against the median of the other chats, which is exactly what determines the returned differences. It still omits how the after/before window scopes the comparison, which is the main remaining behavioral gap.

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 dense sentence that front-loads the operation and then the metric list, with no filler. The parenthetical metric enumeration is long but each item earns its place by telling the agent what will be compared.

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?

An output schema exists, so return-format explanation is not required, and annotations cover the safety profile. Still, for a 4-parameter analytics tool with a required list argument, the description should say how the after/before window applies and what happens if a listed chat is unknown or out of range. It is adequate but leaves real gaps.

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 only 25% (only 'account' is documented). The description compensates for the 'chats' array by giving a cardinality constraint (2 to 8) that the schema does not express, which is valuable. However, 'after' and 'before' are entirely unexplained in both schema and description, so the meaning of the time-window parameters must be guessed.

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 (compare) and resource (2 to 8 chats) and enumerates the compared dimensions (my share, reply speed, deferrals, length, emoji, stickers, voice, formality, main script). The comparative baseline is spelled out ('differs from the median of the others'), which makes the tool's output intent unambiguous. It does not name sibling chat_analytics as the single-chat alternative, so differentiation is inferred rather than stated.

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?

The '2 to 8 chats' bound is an implicit usage constraint that tells the agent when this tool is applicable versus a single-chat analysis, but there is no explicit when-to-use/when-not statement and no named alternative. Guidance is implied rather than declared.

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