Skip to main content
Glama

sla_report

Read-onlyIdempotent

Generate SLA achievement reports by policy and metric from ticket metric events, including targets currently in breach.

Instructions

SLA achievement by policy and metric (first reply, next reply, requester wait, agent work time, periodic update...) from ticket metric events. A target counts as achieved if it was fulfilled in the range without a breach; breached if it breached. Also lists targets currently in breach.

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

Input Schema

NameRequiredDescriptionDefault
endNoEnd date YYYY-MM-DD (exclusive). Overrides period.
startNoStart date YYYY-MM-DD (inclusive). Overrides period.
periodNoReporting period: last_quarter, this_quarter, last_month, this_month, last_year, this_year, ytd, last_7_days, last_30_days, last_90_days, or a calendar unit like '2026-Q3', '2026-09', '2026'. Ignored if start/end are given.
max_pagesNoIncremental export pages (up to 1000 events each).
lookback_daysNoAlso read events this many days before start, so SLAs applied earlier but completed in range are attributed correctly.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and open-world, so the safety profile is covered. The description adds genuinely non-obvious aggregation logic: a target counts as achieved only if fulfilled in range without a breach, breached if it breached, and currently-breached targets are also listed. It does not discuss volume, pagination limits or cost, but the counting rules are the important behavioral disclosure here.

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?

Two sentences with no filler, leading with what is measured and following with the achievement definition. Dense but well front-loaded; the parenthetical metric list is the only element that pushes length.

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 carries the burden of explaining what comes back, and it does so by stating the dimension of aggregation (by policy and metric) plus the extra in-breach listing. Combined with a fully documented 5-parameter schema and rich annotations, an agent has enough to invoke it correctly and interpret results.

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% and the schema already documents start/end exclusivity, period formats, max_pages and lookback_days in detail. The description adds no parameter-level information beyond that, so it sits at the baseline for fully documented schemas.

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 a specific resource and enumerates the metrics covered (first reply, next reply, requester wait, agent work time, periodic update) and the data source (ticket metric events), so an agent knows exactly what it returns. It does not explicitly contrast itself with overlapping siblings such as reply_time_report or kpi_trends, so it stops short of a 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?

Use for SLA attainment reporting is implied by the metric enumeration and the achieved/breached semantics, but there is no explicit when-to-use or when-not-to-use statement. Nothing tells the agent how this differs from reply_time_report or when to prefer one over the other.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.