Skip to main content
Glama
Younes-Alaoui-Ismaili

mcp-live-telemetry

Get anomalies

get_anomalies
Read-onlyIdempotent

Detect threshold crossings for temperature or vibration anomalies in industrial machine telemetry over a configurable time window, returning details like peak value and duration.

Instructions

Detect threshold crossings (temperature or vibration) over a time window.

Inputs: device_id (optional, omit to scan all devices), start and end (epoch ms, optional, default last 15 minutes), step_ms (default 30000), response_format. Returns { count, window, anomalies: [{ id, device_id, metric, started_at, ended_at, peak_value, threshold, sample_count }] }. A healthy machine returns no anomalies. Read only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoWindow end (epoch ms). Defaults to now.
startNoWindow start (epoch ms). Defaults to end minus 15 minutes.
step_msNoSampling step in milliseconds.
device_idNoRestrict to one device. Omit to scan every device.
response_formatNoText output format: 'markdown' (default, human readable) or 'json'.markdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYes
windowYes
anomaliesYes
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description reinforces that the tool is read-only and adds behavioral context: 'A healthy machine returns no anomalies.' It also outlines the return structure, which is consistent with annotations. No contradiction.

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?

The description is concise with two short paragraphs. The first sentence states the purpose, followed by input details and return structure. Every sentence adds value, and there is no redundancy.

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?

The description covers the tool's purpose, parameters, and return structure. With an output schema present, the explanation of return values is sufficient. However, it could briefly explain how step_ms affects anomaly detection granularity, so it is not fully complete.

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%, so the baseline is 3. The description repeats defaults and options already present in the schema (e.g., device_id optional, step_ms default 30000, response_format). It adds minimal extra meaning beyond the schema, so a score of 3 is appropriate.

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 clearly states the tool detects threshold crossings for temperature or vibration over a time window. It lists inputs and output structure, and the verb 'Detect' with resource 'anomalies' is specific. It distinguishes from siblings like list_devices and get_telemetry which serve different purposes.

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?

The description explains when to use the tool (detect anomalies) and implies that healthy machines return no anomalies. However, it does not explicitly state when not to use it or mention alternatives like get_telemetry for raw telemetry data. Still, the context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Younes-Alaoui-Ismaili/mcp-live-telemetry'

If you have feedback or need assistance with the MCP directory API, please join our Discord server