Skip to main content
Glama

list_anomalies

Read-onlyIdempotent

Retrieve anomaly counts per resource, listing VMs with active anomalies sorted by severity. Use to identify problematic resources and follow up with alerts for root cause analysis.

Instructions

[READ] Report per-resource anomaly counts (System Attributes|total_alarms metric).

The public suite-api does not expose the UI's anomalous-metrics list; this returns the Total Anomalies metric — active anomalies (symptoms, events, DT violations) on the object and its children. With resource_id: that resource's count. Without: scans up to limit VMs and returns those with non-zero counts, sorted descending. For root cause, follow up with list_alerts(resource_id=...). One stats call per VM when listing — keep limit modest.

Args: resource_id: Optional resource UUID to scope to a single resource. limit: Maximum VMs to scan when listing (1–100). Default 50. target: Optional Aria Operations target name from config. Uses default if omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resource_idNo
limitNo
targetNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations already declare readOnlyHint, destructiveHint, idempotentHint. Description adds beyond: explains metric source, that it includes active anomalies on object and children, scans VMs and sorts descending, and notes API limitations. No contradictions.

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?

Well-structured with summary line, then context, then behavior, then args. Slightly verbose but every sentence adds value. Front-loaded with purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given output schema exists, description doesn't need to detail return values. It covers behavior, parameter usage, cost implications, and alternatives. Complete for a tool of this complexity with rich annotations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema has no property descriptions (0% coverage), but the description includes an Args section that explains each parameter: resource_id (optional UUID for single resource), limit (max VMs, range 1-100, default 50), target (optional target name). This compensates fully.

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 starts with '[READ] Report per-resource anomaly counts (System Attributes|total_alarms metric)', clearly stating the verb (report) and resource (anomaly counts). It differentiates from siblings by specifying it returns counts of active anomalies and contrasts with list_alerts for root cause.

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

Usage Guidelines5/5

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

Explicit when-to-use: with resource_id for a single resource, without for scanning VMs up to limit. Warns about cost ('keep limit modest') and recommends follow-up with list_alerts for root cause. No ambiguity.

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/zw008/VMware-Aria'

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