Skip to main content
Glama

Get inbox and conversation analytics

get_inbox_analytics
Read-onlyIdempotent

Measure messaging performance over a window (default 30 days): messages received and sent, how many were answered by automation and its percentage, conversations, unread count, and average and median response time in seconds. With includeAccounts: true it adds a per-account breakdown (up to 25). For how much each automation ran use get_automation_usage; for the conversations themselves, list_conversations.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_inbox_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoWindow in days (default 30). Up to 365 days of history are available.
platformNoOnly this network, e.g. instagram or whatsapp. Omit for all.
workspaceIdNoWorkspace to work on (an id from list_workspaces). Not needed when this connection is tied to one workspace, or when you pass an account: the account's workspace is used.
includeAccountsNoAlso return the per-account breakdown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / platform / description
      Added value: +"Only this network, e.g. instagram or whatsapp. Omit for all."
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint), so the description's job is to add operational context, which it does: default 30-day window and a cap of 25 accounts in the per-account breakdown. It stops short of describing pagination or what happens at the 365-day history boundary, but the added constraints are genuinely useful.

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 dense sentences with no filler: the metric inventory comes first, the conditional breakdown second, and the sibling routing last. Every clause carries information an agent needs to interpret results or pick the right tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must carry the return-value burden, and it does by enumerating every reported metric including units (response time in seconds). For a read-only analytics tool with four fully documented optional parameters, nothing material is missing.

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 100%, so the baseline is 3; the description earns above that by explaining what includeAccounts actually produces (a per-account breakdown capped at 25) and restating the default window, which is more concrete than the schema's one-line parameter notes. It does not add syntax detail for platform or workspaceId, but those are already well documented in the schema.

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 uses a specific verb plus resource ("Measure messaging performance over a window") and then enumerates the exact metrics returned: messages received/sent, automation-answered count and percentage, conversations, unread count, average and median response time. It explicitly separates itself from siblings by naming get_automation_usage and list_conversations, so an agent can route correctly.

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

Usage Guidelines5/5

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

It names two alternatives together with the condition that selects each: use get_automation_usage for per-automation run counts, and list_conversations for the conversations themselves. Combined with the default-window framing, an agent knows both when this tool applies and when a sibling is the better choice.

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