Skip to main content
Glama

lw_ble_poll_notifications

Drain queued BLE notifications without waiting; an empty result means nothing arrived yet. The dropped counter reports overflow shed while unread.

Instructions

Drain whatever notifications are already queued, without waiting; an empty result means nothing has arrived yet. The dropped counter reports overflow that was shed while nobody was reading.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_itemsNo
connection_idYes
subscription_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

No annotations exist, so the description carries the full behavioral burden, and it does disclose two key traits: non-blocking semantics (empty result = nothing yet) and the overflow/'dropped counter' behavior when the reader falls behind. Missing disclosure of auth requirements and any rate/polling-frequency limits keeps it from a 5.

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?

Two tight sentences, no waste, with the non-blocking guarantee front-loaded ahead of the overflow-reporting detail.

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-value explanation is not required. But with 0% parameter coverage and no annotations, the description is thin on the identifiers and max_items semantics needed to call a 3-param tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across all three parameters. The description never explains connection_id, subscription_id, or crucially max_items (the drain batch limit, default 50), so an agent must guess the meaning of the batch-size cap and the identifiers.

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 ('drain') and resource ('queued notifications') with the key qualifier 'without waiting'. It implicitly distinguishes itself from the non-polling notification sibling lw_ble_wait_notification, though it never names that alternative explicitly.

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 'without waiting' implies this is the non-blocking option versus a blocking waiter, but the description never names lw_ble_wait_notification or states when to prefer poll over wait. Usage is implied rather than made explicit.

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