Skip to main content
Glama

Inbox analytics

get_inbox_analytics
Read-onlyIdempotent

How the inbox is doing, from Spaces' own copy (never a platform call): messages from people by day and by hour, conversations by day, median first-response time (seconds) overall and for your AI agent, people and automations, the share of answered conversations only the AI agent answered, and who is waiting now (their message is the last one). from and to are dates (inclusive, default the last 30 days) in timezone (default the workspace time zone); account_id narrows it. null means nothing to measure. Pass view: 'summary' or fields for a shorter answer.

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
toNo
fromNo
viewNosummary: a compact item shape (ids, names, times, short text) to save tokens. full (default): everything.
fieldsNoComma-separated item fields to keep, such as id,name,last_message. id is always kept.
timezoneNo
account_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, closed-world, so the bar is lower; the description still adds real context by disclosing that results come from Spaces' own cached copy rather than a platform call, and that 'null means nothing to measure' — a caveat an agent would otherwise misread as an error. It stops short of describing freshness/lag guarantees for that copy.

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?

Front-loads the purpose, then moves to parameters and the null caveat, with no filler sentences. The long metric enumeration in the opening sentence is information-dense but could have been broken into a list for faster scanning.

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?

With no output schema and six parameters, the description carries the return-value burden itself and does so by enumerating every reported metric and the unit for response time (seconds), plus the null convention. Combined with defaults for dates and time zone, an agent can call this correctly without further documentation.

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 only 33%, so the description must compensate, and it does: it explains that from/to are inclusive dates with a 30-day default, that they are interpreted in the given timezone (defaulting to the workspace zone), and that account_id narrows scope. view and fields are left essentially to the schema text, which is the only remaining gap.

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?

Names a specific resource (inbox analytics) and enumerates exactly what is reported: messages by day/hour, conversations by day, median first-response time overall and for the AI agent, AI-only answer share, and who is currently waiting. The parenthetical 'from Spaces' own copy (never a platform call)' further pins down the data source, so an agent knows this is a local analytics read, not a live platform query.

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?

Gives operational guidance for parameters (default window of the last 30 days, workspace time zone default, account_id narrows, 'summary'/'fields' for a shorter answer) but never states when to prefer this over the analytics siblings such as get_analytics_overview. Usage is implied by the metric list rather than contrasted with alternatives.

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