Skip to main content
Glama
AIops-tools

Monitoring AIops

swql_canned

Read-only

Run a named canned SWQL query to retrieve SolarWinds Orion monitoring data such as down nodes or flapping interfaces, with optional params, target, and row limit.

Instructions

[READ] Run a named canned SWQL query (e.g. nodes_down, flapping_interfaces).

Returns the same envelope as swql_query: {"rows": [...], "returned": N, "limit": L, "truncated": bool}. truncated is measured against the full result set — do not treat a capped result as the complete answer.

Args: name: Canned query name (from swql_library). params: Optional query params (e.g. {"min": 90} for a threshold). target: SolarWinds target name from config; omit for the default. limit: Maximum rows to return. Default 1000.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
limitNo
paramsNo
targetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.0

TDQS

A4.2/5.0
Behavior4/5

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

With readOnlyHint=true already covering the safety profile, the description adds real behavior: the return envelope shape and a warning that 'truncated' is measured against the full result set so a capped result must not be treated as complete. It does not mention auth/target permissions or rate limits, keeping it short of a 5.

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?

Front-loaded verb+resource in the first line, then return shape, then a structured args list. No filler sentences; the truncation warning and per-arg notes all earn their place.

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?

There is no output schema, so the description usefully supplies the return envelope and truncation semantics, and it documents all four arguments. Slightly incomplete in that it doesn't describe valid params keys per canned query or behavior when name is unknown.

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

Parameters4/5

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

With 0% schema description coverage, the description carries the burden and mostly succeeds: it explains name comes from swql_library, gives a params example ({"min": 90}), and clarifies target omits for default. The limit line merely repeats the schema default, adding little.

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?

States a specific verb (Run) and resource (named canned SWQL query) and gives concrete examples (nodes_down, flapping_interfaces). The 'canned' + 'from swql_library' framing clearly distinguishes it from the sibling swql_query (ad-hoc) and swql_library (catalog).

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 rather than stated: the reader infers you run this when a named query exists, and 'name ... from swql_library' routes to the catalog sibling. However, there is no explicit statement of when to prefer this over swql_query or any preconditions/exclusions.

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