Skip to main content
Glama

Perpetuus CRM

Get Channel Connection Status

crm_get_channel_connection_status
Read-onlyIdempotent

Checks whether a chat channel is really connected: validates the chat inbox and, for official WhatsApp, Meta health; Light uses its private connection status (no QR/session/credentials). Returns connected, message, error, inbox, health. Read-only; requires chat-channel.test (official) or chat-channel.read (Light). If not connected, tell the user to reconnect in the integrations screen. Light provisioningState other than ready means setup was interrupted: an admin must open the channel and use "Retomar configuração"; the MCP never provisions, pairs or shows QR.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "channelId": "<channelId>"
    },
    "name": "crm_get_channel_connection_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelIdYesChat-channel documentId from crm_list_chat_channels (not the numeric inboxId).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description still adds substantial context: the distinct permission scopes required per channel type (chat-channel.test vs. chat-channel.read), the exact return fields, and the explicit boundary that the MCP never provisions, pairs, or shows QR codes. The provisioningState interpretation rule is behavioral detail an agent could not get from any structured field.

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?

Purpose, return shape, permissions, and remediation are all front-loaded in a tight block with no filler sentences. It is dense to the point of being packed, with several distinct ideas compressed into one paragraph, which slightly hurts scanability but wastes nothing.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read tool with no output schema, the description covers return fields, permission requirements, failure interpretation, and the exact user-facing next step, including the non-obvious Light provisioning edge case. An agent has everything needed to call it and act on the result.

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 the single channelId parameter is already documented as a documentId from crm_list_chat_channels rather than a numeric inboxId. The description adds only an indirect hint ('validates the chat inbox'), so it does not meaningfully extend parameter meaning beyond the schema; 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?

The description opens with a specific verb and resource ('Checks whether a chat channel is really connected') and immediately splits the behavior into the two channel families (official WhatsApp vs. Light), so an agent knows exactly which code path applies. It also explicitly negates adjacent capabilities ('no QR/session/credentials', 'never provisions, pairs or shows QR'), which separates it from provisioning or inbox-listing tools.

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?

It gives clear post-call guidance ('If not connected, tell the user to reconnect in the integrations screen') and a specific escalation path for Light channels whose provisioningState is not ready. What it lacks is an explicit statement of when to call this versus crm_get_chat_channel or crm_get_chat_inbox, leaving that routing to inference.

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.