Skip to main content
Glama

Get chatbot insights

get_chatbot_insights
Read-only

Get AI-clustered question themes for a chatbot: top unanswered questions (knowledge/source gaps) and top answered questions. Use unanswered themes to suggest new content and messages.

Input Schema

NameRequiredDescriptionDefault
toNoISO date (default today).
fromNoISO date (default 30 days ago).
chatbot_idYesThe chatbot id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds the nature of the output (clustered themes, gap analysis), but says nothing about freshness, cost, or clustering behavior beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler. The primary output (unanswered/answered themes) is front-loaded, and the usage hint follows.

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 must convey return content, and it does specify the two theme categories. Coverage is nearly complete; only the default time window and any result limits are left unstated.

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%, including defaults for the from/to date window, so the schema carries parameter meaning. The description adds nothing about parameter semantics or the default 30-day reporting window, making 3 the correct baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Get AI-clustered question themes for a chatbot') and enumerates the two content categories returned (top unanswered, top answered). This lets an agent distinguish it from siblings like get_chatbot_analytics without opening either schema.

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 gives a clear application context ('Use unanswered themes to suggest new content and messages'), which routes the agent toward the suggested-message tools. It stops short of stating when not to use it or contrasting it explicitly with get_chatbot_analytics.

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