Skip to main content
Glama

Connect a channel

connect

Link a messaging account to Parley by starting an authorization flow; open the returned URL to scan a QR or authorize, then poll the returned ID for status.

Instructions

Start linking a messaging account (e.g. WhatsApp) to Parley. You can link several on one channel (another WhatsApp number is just another connect); linking a number that is already linked replaces the old link. Returns a link URL to open in a browser (scan the QR / authorize), and a connection id to poll with connection_status.

Input Schema

NameRequiredDescriptionDefault
channelYesChannel id, e.g. "whatsapp". Use list_channels to see options.
countryNoISO country code the account lives in, e.g. "GB". Picks a proxy exit there; learned from the phone number when omitted.
timezoneNoIANA time zone the account holder lives in, e.g. "Europe/London". Messages go out during their local daytime. Defaults to UTC.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose key behaviors: repeat calls replace the old link, and the call is asynchronous (returns a URL to authorize plus an id to poll). It omits auth/permission requirements, link expiry, and what a failed or already-pending connect looks like.

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 tightly written sentences, front-loaded with the action and followed by the replace semantics and return contract. Slightly dense with the parenthetical, but no sentence is wasted.

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?

No output schema exists, and the description compensates by naming exactly what comes back (link URL, connection id) and how to continue via connection_status. Only error/failure and permission behavior remain uncovered.

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 description coverage is 100%, so channel, country, and timezone are already documented with examples and defaults. The description adds no parameter-level meaning beyond the schema — it never mentions country/timezone effects (proxy exit, local daytime sending), so baseline 3 applies.

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

Purpose5/5

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

States a specific verb and resource ('Start linking a messaging account ... to Parley') and immediately disambiguates the multi-account case ('another WhatsApp number is just another connect'), which separates it from list_connections and connection_status without needing the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Clearly implies this is the entry point for linking and names the follow-up tool ('poll with connection_status'), plus explains the repeat-invocation semantics. It does not state prerequisites or exclusions (e.g. whether an existing channel must exist or what to do on failure), so it stops short of full when/when-not guidance.

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