Skip to main content
Glama

WhaTools — WhatsApp tools

build_whatsapp_share_widget

Build embeddable "Share on WhatsApp" widget HTML (web and email variants) with a link preview card and a pre-filled message. Returns self-contained HTML.

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL being shared.
titleYesTitle shown on the preview card.
domainNoDomain label shown on the card (optional).
thumbnailNoPreview image URL (optional).
buttonTextNoCall-to-action button text (optional; defaults to "Share on WhatsApp").
descriptionYesMessage text shown above the card (supports *bold*, _italic_, ~strike~).
includeCreditNoAppend a small "Widget by WhaTools" credit line under the widget (optional; default false).
buttonPlacementNoWhere to place the share button relative to the card (optional).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / includeCredit / description
      Previous value: -"Append a small \"Widget by wha.tools\" credit line under the widget (optional; default false)."New value: +"Append a small \"Widget by WhaTools\" credit line under the widget (optional; default false)."
  2. First observed

TDQS

A3.5/5.0
Behavior2/5

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

There are no annotations, so the description carries the full behavioral disclosure burden. It states that the result is "self-contained HTML" and that web/email variants exist, but it does not clarify side effects, dependencies, safety profile, or operational constraints.

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 short, front-loaded, and every phrase adds information about the generated artifact. There is no wasted wording.

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 covers the core purpose and the return type, which is useful because there is no output schema. However, for a tool with eight parameters, no annotations, and several close siblings, it lacks usage routing and behavioral context that would make selection fully self-sufficient.

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 the parameters are already well documented. The description only broadly references the preview card and pre-filled message, adding little parameter-level meaning beyond 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 uses a specific verb ("Build") and a clearly scoped resource ("embeddable 'Share on WhatsApp' widget HTML"), including web/email variants, a preview card, and a pre-filled message. This distinguishes the artifact from sibling tools like generate_whatsapp_link and generate_whatsapp_qr.

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 the use case: when an embeddable WhatsApp share widget with a preview card is needed. However, it does not explicitly say when to choose this tool versus siblings such as generate_whatsapp_link or generate_bulk_whatsapp_links, nor does it state exclusions.

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.