Skip to main content
Glama

facedancer_events

Read-onlyIdempotent

Retrieve and filter events emitted during USB device emulation, including data transfers, host events, connection status, and errors, with optional sequence limits.

Instructions

Events emitted by the emulation: type 'data' (received / proxied data, field 'source'), 'host_event' (field 'name': bus_reset, configured, set_address), connected, error, stopped.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum events to return.
typesNoOnly these events. Matches the event type (data, host_event, connected, ready, error, stopped), a host_event name (bus_reset, configured, set_address), a data source (e.g. ftdi, proxy, script) or the emulation kind (keyboard, ftdi...).
since_seqNoOnly events after this sequence number.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/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 openWorldHint=false, so the safety profile is covered. The description adds a useful taxonomy of event kinds and their payload fields ('source' for data, 'name' for host_event), which is genuine context beyond the annotations. It still omits whether this is a blocking live stream or a snapshot read, and whether events are ordered or retained.

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 dense sentence, front-loaded with the resource and then the event taxonomy; nothing is padded. It reads as a fragment rather than a sentence, but every clause carries information about event types and payload fields.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the safety profile is covered by annotations. What is missing is the operational context an agent needs to choose this tool: whether it streams or snapshots, how it relates to facedancer_logs, and how `since_seq` cursoring works in practice.

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 coverage is 100% and the `types` parameter already documents the same event-type, host_event-name, source and emulation-kind matching rules the description restates. The description therefore adds little beyond the schema; baseline 3 applies. It does not explain `since_seq` semantics (ordering/cursor behavior) beyond what the schema says.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the resource (events emitted by the emulation) and enumerates the event categories, so an agent can tell it is an event-feed reader. However, there is no explicit verb (list/read/fetch) and no differentiation from the sibling facedancer_logs, which plausibly returns similar diagnostic output. Purpose is inferable but not sharply stated.

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?

There is no when-to-use guidance at all: nothing says whether this is for live monitoring, post-run debugging, or correlating with facedancer_logs. No exclusions or alternatives are named, leaving the agent to guess between this and facedancer_logs.

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