Skip to main content
Glama
USBGuard-MCP

USBGuard-MCP

List Usb Devices

list_usb_devices
Read-onlyIdempotent

Lists USB devices recognized by USBGuard across all statuses and returns internal device IDs, enabling inspection and policy auditing.

Instructions

List USB devices recognized by USBGuard (usbguard list-devices), all statuses. device_id is USBGuard's internal ID, distinct from vendor_id/product_id.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_usb_devices"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum devices to return.

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so safety is covered. The description adds real value beyond that by mapping the tool to the underlying `usbguard list-devices` command and confirming no status filtering is applied, though it says nothing about result volume or ordering.

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?

Two short sentences with zero filler; the core scope statement comes first and the identifier clarification follows. Every clause carries information an agent would otherwise have to guess.

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 an output schema present, return values need no explanation, and rich annotations plus full schema coverage mean little is left to the description. The CLI mapping and the device_id distinction are the right additions; only the absence of any note on result limits/ordering keeps it from a 5.

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

Parameters3/5

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

The single `limit` parameter is fully documented in the schema (100% coverage) with default, minimum and maximum, so the schema carries the load. The description's note about `device_id` versus `vendor_id`/`product_id` is useful orientation but concerns returned fields, not the input parameter, so it doesn't raise the parameter score.

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 (list USB devices recognized by USBGuard) and pins the scope with 'all statuses,' which implicitly separates it from the filtered siblings like list_allowed_devices and list_blocked_devices. It stops short of naming an alternative outright, so differentiation is inferred rather than stated.

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?

'All statuses' hints that this is the unfiltered view and that status-filtered siblings exist for narrower queries, but no alternative is named and there is no explicit when-to-use/when-not-to guidance. The agent must infer the routing from the scope phrase alone.

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