Skip to main content
Glama

SteadyMetric Public Tools

SLA downtime budget

calculate_sla_budget
Read-onlyIdempotent

Turn an uptime target and period length into a downtime budget, then compare observed downtime. Numeric scenarios only. This assumes a continuous 24-hour service and a fixed day count. Contract exclusions, overlapping incidents, maintenance windows and service credits require interval and contract review; this is not a credit claim.

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": {
      "days": "<days>",
      "target": "<target>",
      "downtime": "<downtime>"
    },
    "name": "calculate_sla_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysYesDays in the period
targetYesUptime target (%)
downtimeYesObserved downtime (minutes)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral context beyond them: the computation assumes continuous 24-hour service and a fixed day count, and it disclaims credit-claim semantics, which tells the agent how far to trust the output.

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

Conciseness5/5

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

Three short sentences, front-loaded with the core action, followed by scope restriction and the assumption caveat. No filler or restated title text.

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?

For a three-parameter read-only calculator with no output schema, the description conveys what comes back (a budget plus a comparison against observed downtime) and its modeling assumptions. It stops short of stating the output units or format, which is the only notable omission.

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%, so the baseline is 3. The description confirms the intent of the three inputs (target, period length, observed downtime) and hints that days is a fixed count, but adds no unit, range or format meaning beyond the schema.

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?

The description opens with a concrete verb chain and resource: turn an uptime target plus period length into a downtime budget, then compare observed downtime. The domain (SLA downtime) is distinct from every sibling calculator, so an agent can route to it without opening the schema.

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

Usage Guidelines4/5

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

It states clear boundaries: numeric scenarios only, and it is explicitly not for contract exclusions, overlapping incidents, maintenance windows or service credits, nor a credit claim. The only gap is that it does not say where to go for those excluded cases, so the agent knows when-not but not the alternative.

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