Skip to main content
Glama

Export daily service levels

export_daily_service_levels
Read-onlyIdempotent

Service-level KPIs: per day (or per agent, or per platform) and interaction type, how many comments and DM conversations were received, answered, answered within 24 hours, and answered within 24 hours not counting weekends, the two service-level percentages, average and median first response time, and average measured handling time. Days are receipt days in timeZone (default: the brand's business-hours time zone). At most 100,000 interactions per call; narrow the range beyond that.

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": "export_daily_service_levels"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNo
fromNo
typeNocomment: one row per comment. dm: one row per DM conversation. all: both, ordered together.all
brandYes
statusNoOnly interactions whose current status is open or done in replient.ai.
groupByNoOne row per day, agent or platform, each split by type.day
timeZoneNoIANA time zone for plain dates in from/to, for days in the service-level export and for the weekend rule of the business-day service level. Defaults to the brand's business-hours time zone, otherwise UTC.
platformsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuinely new behavioral context beyond that: a hard 100,000-interaction cap per call and the timezone resolution rule for day bucketing and the weekend-exclusion metric. It does not describe pagination or how the result is delivered.

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 opening sentence is a single long clause chain enumerating metrics, which is dense but front-loads the purpose. The limit and timezone notes follow in separate sentences, which helps, but the metric list could be tightened without losing information.

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 and 8 parameters, the description carries most of the burden and largely meets it: the metric list effectively describes the returned columns and the cap plus timezone rules cover the main operational risks. Remaining gaps are the shape of rows for the agent/platform groupings and the status and platforms filters.

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 coverage is 50%, and the description compensates partially: it explains that days are receipt days in timeZone, that timeZone defaults to the brand's business-hours zone, and it implies the groupBy and type splits. It says nothing about status, platforms, or the from/to date format, which are documented only thinly or not at all in the schema.

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 names the specific resource and its granularity ("Service-level KPIs: per day (or per agent, or per platform) and interaction type") and enumerates the exact measures, so an agent knows this is a service-level export rather than a generic analytics call. It does not explicitly differentiate itself from siblings such as get_dm_analytics or get_inbox_summary, and the word "export" only appears in the name/title.

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 one concrete usage constraint — "At most 100,000 interactions per call; narrow the range beyond that" — which tells the agent when to shrink its query. However, there is no guidance on when to prefer this tool over the analytics siblings, and no statement of 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