Skip to main content
Glama

ViewChat

viewchat_get_analytics

Read-onlyIdempotent

Get daily conversation counts, unique participants, message volume, and average response latency by participant.

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

Input Schema

NameRequiredDescriptionDefault
sinceNoOptional Unix timestamp (ms) start of range (defaults to 7 days ago)
untilNoOptional Unix timestamp (ms) end of range
groupIdNoOptional group ID to scope analytics

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description contributes useful scope information (daily granularity, per-participant attribution) but says nothing about how latency is averaged, whether results are paginated, or what happens with no data in range.

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 listing the returned metrics with no filler. It is efficient, though the metric list is dense enough that grouping in a clause per category would read slightly better.

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?

For a simple, fully documented, read-only analytics call with annotations covering safety, the definition supplies what an agent needs to decide and call it. No output schema exists, and the metric enumeration largely compensates for that, leaving only aggregation details unspecified.

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 coverage is 100% and all three optional parameters (since, until, groupId) carry their own descriptions including the 7-day default, so the schema does the heavy lifting. The description only adds that output is aggregated daily, which is marginal beyond the structured fields.

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 pairs a specific verb ("Get") with a precise set of returned metrics (daily conversation counts, unique participants, message volume, average response latency), which is enough to tell it apart from viewchat_get_messages or viewchat_list_conversations. It does not explicitly name siblings, but the resource is unambiguous.

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: nothing says to prefer this over viewchat_list_reports for reporting, or whether it is suitable for one-off inspection vs dashboards. The analytics framing implies the use case but no alternative or exclusion is stated.

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.