Skip to main content
Glama

WhaTools — WhatsApp tools

generate_whatsapp_qr

Generate a scannable QR code (as an SVG) for a WhatsApp click-to-chat link with an optional phone number and pre-filled message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
phoneNoRecipient phone number in international format (digits only; optional).
messageNoThe message to pre-fill in the chat (optional).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions the SVG output format but does not clarify whether the tool returns the SVG content, saves it to a file, or how it handles invalid phone numbers. Given the lack of safety annotations, more detail is needed.

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, concise sentence front-loaded with the primary action and output type. It avoids extraneous details and is easy to scan.

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 has no output schema, so the description needs to explain what the caller receives. It states 'as an SVG' but doesn't clarify whether the return is the SVG string, a download link, or something else. For a simple tool with optional inputs, this is a minor but meaningful gap.

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 provides complete descriptions for both optional parameters (phone and message), so the description adds no additional meaning. Baseline of 3 is appropriate since schema coverage is 100%.

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: generating a scannable QR code as SVG for WhatsApp click-to-chat links. It specifies the output format (SVG) and optional parameters (phone, message), distinguishing it from sibling tools like generate_whatsapp_link which likely produces the link itself.

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 a QR code for a WhatsApp chat link is needed—but does not explicitly state when to prefer this over alternatives or mention any exclusions. It lacks explicit comparison to siblings, but the purpose is clear enough to infer intended use.

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.