Skip to main content
Glama
wsapi-chat

WSAPI WhatsApp MCP Server

whatsapp_set_group_picture

Idempotent

Set a WhatsApp group's profile picture from base64-encoded JPEG data, replacing the current image for all participants. Admin rights may be required.

Instructions

Set a group's picture from base64 image data, replacing the current one for all participants. May require admin rights. Returns a success confirmation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesGroup JID
dataYesBase64-encoded JPEG image

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare the mutation/idempotency profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false), so the bar is lower. The description still adds value by disclosing the replacement effect across all participants, the possible admin-rights requirement, and the success-confirmation return, none of which appear in the annotations.

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 its scope before prerequisites. 'Returns a success confirmation' is mildly filler but earns some place given no output schema exists.

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 two-parameter mutation tool with full schema coverage and no output schema, the description covers action, input form, blast radius, prerequisite, and return type. Only the absence of alternative-tool routing keeps it from being fully complete.

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% and both parameters (id, data) are documented in the schema, so the baseline is 3. The description's 'base64 image data' restates rather than extends the schema's 'Base64-encoded JPEG image'.

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?

States a specific verb and resource ('Set a group's picture'), names the input form (base64 image data) and the effect scope ('replacing the current one for all participants'). An agent can distinguish it from whatsapp_set_community_picture or whatsapp_post_image_status without opening a schema.

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?

Provides one useful precondition ('May require admin rights') but gives no explicit when-to-use vs alternatives guidance, e.g. how it differs from setting a community picture or posting a status image. Usage context is implied by the name rather than stated.

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

Deploy Server

Other Tools