Skip to main content
Glama
satuapps

loginwa

Official

LoginWA MCP Server

Unofficial MCP server for the LoginWA WhatsApp API. LoginWA hosts the WhatsApp engine, so an agent can check devices, send OTP, send messages, and run broadcasts without operating a VPS.

loginwa-sdk MCP server loginwa-sdk MCP server

Tools: device_status, otp_start / otp_verify, send_message, and broadcast (list_campaigns, get_campaign, create_campaign, send_campaign).

npx -y @loginwa/mcp

Set LOGINWA_API_KEY. Pair devices at loginwa.com/welcome. Client configs: mcp/README.md.

This repository also ships JavaScript, PHP and Android SDKs, an embeddable OTP widget, and a Postman collection. No server code is included.

Contents

  • js/, JavaScript SDK (ESM), dependency-free client.

  • php/, PHP SDK (cURL-based, PHP >= 8.0).

  • android/, Android SDK (Kotlin library + runnable sample app).

  • mcp/, TypeScript MCP server (@loginwa/mcp): device status, OTP, send, broadcast for AI agents. Install with npx -y @loginwa/mcp. See mcp/README.md.

  • snippet/otp-widget.html, drop-in OTP widget example.

  • docs/postman/loginwa-api.postman_collection.json, Postman collection.

  • docs/sdk.md, quick reference for these assets.

Paths are relative to the repository root. Inside the LoginWA application repository these same files live under laravel-app/sdk/, which is the single source they are published from, edit them there, never here.

Related MCP server: zaileys-mcp

API Basics

  • Base URL (host): https://api.loginwa.com

  • SDK default (includes version prefix): https://api.loginwa.com/api/v1

  • Auth: Authorization: Bearer <YOUR_API_KEY> (or X-Api-Key)

  • Content-Type: application/json

  • Also reachable at https://loginwa.com/api (same routes under /api/…)

OTP product paths: SDKs call /auth/start and /auth/verify against the /api/v1 base (i.e. POST /api/v1/auth/start|verify). The preferred narrative docs path /api/auth/start|verify is equivalent for sending/verifying codes; v1 start responses also include sent_via_engine and quota_remaining, and v1 verify returns phone (not phone_number).

Quick Start

JavaScript SDK

cd sdk/js
npm install
# import into your app (ESM)
import { LoginWAClient } from '@loginwa/sdk';
const client = new LoginWAClient({ apiKey: process.env.LOGINWA_API_KEY });
try {
  const start = await client.startOtp({ phone: '6281234567890', countryCode: '62' });
  const verify = await client.verifyOtp({ sessionId: start.session_id, otpCode: '123456' });
  console.log('verified', verify);
} catch (err) {
  console.error('OTP error', err?.status, err?.data || err.message);
}

PHP SDK

cd sdk/php
composer install
<?php
require __DIR__ . '/vendor/autoload.php';
$client = new LoginWA\SDK\Client('YOUR_API_KEY');
try {
    $start = $client->startOtp(['phone' => '6281234567890', 'country_code' => '62']);
    $verify = $client->verifyOtp(['session_id' => $start['session_id'], 'otp_code' => '123456']);
    var_dump($verify);
} catch (\LoginWA\SDK\ApiException $e) {
    // HTTP status is in $e->getCode()
    echo 'OTP error: ' . $e->getCode() . ' ' . $e->getMessage();
}

MCP server (@loginwa/mcp)

cd sdk/mcp && npm install && npm run build
# clients: npx -y @loginwa/mcp

Set LOGINWA_API_KEY. Details and client configs: mcp/README.md.

OTP Widget Snippet

Open sdk/snippet/otp-widget.html, set your API key/Base URL, and embed in any page. Uses Fetch to call /auth/start and /auth/verify.

Postman Collection

