Skip to main content
Glama

Request Pair Code

neuron_request_pair_code

Request a numeric pairing code for a Baileys channel as an alternative to QR code scanning. Requires the phone number to pair with.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesUnique identifier (UUID) of the Baileys channel
phoneNumberYesPhone number to generate the pair code for (E.164 format, e.g., '+2348012345678')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations indicate non-readOnly and non-destructive, and the description implies a request operation. However, it doesn't disclose side effects, permissions, or what the response contains. With no output schema, more detail would be helpful.

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 sentences with no unnecessary words. First sentence describes the action and purpose, second adds the requirement. Highly efficient.

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?

Adequate for a simple request tool, but lacks details on the return value (the pairing code) and any potential side effects. With no output schema, the description should at least hint at what the tool returns.

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 already documents both parameters (id and phoneNumber) with descriptions. The description adds no new meaning beyond 'requires the phone number', which is already in the schema.

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?

Clearly states the action (request a numeric pairing code), the resource (Baileys channel), and distinguishes it from the sibling tool 'get_channel_qr' by positioning it as an alternative to QR code scanning.

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?

Explicitly mentions the prerequisite (phone number required) and contrasts with QR scanning, giving context for when to use this tool. Could be improved by explicitly stating when not to use it, but it's clear enough.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources