Skip to main content
Glama
xici001

digital-twin-mcp

by xici001

check_alerts

Retrieve warning and critical alerts for a specific device or across all devices in the digital twin. Filter by device_id or scan all to get a graded alert list.

Instructions

检查告警:不传 device_id 时遍历全部设备,返回 warning / critical 分级告警列表。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries full disclosure burden and does meaningfully convey the all-device iteration default and the warning/critical tiering of results. It doesn't disclose whether the operation is safe/idempotent, whether the all-device scan has rate-limit or permission implications, or what happens with an invalid device_id. For a simple read-like check, it's adequate but not comprehensive.

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?

A single, front-loaded Chinese sentence delivers the verb, resource, conditional behavior, and return structure with zero fluff. Every clause earns its place, and the most decision-relevant behavior (the no-argument path) is placed at the core of the sentence.

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 tool with one optional parameter and an available output schema (which covers return structure), the description adequately covers purpose, the default no-argument path, and result tiering. The main omission is contrasting the provided-device_id case explicitly, but for this low complexity (1 param, no required fields, no nested objects), the description is nearly 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 description coverage is 0% — the schema only defines an unadorned nullable string with a null default. The description partially compensates by clarifying the meaningful null case (scan all devices), which is genuinely useful semantics beyond the schema. However, it never explicitly states what providing a device_id does (filtering to that device, presumably) or the expected format, so parameter meaning remains only partially established.

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 opens with a specific verb-resource pairing ('检查告警' / check alerts) and adds concrete behavioral scope: when device_id is omitted, it iterates all devices and returns tiered alert lists ('warning / critical 分级告警列表'). It stops short of 5 because no sibling tool in the list (list_devices, get_device_metrics, etc.) obviously overlaps with alerts, so explicit differentiation isn't tested.

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?

The description conveys usage context by clarifying the default behavior when device_id is not passed ('不传 device_id 时遍历全部设备') and identifying the two severity tiers in the response, which helps an agent understand the tool's scope. However, it provides no explicit when-to-use vs. alternatives guidance, exclusions, or performance caveats about scanning all devices. The usage guidance is implicitly conveyed rather than explicitly directed.

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/xici001/digital-twin-mcp'

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