Skip to main content
Glama

Check devices for CVEs

correlate_devices
Read-onlyIdempotent

Find CVEs affecting specific devices at their exact firmware or software version, with fixes, vendor advisories, lifecycle status, and a prioritized fix plan.

Instructions

Find the CVEs that affect specific devices at their exact firmware or software version. Use this for any specific device and firmware. Send vendor, product and version exactly as the inventory says; no CPE is needed. Returns, per device: how it resolved, data coverage, an honest assessment, warnings, needs_review, result_hash (keep it for check_changes), the fix plan, and the top findings in priority order (known-exploited and confirmed first). Each finding gives the affected range with its source, the fix, advisory guidance and vendor advisories: cite the range source and the vendor advisory when explaining it. On client plans each device also gets lifecycle (vendor end of sale / end of support: quote its text and source_url; 'unknown' means the vendor publishes no date, never 'supported') and firmware (current or behind, latest version, security notes from the releases it misses). Zero CVEs on an unsupported device is not secure: future vulnerabilities will not be fixed. Report needs_review and partial coverage honestly and never call an empty, unresolved or partial result clean. Never send host names, IP or MAC addresses, user names or site names; such fields are stripped and listed under privacy. If a call fails, the error starts with what to do and ends with retry_guidance (retryable, retry_after_seconds, action): never retry when retryable is false.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "assets": "<assets>"
    },
    "name": "correlate_devices"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetsYesDevices to check: vendor, product, version and an optional neutral asset_id.
max_findingsNoFindings returned per device, highest priority first.
confirmed_onlyNoOnly CVEs confirmed for this version by a version range.
fix_available_onlyNoOnly CVEs with a fix available.
known_exploited_onlyNoOnly known-exploited CVEs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.3.3
    • changedInput schema / $defs / Device / description
      Previous value: -"One device from an inventory. Only these four fields are sent; anything else is dropped."New value: +"One device from an inventory. Only these five fields are sent; anything else is dropped."
    • changedInput schema / $defs / Device / properties / asset_id / description
      Previous value: -"Optional neutral id to map results back, for example 'asset-7'. Never a host name or address."New value: +"Optional id to map results back, for example your asset tag 'PLC-LINE-2' or 'asset-7'. An id that contains an IP, MAC or email address or is a host name with a domain is replaced with asset-N."
    • addedInput schema / $defs / Device / properties / part_number
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Optional vendor part, order or model number when the inventory holds it separately from the product name, for example 'IR809G-LTE-VZ-K9' or '3623-072202'. Matched exactly for end-of-life and firmware answers.",
      +  "title": "Part Number"
      +}
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, and the description still adds substantial behavior: per-device resolution and coverage, warnings, needs_review, result_hash retention for check_changes, lifecycle and firmware blocks on client plans, privacy field stripping, and a documented error contract where retry_guidance governs whether to retry. That is a lot of value beyond the structured hints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and no sentence is pure filler, but the returns block is one very long run-on sentence mixing resolution, coverage, hash, fix plan, ordering, citation policy, lifecycle and firmware. It could be split into short labeled clauses so an agent can parse the output contract at a glance.

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?

With no output schema, the description carries the burden of describing returns and does so thoroughly, including ordering semantics, lifecycle quote requirements and the unsupported-device caveat. Gaps are minor: the boolean filter parameters and any batch-size or rate expectations are not described.

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?

Schema coverage is 100%, so the parameters are already documented, and the description adds the notable 'no CPE is needed' expectation plus the exact-name matching rule for vendor/product/version and the neutral asset_id expectation. It does not explain the three boolean filters (confirmed_only, fix_available_only, known_exploited_only) or max_findings, so it adds only modestly on top of a complete schema.

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 and resource: 'Find the CVEs that affect specific devices at their exact firmware or software version', plus the scope 'Use this for any specific device and firmware'. This clearly separates a device-scoped CVE lookup from CVE- or product-scoped siblings such as lookup_cve and search_products, and it even names check_changes as the downstream consumer of result_hash.

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?

It gives a clear use condition ('any specific device and firmware') and practical input guidance ('send vendor, product and version exactly as the inventory says; no CPE is needed'), which tells the agent how to prepare a call. What is missing is explicit when-not-to-use routing, e.g. pointing to lookup_cve for a bare CVE id or get_fix_plan for a fix-only query.

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