Skip to main content
Glama

Get AI handover analytics

get_ai_handover_analytics
Read-onlyIdempotent

How often an automation or the AI answered first and a team member replied afterwards anyway, for comments and DMs. Comments: counted when an automation's first answer to a comment (public reply or private reply) came before any reply by a team member, and a team member then posted a reply to the same comment. DMs: counted when the first automated message in a conversation came before any message a team member sent from replient.ai, and a team member then sent one. Replies typed in the Instagram or Facebook apps are not attributed and not counted. Only pairs with both events in the date range count. Returns totals and rate, the time between the automated answer and the human reply, a series, a breakdown per automation and per team member, and recent examples with links. A high rate for one automation usually means its answers need a follow-up; the examples show why. Rates below 20 automated items are flagged in dataQuality as too few to compare. Comments on YouTube are left out while the brand owner is in YouTube API review, as in every comment aggregation of the product.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "brand": "<brand>"
    },
    "name": "get_ai_handover_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNo
fromNo
brandYes
channelNoall
examplesNoMost recent handed-over items to list (0-50).
intervalNoauto
timeZoneNo
includeTextNoAdd the comment or customer message text to examples. Needs the comments:read or messages:read scope and view access.
includeChartsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered; the description goes well beyond that with counting rules, exclusions (replies typed in the Instagram or Facebook apps are not attributed, YouTube comments omitted during API review), the requirement that both events fall in the date range, and the dataQuality flag for rates under 20 items. It also discloses the full return shape, including per-automation and per-team-member breakdowns and recent examples with links. For a read-only analytics tool this is unusually thorough behavioral disclosure.

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

Conciseness3/5

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

The core definition is front-loaded, which is right, and most sentences carry real information (exclusions, dataQuality threshold, return shape). However it is delivered as a dense run-on without any structural separation of counting rules, exclusions, and return values, so an agent must parse one long block to extract the operational constraints. It is information-dense rather than padded, but better formatting would earn a higher score.

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

Completeness3/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 does the work of explaining what comes back (totals and rate, timing, series, per-automation and per-team-member breakdowns, examples with links), which is genuinely complete on the output side. The gap is on the input side: a 9-parameter tool with 22% schema coverage and no meaning added for dates, channel, interval, or timezone is under-specified for an agent trying to call it correctly. Adequate overall, incomplete for its complexity.

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

Parameters2/5

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

Schema description coverage is only 22% across 9 parameters, so the description carries most of the burden and largely does not: brand, from, to, channel, interval, timeZone, and includeCharts are never explained. The one substantive hint is that only pairs with both events in the date range count, which clarifies from/to semantics, but nothing addresses the comments/dms/all channel enum or the auto/day/week/month/none interval enum. This leaves most parameters undocumented in either structured field or prose.

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 opens with a precise, non-generic definition of the metric it reports: an automation or AI answered first and a team member replied afterwards anyway, for comments and DMs. That verb-plus-resource framing is specific enough that an agent can tell it apart from generic analytics siblings like get_comment_analytics or get_dm_analytics without opening schemas. It stops short of naming any sibling explicitly, so it lands at 4 rather than 5.

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?

There is no explicit 'use this instead of X when Y' routing, no prerequisites, and no statement of when this tool is the wrong choice. The description does supply interpretive guidance ('a high rate for one automation usually means its answers need a follow-up; the examples show why') and a data-quality caveat for low-volume rates, which is useful context but is usage interpretation, not usage selection. Implied usage only.

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