Skip to main content
Glama

Get a device fix plan

get_fix_plan
Read-onlyIdempotent

Generate a device fix plan by vendor, product, and version, showing which updates clear which CVEs and the single step for known-exploited or all fixable issues.

Instructions

Fix plan for one device: fix groups (which update clears which CVEs) and the fix plan (the single step that clears the known-exploited CVEs, and the one that clears everything fixable). Send vendor, product and version exactly as the inventory says. Says so plainly when the device did not resolve or coverage is partial. Never send host names, IP or MAC addresses, user names or site names. 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": {
      "asset": "<asset>"
    },
    "name": "get_fix_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetYesOne device: vendor, product, version.

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/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world, so the bar is met and then exceeded: the description discloses that partial coverage or unresolved devices are reported plainly, defines the error envelope (action first, retry_guidance last), and states never to retry when retryable is false. It also names a data-privacy constraint (no host names, IP/MAC, user or site names) that the annotations cannot express.

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?

The return shape is front-loaded before the input and safety rules, which is the right order. Sentences are dense but each carries a distinct rule (exact matching, privacy, error format, retry policy); the final error sentence is the longest and could be split for readability.

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 a single parameter, no output schema and a partial-coverage return, the description covers what comes back, how failures look, and what must not be sent. Missing only minor operational detail such as whether results are cached or how large fix groups can be, which matters little for a per-device lookup.

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 baseline is 3; the description adds value by emphasizing exact-as-inventory matching for vendor/product/version and by prohibiting host names, addresses, user names and site names beyond the asset_id scrubbing the schema documents. It still doesn't say what happens if version is omitted, which the schema only implies via its null default.

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 opening clause names the resource and its two components concretely: fix groups (which update clears which CVEs) and the fix plan (the step clearing known-exploited CVEs versus everything fixable). That is specific enough to separate it from lookup_cve or check_changes, though it never names an alternative explicitly.

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 only implied: the tool answers for one device, so batch or inventory-wide needs belong elsewhere (get_device_batch, correlate_devices), but the description never says this. The guidance it does give ('send vendor, product and version exactly as the inventory says') is about input fidelity rather than when to choose this tool.

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