Skip to main content
Glama

top_vulnerable_hosts

Rank hosts in a Cisco Secure Workload cluster by CVE severity, returning the top N with critical and high vulnerability counts to prioritize remediation.

Instructions

Rank the most vulnerable hosts in the cluster by CVE severity.

Iterates sensors, pulls each host's vulnerabilities, and scores them as (critical * 10 + high). Returns the top limit hosts with their CVE counts. Scanning is capped for safety on large clusters.

Args: limit: Number of top hosts to return (1–1000).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/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 burden and does so well: it discloses the internal scoring formula (critical*10 + high), that it iterates sensors, and that scanning is capped for safety on large clusters. The main gap is that it never states this is a read-only/no-side-effect operation or what permissions are required.

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?

Front-loads the one-line purpose, then adds a compact explanation of mechanism and a short Args block. Every sentence carries weight, though the sensor-iteration detail is mildly implementation-flavored.

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?

Output schema exists, so return-shape detail (top limit hosts with CVE counts) is a bonus rather than a requirement. For a single-parameter read tool with no annotations, the definition supplies enough mechanism and the safety cap to call it correctly; only auth/side-effect framing is absent.

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?

The schema has 0% description coverage and only a default, but the description adds the valid range '(1–1000)' and the meaning of the value ('Number of top hosts to return'), which the schema does not provide. It fully compensates for the single undocumented parameter.

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?

States a specific verb and resource ('Rank the most vulnerable hosts in the cluster by CVE severity') and gives the exact scoring formula, so an agent can distinguish it from get_workload_cves (per-workload) and summarize_cluster_posture. It does not name a sibling explicitly, keeping it short of a 5.

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 purpose (use this to find the worst hosts), but there is no explicit when-to-use vs when-not, no mention of get_workload_cves or top_risky_flows as alternatives, and no stated prerequisites.

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