Skip to main content
Glama
USBGuard-MCP

USBGuard-MCP

List Blocked Devices

list_blocked_devices
Read-onlyIdempotent

List USB devices that USBGuard currently blocks (present but unauthorized) to audit denied hardware and troubleshoot access issues.

Instructions

List devices USBGuard currently blocks (target block): present but not authorized.

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_blocked_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=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds useful domain semantics by defining 'blocked' as present-but-not-authorized, but says nothing about result ordering, pagination behavior, or whether the list is live-state or cached.

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 short sentence, front-loaded with the verb and resource, with the clarifying definition immediately following. No filler, no restatement of the name or title.

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 rich annotations, an output schema, and a fully documented single parameter, very little burden remains on the description. The one real gap is that it doesn't tell the agent how 'blocked' relates to the rejected/allowed siblings, which matters in a catalog this large.

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% and the single `limit` parameter is fully documented in-schema with default and max. The description adds no syntax or behavioral detail about the limit, so the baseline 3 applies.

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 devices USBGuard currently blocks") and pins down the semantic meaning with "present but not authorized," which distinguishes 'blocked' from 'rejected' conceptually. It never names the sibling tools (list_allowed_devices, list_rejected_devices) explicitly, so the differentiation is inferential rather than explicit.

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 phrase "target `block`" gives context that this is scoped to one USBGuard target category, and the parenthetical clarifies what that category contains. However, there is no explicit when-to-use versus when-to-use-a-sibling guidance or any precondition statement, leaving selection to inference.

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