Skip to main content
Glama

Get chatbot analytics

get_chatbot_analytics
Read-only

Get a chatbot's analytics for a period: conversation volume, feedback, answered-question %, negative-sentiment %, popular sources/categories, top countries.

Input Schema

NameRequiredDescriptionDefault
toNoISO date; used when period=custom.
fromNoISO date; used when period=custom.
periodNolast_7_days, last_30_days (default), or custom.
chatbot_idYesThe chatbot id.

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=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the period scoping and the returned metric list, which is useful given there is no output schema, but it says nothing about auth needs, rate limits, or data freshness.

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 with no filler. The enumerated metric list is a bit long but earns its place because no output schema exists to describe the return content.

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 read-only analytics tool, the description compensates for the missing output schema by naming the returned metrics, and annotations cover safety. The main gap is the absence of any routing versus the sibling get_chatbot_insights.

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 including period, from, and to are already documented in the schema. The description only restates 'for a period' and adds no format or dependency detail beyond what the schema provides, so the baseline 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?

States a specific verb (Get) and resource (chatbot analytics), and enumerates the metric groups returned, which lets an agent understand scope. However it does not differentiate itself from the similar-sounding sibling get_chatbot_insights.

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?

The phrase 'for a period' gives loose context, but there is no guidance on when to use this tool versus get_chatbot_insights or get_chatbot, and no stated prerequisites or exclusions.

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