Skip to main content
Glama

Channel counters

get_agent_connection_stats

Conversations, messages, unique visitors, last activity of one channel. For widgets prefer get_connection_analytics (fresher). Read-only.

Input Schema

NameRequiredDescriptionDefault
idYesAgent id (UUID) — from list_agents
connection_idYesChannel (connection) id (UUID) — from list_agent_connections

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does state 'Read-only' and flags a freshness caveat versus get_connection_analytics, which are useful behavioral facts an agent cannot get elsewhere. It omits permission requirements, stale-data behavior for non-widget channels, and why this tool is less fresh, so the disclosure is partial rather than rich.

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?

Three short sentences with the returned metrics front-loaded, then the routing hint, then the safety note. Nothing is wasted, though the first sentence is a noun fragment rather than a full statement of the operation, which slightly weakens the lead.

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 correctly compensates by listing the returned metrics, which is exactly what an agent needs to know. Both parameters are fully described in the schema and there are no annotations requiring explanation. The only gap is that freshness/staleness behavior is asserted but not explained.

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%: both id and connection_id are documented, including the source tools (list_agents, list_agent_connections). The description adds nothing about parameter meaning beyond the schema, so the baseline of 3 applies.

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 names the specific resource (one channel/connection) and enumerates the metrics returned: conversations, messages, unique visitors, and last activity. Combined with the tool name get_agent_connection_stats and title 'Channel counters', the intent is unambiguous. It does not restate the 'stats for an agent connection' framing explicitly, but the metric list does that work.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It explicitly routes one case away from this tool: 'For widgets prefer get_connection_analytics (fresher).' That names the alternative and the condition that selects it, which is more than most sibling tools do. It stops short of stating prerequisites (e.g., the connection must belong to the agent) but the core when/when-not guidance is present.

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.

Resources