Skip to main content
Glama

connect

Establish a Bluetooth LE link to a device and list its GATT services and characteristics for use with read, write, and subscribe operations.

Instructions

connect to a device and list its gatt services and their characteristics.

use the characteristic uuids listed here with read_char, write_char and subscribe.

Input Schema

NameRequiredDescriptionDefault
addressYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it discloses almost nothing: it does not say whether the connection persists after listing, whether it replaces/disconnects a previously connected device, whether pairing or OS permissions are required, or how failures are surfaced. Only the enumeration side effect is mentioned, which the output schema already covers.

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?

Two short sentences with no filler, and the primary action is front-loaded. It is efficiently worded, though the second sentence leans on the reader knowing the named sibling tools.

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

Completeness2/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 structure need not be explained, but for a connection-establishing tool with zero annotations the description omits address format, connection lifecycle, and error/prerequisite behavior. Given the complexity of BLE connection semantics, the definition is not complete enough to call safely.

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% for the single required parameter 'address', so the description must compensate and does not. It never states the address format (BLE MAC vs. platform UUID) or where a valid value comes from (e.g., scan or list_devices), which is exactly the ambiguity that causes bad calls.

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 concrete verb and resource ('connect to a device') plus a secondary effect ('list its gatt services and their characteristics'), so the agent knows this both connects and enumerates. It names the downstream siblings read_char/write_char/subscribe, which anchors it in the workflow, but does not distinguish it from scan or list_devices, the obvious tools for obtaining an address in the first place.

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 second sentence conveys what to do with the result ('use the characteristic uuids listed here with read_char, write_char and subscribe'), which implies this is the entry point for GATT operations. However, there is no explicit when-to-use statement versus scan/list_devices, and no stated precondition such as needing an address already discovered by a scan.

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