Skip to main content
Glama
USBGuard-MCP

USBGuard-MCP

Get Event Statistics

get_event_statistics
Read-onlyIdempotent

Summarizes buffered USB events by kind, status, and presence to help you inspect current device activity and identify event patterns.

Instructions

Summarize the events currently in the buffer by kind, status and presence.

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

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.9/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 needs no restating. The description adds real context beyond them by scoping results to the events currently in the buffer, which signals transient/session-bound data that may be empty, plus the exact aggregation dimensions. It stops short of saying how an empty or rotated buffer is handled.

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?

A single front-loaded sentence with no filler, and the scoping constraint (currently in the buffer) appears before the grouping detail. Nothing could be trimmed without losing information.

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 parameters, an output schema covering return values, and full annotations, the description only needs to convey purpose and data scope, which it does. Only minor gaps remain, such as whether the buffer is time-windowed and what an empty result implies.

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 no parameters, so there is nothing for the description to disambiguate and the baseline is 4. The mention of kind/status/presence correctly describes output grouping rather than inputs, which does not mislead.

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 gives a specific verb (summarize) plus the resource (events currently in the buffer) and the grouping dimensions (kind, status, presence). It implicitly differs from listing siblings like get_recent_usb_events, but it does not name a sibling or explicitly contrast aggregation versus raw listing.

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?

Usage is only implied: an agent can infer this is the aggregate/summary view rather than a raw event stream, which is useful. There is no explicit when-to-use, when-not, or named alternative, so the agent must infer the boundary from sibling names alone.

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