Skip to main content
Glama

Sla report

sla_report
Read-onlyIdempotent

Pure SLA report: success_rate vs sla_target, breach flag. No mutation.

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": {
      "meter_id": "<meter_id>"
    },
    "name": "sla_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
meter_idYesThe meter id returned by create_meter.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed1 schema field changed
    • addedInput schema / properties / meter_id / description
      Added value: +"The meter id returned by create_meter."
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so "No mutation" merely restates structured data and earns no credit. The description does add which values the report yields (success_rate relative to sla_target plus a breach flag), but says nothing about scope, period covered, or error behavior when a meter has no data.

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 short sentences with the core comparison front-loaded; efficient overall. The trailing "No mutation" is redundant against the readOnlyHint/destructiveHint annotations and is the one clause that does not earn its place.

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?

An output schema exists and annotations cover the safety profile, so the description need not explain return values. However, for a reporting tool it omits the thing an agent most needs to know — the time window or scope the SLA is computed over — leaving a real gap despite the tool's low parameter count.

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 100% and the single meter_id property is documented in-schema as coming from create_meter, so the schema carries the parameter semantics. The description adds nothing about meter_id handling, so the baseline 3 applies.

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?

"Pure SLA report" names the resource and the two metrics it computes (success_rate vs sla_target, breach flag), which is specific enough to separate it from generic siblings like usage_summary or usage_timeseries. It stops short of explicitly contrasting itself with those tools, so it is clear but not sibling-differentiating in words.

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

Usage Guidelines2/5

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

There is no statement of when to pick this report over usage_summary, usage_timeseries, or list_events, nor any prerequisite context such as whether the meter must be active or the reporting window. "No mutation" barely implies read-only usage but gives no selection guidance.

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.