Import docs/postman/loginwa-api.postman_collection.json, set base_url (default https://api.loginwa.com) and api_key variables, then run the flows.

Common errors

  • 401 unauthorized, missing/invalid API key.

  • 402 subscription_suspended, inactive, suspended, or past-due subscription.

  • 422 invalid_code | expired | blocked, verification failed.

  • 429 quota_exceeded, monthly plan quota exceeded.

  • 429 rate_limited, too many requests per minute (Retry-After header).

  • 503 no_device_connected, no online WhatsApp device for the app.

  • Network/timeout, retry with backoff; SDK throws with HTTP status in error object/exception code.

Download

Packaged ZIP (same contents as this repo): https://loginwa.com/loginwa-batch1-sdk.zip

Changelog

See CHANGELOG.md.

Support

Questions/feedback: dev@loginwa.com

Available Tools

8 tools
create_campaignCreate broadcast campaignA

Create a LoginWA broadcast campaign with an inline contact list. Starts as draft (or queued if schedule_at is set). Call send_campaign to begin.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYesCampaign name
messageYesMessage body; supports {{name}} and custom {{variables}}
contactsYesInline contact list
media_urlNoOptional public media URL
media_typeNoRequired when media_url is set
schedule_atNoOptional future ISO datetime to auto-start
delay_secondsNoDelay between sends (1..60, default 5)

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals that the campaign starts as a draft, or queued if schedule_at is set, and that it does not send until send_campaign is called. This adds meaningful behavioral context beyond a simple 'create' statement.

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?

The description is two concise sentences, front-loaded with the main purpose and followed by essential workflow details. Every word adds value with no fluff.

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?

Given 7 parameters and no output schema, the description covers the creation workflow but omits what the tool returns (e.g., campaign ID needed for send_campaign). It does not explain how to reference the created campaign, which is a notable gap for successful invocation.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description adds value by clarifying that 'schedule_at' changes the initial state to queued, and that contacts are inline. These details go beyond the schema's field descriptions.

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?

The description clearly states 'Create a LoginWA broadcast campaign' with specific verb 'Create' and resource 'broadcast campaign'. It further specifies 'inline contact list' and distinguishes from siblings by noting it only creates, not sends ('Call send_campaign to begin').

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?

The description provides clear context on the tool's role: it creates a draft (or queued) campaign, and instructs to call send_campaign to start sending. This implies an alternative workflow and when to use this tool, though it does not explicitly state 'when not to use'.

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

device_statusDevice statusA

List LoginWA WhatsApp devices (or one device by id) and report online/offline honestly. If a device is not online, instruct the user to open https://loginwa.com/welcome to pair. Does not start in-chat QR/pairing races.

ParametersJSON Schema
NameRequiredDescriptionDefault
device_idNoOptional device id. When omitted, lists all devices.

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full transparency burden. It honestly states that it reports online/offline status, instructs the user to open a pairing URL when offline, and clarifies that it does not initiate QR/pairing races. This provides useful behavioral context beyond the bare schema, though it does not detail return format or error behavior.

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?

The description is three concise sentences, each adding value. The first states the primary purpose, the second provides actionable pairing guidance, and the third sets a behavioral boundary. No waste or redundancy.

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?

For a simple tool with one optional parameter and no output schema, the description is reasonably complete: it covers listing behavior, status reporting, offline handling, and what it intentionally avoids. A small gap is that it does not describe the exact structure of the returned status, but the phrase 'report online/offline' sufficiently implies the core output.

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% (device_id is fully described). The description adds minimal extra meaning ('or one device by id' and 'when omitted, lists all devices') which mostly overlaps with the schema. A baseline score of 3 is appropriate because the schema already documents the parameter adequately.

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?

The description clearly states the tool's function: 'List LoginWA WhatsApp devices (or one device by id) and report online/offline honestly.' It uses a specific verb (list/report) and identifies the resource (devices), distinguishing it from sibling tools focused on campaigns and messaging.

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?

The description implies when to use the tool: to check device status and inform pairing if offline. It explicitly states what it does not do ('Does not start in-chat QR/pairing races'), which sets expectations, though it does not name alternative tools or provide explicit when-not-to-use guidance beyond that exclusion.

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

get_campaignGet broadcast campaignA

Get details for a LoginWA broadcast campaign by id.

ParametersJSON Schema
NameRequiredDescriptionDefault
campaign_idYesCampaign id

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. The verb 'Get' implies a read-only operation, but it does not explicitly state that it is non-mutating, whether authentication is required, or what happens if the campaign is not found. It adds minimal behavioral context beyond the verb and resource.

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?

The description is a single clear sentence that is front-loaded with the action and resource. Every word earns its place, with no unnecessary information.

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?

For a simple get-by-id tool with one parameter and no output schema, the description is mostly complete. It lacks detail on what 'details' includes, but given the low complexity and clear purpose, it is sufficient for an agent to select and invoke the tool.

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?

The input schema fully documents the single parameter campaign_id with 100% coverage, so the baseline is 3. The description only adds 'by id', which mirrors the schema and does not provide additional meaning about the parameter format or usage.

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?

The description uses the specific verb 'Get details' with a clear resource 'LoginWA broadcast campaign' and 'by id', which clearly distinguishes it from sibling tools like list_campaigns, create_campaign, and send_campaign. It precisely states what the tool does.

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 description implies usage when you have a campaign_id and need details, but it does not explicitly state when to use this tool versus alternatives. There is no mention of exclusions or when not to use it, e.g., 'Use list_campaigns to get all campaigns.'

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

list_campaignsList broadcast campaignsB

List LoginWA broadcast campaigns (paginated).

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (default 1)

TDQS

B3.4/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 burden. The only behavioral hint is 'paginated', but that merely mirrors the page parameter in the schema. There is no mention of read-only nature, potential return format, limits, or other behavioral traits.

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?

The description is a single, front-loaded sentence with no filler. It efficiently communicates the core purpose and a key attribute.

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?

Given the low complexity (one optional parameter, no output schema, no nested objects), the description is reasonably complete. However, the lack of an output schema and any detail about returned fields or any prerequisites leaves a minor gap for an agent.

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% for the sole 'page' parameter, so the schema already documents it fully. The description adds nothing beyond the word 'paginated', providing no new semantic value over 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?

The description clearly states the action ('List'), the specific resource ('LoginWA broadcast campaigns'), and a key detail ('paginated'). It is distinct from siblings like get_campaign (which presumably retrieves a single campaign) and create/send operations.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool relative to alternatives such as get_campaign or create_campaign. It does not explicitly state that this is for browsing/listing all campaigns or that one should use get_campaign for a specific campaign.

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

otp_startStart OTPA

Start a LoginWA OTP session: send a one-time code to a WhatsApp phone number via a connected device.

ParametersJSON Schema
NameRequiredDescriptionDefault
phoneYesRecipient phone (E.164 or digits, e.g. 6281234567890)
device_idNoOptional device to send from
otp_lengthNoOTP length 4..8 (default 6)
country_codeNoOptional country code digits, e.g. 62
message_templateNoOptional message template; use {{otp}} placeholder if customizing

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses the core behavior (sends a one-time code) and a prerequisite (via a connected device), which is helpful. Yet it omits details about session handling, potential side effects, or how the session links to otp_verify, leaving room for uncertainty.

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?

The description is a single, front-loaded sentence that communicates the action, target, and prerequisite without redundancy. Every word contributes value.

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?

The description is sufficient for selecting the tool, but it does not mention how the session ID or code is returned, nor does it note the complementary otp_verify tool for completing the flow. With no output schema or annotations, this leaves a gap for an agent needing to chain tools.

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?

The input schema describes all five parameters with 100% coverage, so the baseline is 3. The description does not add any parameter-specific meaning beyond that already in the schema, but it does not need to.

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?

The description clearly states the tool starts a LoginWA OTP session by sending a one-time code to a WhatsApp phone number. It specifies the action (send), the resource (WhatsApp number), and the context (OTP session), effectively distinguishing it from siblings like otp_verify and send_message.

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 usage is implied by the OTP-specific wording and the mention of 'LoginWA OTP session,' making it clear when to use this tool. However, there are no explicit alternatives or exclusions mentioned, so the agent must infer the boundary against other messaging tools.

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

otp_verifyVerify OTPA

Verify an OTP code against a LoginWA session_id returned by otp_start.

ParametersJSON Schema
NameRequiredDescriptionDefault
otp_codeYesCode entered by the user
session_idYesOTP session_id from otp_start

TDQS

A3.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It only says 'verify' without disclosing potential side effects (e.g., whether the OTP or session is consumed/invalidated), success/failure behavior, or any auth requirements. The agent has no information about what happens after verification.

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?

One precise sentence, front-loaded with the verb 'Verify', and no fluff. Every word contributes meaning, and the reference to otp_start is concise but informative.

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?

The tool is simple with only two params, both documented. However, with no output schema, the description doesn't explain what result the agent should expect (e.g., success/failure, session state). It is minimally viable but lacks behavioral context that would make it fully self-contained.

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?

The input schema already describes both parameters (otp_code as 'Code entered by the user' and session_id as 'OTP session_id from otp_start') with 100% coverage. The description adds minimal value beyond that, merely reinforcing the session_id's origin. This matches the baseline for high schema coverage.

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?

The description clearly states the action ('Verify an OTP code') and the specific resource ('a LoginWA session_id returned by otp_start'). This differentiates it from otp_start (which starts the flow) and sends a strong signal about the tool's role in the OTP verification sequence.

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?

The description provides a clear usage context by linking the session_id to otp_start, implying the tool should be used after otp_start. It doesn't explicitly state alternatives or when not to use it, but the precondition is evident and sufficient for a simple verification step.

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

send_campaignSend broadcast campaignA

Queue a draft/queued/paused LoginWA campaign for sending. Requires at least one online device; otherwise direct the user to https://loginwa.com/welcome

ParametersJSON Schema
NameRequiredDescriptionDefault
campaign_idYesCampaign id to send

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It does reveal the device requirement and provides a user-facing fallback, but it omits details about the side effects of queueing, error conditions, or whether the operation is reversible, leaving notable gaps for a mutating tool.

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?

The description is only two sentences, well-structured, and front-loaded with the primary action first. Every word contributes meaning, with no redundancy or filler.

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?

For a simple one-parameter tool with no output schema, the description covers the essential context: what action is taken, what prerequisites exist, and what to do when the prerequisite is not met. It could elaborate on post-queue behavior, but it is generally complete enough to guide correct use.

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?

The schema provides 100% coverage of parameters, with a clear description for campaign_id ('Campaign id to send'). The tool description adds nothing beyond the schema, which matches the baseline expectation.

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?

The description uses the specific verb 'Queue' and clearly identifies the resource and its applicable states ('draft/queued/paused LoginWA campaign'), making it easy to distinguish from sibling tools such as create_campaign, list_campaigns, and send_message.

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?

The description gives a concrete usage prerequisite and fallback action (requires at least one online device, otherwise direct user to a URL), which helps the agent decide when to invoke it. However, it does not explicitly name alternative tools or when not to use it, so it falls just short of full marks.

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

send_messageSend WhatsApp messageC

Send a WhatsApp text or media message from a connected LoginWA device. Media types require a public https media_url.

ParametersJSON Schema
NameRequiredDescriptionDefault
pttNoFor audio: send as voice note when true
typeNoMessage type (default text)
phoneYesRecipient phone (E.164/digits) or group JID (...@g.us)
captionNoOptional caption for media
messageNoText body (required for type=text)
filenameNoOptional document filename
mimetypeNoOptional MIME type hint
device_idNoOptional device to send from
media_urlNoPublic https URL for media types

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 burden. It discloses the media_url requirement but does not mention side effects, error conditions, required connectivity state, or what happens if the device is not connected. The send operation is implied but its execution details are opaque.

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?

The description is two sentences, front-loaded with the purpose. The second sentence provides a critical constraint without wasted words, making it appropriately concise.

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?

Given 9 parameters, no annotations, and no output schema, the description is too sparse. It omits details about group messaging, optional fields like caption/filename/mimetype, defaults for type, device_id selection, and expected response behavior, leaving significant gaps for the agent.

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 the schema documents all 9 parameters. The description adds minimal extra information by restating the public https media requirement, which already appears in the schema. It does not explain parameter interactions like ptt for audio or group JID usage.

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 states a clear verb ('Send') and resource ('WhatsApp text or media message'), and specifies a prerequisite ('from a connected LoginWA device'). It is distinct from sibling campaign tools by focusing on one-off direct messages, though it does not explicitly contrast with send_campaign.

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

Usage Guidelines2/5

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

No guidance is given for when to use this tool versus alternatives like send_campaign. The only usage-related information is a requirement that media types need a public https media_url and the tool uses a connected device, which are prerequisites rather than selection criteria.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 8 tool updatesv0.1.2
    • First observedcreate_campaign
    • First observeddevice_status
    • First observedget_campaign
    • First observedlist_campaigns
    • First observedotp_start
    • First observedotp_verify
    • First observedsend_campaign
    • First observedsend_message

TDQS

A3.7/5.0
Disambiguation5/5

Every tool has a clearly distinct purpose: device status, OTP start/verify, message sending, and campaign management (list, get, create, send). No two tools overlap in function, so an agent can confidently select the right one based on the action needed.

Naming Consistency4/5

Most tools follow the verb_noun pattern (get_campaign, send_message, list_campaigns, etc.), but device_status breaks the pattern by using a noun_noun form instead of something like get_device_status. This is a minor deviation from an otherwise consistent style.

Tool Count5/5

With 8 tools, the set is well-scoped for a WhatsApp service covering messaging, OTP, and campaigns. Each tool earns its place without bloat or excess, staying comfortably within the ideal 3-15 range.

Completeness4/5

The core workflows are covered: send messages, handle OTP, and manage campaigns. However, campaign management lacks update/delete operations, and device management is limited to status only. These are minor gaps that agents can work around but might require external fallback.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    WhatsApp MCP server that exposes messaging, groups, contacts, and profile management as tools and resources for AI agents, supporting Baileys and Meta Cloud API.
    20
    -
  • A
    license
    B
    quality
    B
    maintenance
    Enables AI agents to control WhatsApp, including sending messages and media, reading chats, managing groups and communities, with QR/pairing auth and session persistence.
    14
    18
    2
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    A self-hosted WhatsApp gateway that exposes messaging capabilities via MCP, allowing AI agents to send, receive, and manage WhatsApp messages through a single-command setup with SQLite storage.
    1
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/satuapps/loginwa-sdk'

If you have feedback or need assistance with the MCP directory API, please join our Discord server