Skip to main content
Glama
USBGuard-MCP

USBGuard-MCP

Check Permissions

check_permissions
Read-onlyIdempotent

Probes which read-only USBGuard capabilities an account has—listing devices, listing policy, and listening to events—and explains what an administrator must grant. Does not change permissions.

Instructions

Probe which read-only capabilities (list devices, list policy, listen to events) this account has, and explain what an administrator would need to grant. Never changes any permission.

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": "check_permissions"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/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 'Never changes any permission' largely restates structured data. The one genuinely additive piece is that the output includes an explanation of what an administrator would need to grant, which goes beyond the annotations but is not developed further.

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?

A single sentence plus a short negative constraint, front-loaded with the capability-probing purpose. Every clause carries information, though 'read-only' and 'Never changes any permission' partially overlap.

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 zero params, rich annotations, and an output schema describing return values, the description covers everything an agent needs to select and invoke it. It stops short of noting failure/partial-permission behavior or how results differ from a plain health or server-info check.

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?

The tool takes zero parameters (additionalProperties: false), so there is no parameter meaning for the description to supply. Baseline 4 applies; nothing is missing on this dimension.

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 names a specific verb ('probe') and a specific resource ('read-only capabilities'), then enumerates the exact capabilities probed (list devices, list policy, listen to events). That distinguishes it from execution-oriented siblings like list_usb_devices or list_policy_rules without naming any of them, though no sibling is called out explicitly.

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

Usage Guidelines4/5

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

Usage context is clear: call this to discover which capabilities the account holds and to get remediation guidance ('explain what an administrator would need to grant'). There are no explicit exclusions or named alternatives such as health_check or get_server_info, which keeps it from a 5.

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