Skip to main content
Glama

Widget/button channel analytics

get_connection_analytics

For a website widget/button/presentation channel: widget loaded, activated, chats started, voice calls started, plus estimated credits (text messages, voice minutes) for a date range. Read-only.

Input Schema

NameRequiredDescriptionDefault
idYesAgent id (UUID) — from list_agents
date_toNoTo (YYYY-MM-DD or ISO 8601)
date_fromNoFrom (YYYY-MM-DD or ISO 8601)
connection_idYesChannel (connection) id (UUID) — from list_agent_connections

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description carries the behavioral burden and does state that the operation is read-only. However, it does not describe permissions, pagination, response shape, or whether results are aggregate or time-series, leaving meaningful behavioral gaps.

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?

The description is compact and front-loads the channel context before listing the returned metrics. It contains no obvious filler, though the single dense sentence could be slightly easier to scan.

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?

The description lists the metrics being returned, which partially compensates for the absence of an output schema. Still, for an analytics tool with no annotations and no output schema, it does not clarify the response structure or pagination, so it is adequate but incomplete.

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%, so all four parameters are already documented in the schema. The description only mentions date range and channel context, adding limited meaning beyond the structured parameter definitions; baseline 3 is appropriate.

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 clearly scopes the tool to a website widget/button/presentation channel and lists the analytics it returns, including widget loaded, activated, chats, voice calls, and estimated credits. It is specific about the resource and metrics, though it does not explicitly distinguish this from closely related analytics tools such as get_agent_connection_stats or get_phone_channel_stats.

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?

Usage is implied by the channel type and date range, but there is no explicit guidance on when to use this instead of sibling analytics or connection-listing tools. The context is clear enough to infer the intended scenario, but alternatives are not mentioned.

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