Skip to main content
Glama

update_campaign

Update a draft marketing campaign by modifying its name, message, scheduling, or other settings.

Instructions

Actualizar campaña — Modifica los datos de una campaña de marketing masivo existente (solo en estado borrador) [mutation]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaign_idYesID de la campaña a actualizar
nameNoNuevo nombre de la campaña
list_idNoID de la lista de contactos
message_textNoTexto del mensaje
send_interval_secondsNoIntervalo entre mensajes en segundos
translate_by_prefixNoTraducir según prefijo telefónico
include_unsubscribe_linkNoIncluir enlace de baja
archive_after_sendNoArchivar chat tras enviar
scheduled_atNoFecha/hora de envío programado (ISO 8601)
session_idsNoIDs de sesiones WhatsApp a usar
media_urlNoURL del archivo multimedia
media_typeNoTipo de multimedia (image, video, document)
media_filenameNoNombre del archivo multimedia
segment_filtersNoFiltros de segmentacion para enviar solo a contactos que cumplan criterios
is_recurringNoSi true, la campana se ejecuta de forma recurrente segun recurring_cron
recurring_cronNoExpresion cron para campanas recurrentes. Requerido si is_recurring es true.
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses the draft state constraint and that it is a mutation, but omits important behavioral details: what happens if the campaign is not in draft (error? ignored?), whether partial updates are allowed (only campaign_id is required, implying partial updates), what the tool returns (success indicator or full campaign object?), and any rate limits or side effects. This is insufficient for a tool with 16 parameters and complex conditional fields.

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 extremely concise, using two clear parts: the tool name ('Actualizar campaña') and a single sentence explaining its purpose with a key condition and mutation tag. Every element earns its place, and there is no superfluous text.

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

Completeness2/5

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

Given the tool's complexity (16 parameters including nested objects, boolean flags, and conditional fields) and the presence of many sibling tools for campaign state changes, the description is too sparse. It does not mention return values (no output schema), error handling, or the workflow for updating a campaign (e.g., that after updating in draft, an approval step might be needed). The lack of completeness forces the agent to infer too much.

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 100% coverage with descriptions for all 16 parameters. The description adds no additional meaning or constraints beyond what is already in the schema (e.g., it does not explain the relationship between `is_recurring` and `recurring_cron` or the meaning of `segment_filters`). The baseline is 3 since the schema already does the heavy lifting.

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 action ('Actualizar campaña' / update campaign) and specifies the resource ('campaña de marketing masivo existente') and a key condition ('solo en estado borrador'), which effectively distinguishes it from sibling tools like create_campaign, delete_campaign, and approve_campaign.

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?

The description explicitly notes that the campaign must be in 'borrador' (draft) state to be updated, which is a crucial usage condition. The [mutation] tag signals it's a modification operation. However, it does not mention what to do if the campaign is not in draft or provide explicit alternatives among the many campaign state-change siblings (e.g., approve, archive), leaving some ambiguity for the agent.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wazionapps/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server