Skip to main content
Glama
USBGuard-MCP

USBGuard-MCP

List Rejected Devices

list_rejected_devices
Read-onlyIdempotent

List USB devices marked with a reject target and show event-observed entries that may no longer be present.

Instructions

List devices with target reject where observable. Rejected devices are removed from the system, so the daemon list usually omits them; entries may also come from events this server observed (see source) and may no longer be present.

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_rejected_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
Behavior4/5

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

Annotations already cover read-only, non-destructive, idempotent, and closed-world behavior. The description adds important operational context: rejected devices are removed from the system, the daemon list usually omits them, and entries may come from server-observed events and may no longer be present.

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?

The description is two sentences with the purpose front-loaded and the caveat following immediately. Every sentence adds necessary context, and there is no redundant wording.

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?

For a simple read-only list tool with an output schema and complete parameter schema coverage, the description supplies the key caveat about data source and availability. It is nearly complete, though it could more explicitly relate this tool to sibling listing tools.

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 only parameter is `limit`, and the schema already describes it fully with default, minimum, maximum, and meaning. The description adds no additional parameter semantics beyond what the schema provides, so the baseline of 3 is appropriate.

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 description states a specific verb and resource: list devices with target `reject` where observable. It is clear, but it does not explicitly differentiate this from sibling tools such as `list_blocked_devices`, `list_allowed_devices`, or `search_usb_devices`.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains data provenance and the possibility of missing or stale entries, but it gives no explicit guidance on when to use this tool versus alternatives. There are no named alternatives or conditions for choosing this lister over related listers.

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