Skip to main content
Glama
USBGuard-MCP

USBGuard-MCP

List Allowed Devices

list_allowed_devices
Read-onlyIdempotent

Lists the devices USBGuard currently authorizes, so you can verify which USB devices are permitted by the active allow policy.

Instructions

List devices USBGuard currently authorizes (target allow).

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_allowed_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.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world scope, so the safety profile is fully covered without the description. The description only adds the policy-target semantics ('allow'), and says nothing about pagination, truncation when `limit` applies, or freshness of the snapshot.

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?

One sentence plus a parenthetical that carries the disambiguating detail; nothing is redundant and the scope qualifier is front-loaded.

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 and only one well-documented optional parameter, the definition covers what an agent needs to invoke it. The only gap is behavioral around the limit/pagination, which is minor for a read-only list tool.

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?

Schema description coverage is 100% for the single `limit` parameter, including default, bounds, and meaning, so the schema carries the parameter burden. The description adds no guidance on the limit or how to page beyond it, which is the baseline expectation here.

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 ('List') and resource ('devices USBGuard currently authorizes') and pins down the underlying policy target as `allow`, which implicitly separates it from the blocked/rejected siblings. It stops short of naming those siblings, so differentiation requires the agent to recognize the allow/block/reject trichotomy itself.

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?

The parenthetical target hint implies this is the read for authorized devices, but there is no explicit when-to-use statement and no named alternative such as list_blocked_devices. Usage is inferable rather than stated.

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