Skip to main content
Glama

Agents analytics (page /analytics/agents)

get_analytics_agents

All metrics of the workspace's agents for a UTC date range (default: the page default), optionally one agent: totals, rates, daily series, funnel (widget loads → opens → conversations → contacts → leads), by agent / channel, leads by source, recent leads, credits by type, languages, pages, traffic sources, hours, durations, previous-period comparison. Read-only.

Input Schema

NameRequiredDescriptionDefault
toNoYYYY-MM-DD
fromNoYYYY-MM-DD
agent_idNo

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, the description carries the full burden; it usefully declares 'Read-only' and enumerates the metric groups returned. However it leaves gaps: it does not clarify what 'the page default' date range actually resolves to, nor mention pagination, auth/permission needs, or response format beyond the metric list.

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?

Purpose is front-loaded ('All metrics of the workspace's agents for a UTC date range...') before the return enumeration. It is a long single sentence, but the dense metric list earns its place because no output schema exists to document returns.

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 tool with no annotations and no output schema, the description compensates by declaring read-only status and listing the returned metric groups, and it explains all three parameters. Remaining holes are minor: the exact default date range and any pagination/limits.

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

Parameters4/5

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

Schema coverage is 67%, and the description adds real meaning: from/to are UTC dates that default to the page default, and agent_id is an optional single-agent filter. The one unlabeled schema param (agent_id) is at least semantically covered by 'optionally one agent'.

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 states a specific verb (get) and resource (workspace's agents metrics) scoped to a UTC date range with an optional single-agent filter. It enumerates the returned metrics (funnel, by-agent/channel, leads by source, etc.), making the purpose concrete. It stops short of naming how it differs from the several sibling analytics tools (get_agents_dashboard, get_analytics_sdr, get_campaign_analytics).

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 explicit when-to-use or when-not guidance, and no alternatives are named despite many sibling analytics tools. The only selection signal is implicit ('optionally one agent'), leaving the agent to infer this is the agents-scoped analytics versus dashboard/campaign/SDR variants.

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