Skip to main content
Glama
1msg MCP

1msg MCP

Official
by 1msg

set_whatsapp_business_encryption

Upload and sign a 2048-bit RSA business public key (PEM) for a phone number to meet Meta encryption requirements before Flow publish or send; one active key per number, and new uploads replace it.

Instructions

Upload and sign a 2048-bit RSA business public key (PEM) for this channel's phone number. Meta requires a signed key before Flow publish/send. Only one active key per number; a new upload replaces the previous key.

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": {
      "business_public_key": "<business_public_key>"
    },
    "name": "set_whatsapp_business_encryption"
  }
}

Input Schema

NameRequiredDescriptionDefault
business_public_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.2/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, and it does disclose the key non-obvious behavior: only one active key per number, and a new upload replaces the previous key, which is effectively destructive. It omits any mention of required permissions/scopes, what happens to Flows already published under the old key, or whether the call is idempotent.

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?

Three short sentences, front-loaded with the action and followed by prerequisite and replacement semantics; nothing is padding. The final clause slightly restates 'only one active key per number' but clarifies the consequence usefully.

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 one-parameter mutation with no output schema and no annotations, the description covers purpose, prerequisite, key format, and replacement semantics adequately. The remaining unknown (return value, failure modes) is minor for this tool class.

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 0% for the single required parameter, so the description must compensate and largely does: it specifies the format (PEM), the algorithm and size (2048-bit RSA), and the subject (this channel's phone number). It does not say whether the key must be regenerated/published elsewhere first or whether a signed variant is expected in the field.

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 gives a specific verb pair (upload and sign) plus the exact resource (a 2048-bit RSA business public key in PEM for this channel's phone number). That is clearly distinct from the read-only sibling get_whatsapp_business_encryption, and the mention of Flow publish/send situates the key's role.

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 states the triggering condition ('Meta requires a signed key before Flow publish/send'), which tells the agent when this is needed. It stops short of explicitly directing the agent to get_whatsapp_business_encryption to inspect the existing key or warning that this should only be called when no valid key is present.

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