Skip to main content
Glama

niobe_anomalies

Retrieve active anomalies where metrics exceed baseline mean plus two standard deviations. Filter results by service or lookback window to investigate runtime deviations.

Instructions

Get active anomalies — metrics that exceed baseline mean + 2σ.

Anomalies are detected automatically during snapshots once enough baseline samples exist (minimum 3 snapshots per service).

Args: service: Filter by service name (optional) since: Look back N minutes (default 30) limit: Max entries to return (default from config)

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

Input Schema

NameRequiredDescriptionDefault
limitNo
sinceNo
serviceNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden, and it delivers the single most important behavioral caveat: detection happens automatically only during snapshots and requires at least three baseline samples per service, which explains why results may be empty. It stops short of stating read-only guarantees, permissions, or whether "active" is bounded by the since window.

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 plus a compact args block; the definition of an anomaly is front-loaded and every line adds information. The docstring-style "Args:" block is slightly redundant with an existing JSON schema but still carries defaults the schema does not.

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, zero-required read tool with an output schema, the description covers purpose, detection preconditions, and parameter meaning adequately. It leaves minor gaps around what "active" means operationally and whether an empty response indicates no anomalies or an insufficient baseline.

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 0%, so the description must compensate, and it does explain all three parameters (service filter, look-back in minutes, max entries) plus effective defaults. However "default from config" for limit is unhelpfully vague, and the stated 30-minute default for since does not match the schema's null default, leaving ambiguity about actual resolution behavior.

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 gives a specific verb and resource ("Get active anomalies") and goes further by defining the detection rule (metrics exceeding baseline mean + 2σ), which separates it from catch-all tools like niobe_logs or niobe_errors. It never explicitly names a sibling it is not, so the differentiation is inferable rather than stated.

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?

Usage is implied by the domain (ask for anomalies when you want threshold breaches rather than raw logs or errors), and the scoping parameters suggest how to narrow a query. There is no explicit when-to-use/when-not-to-use guidance and no alternative tool is named for related questions like comparing two snapshots or reading logs.

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