Skip to main content
Glama
kiriminow
by kiriminow

connect_device

Start WhatsApp pairing for a device by returning a QR/session state. Scan the QR code to authenticate and connect the device.

Instructions

Start connecting a device. Returns the QR/session state used to pair WhatsApp.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_idYesDevice to connect

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

B3.2/5.0
Behavior2/5

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

There are no annotations, so the description carries the full burden. It discloses that the tool returns a QR/session state, but it does not explain side effects, whether an existing device must be created first, session validity, or whether reconnecting invalidates an existing session.

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 short sentences with no filler. The action is front-loaded, and the returned result is stated immediately.

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?

There is no output schema and no annotations, so the description should explain more about the QR/session state and the device lifecycle. It omits prerequisites like whether the device must already exist and how the returned session state should be consumed, leaving an agent under-informed.

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%, so device_id is already documented. The description adds no additional meaning beyond 'device to connect', providing the baseline level of value.

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 uses a specific verb and resource: 'Start connecting a device' and clarifies the purpose by mentioning the QR/session state used to pair WhatsApp. It is clear, though it does not explicitly distinguish itself from siblings like create_device or renew_device.

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 'used to pair WhatsApp' implies when the tool is useful, but there is no explicit guidance about when to choose this over create_device, renew_device, or list_devices. No exclusions or prerequisites are stated.

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