Skip to main content
Glama

ConverZAP — WhatsApp (official API)

Draft an internal agent

draft_internal_agent

Creates a DRAFT internal agent: an agent that works for the team on a schedule, on demand or when something happens (deal changed stage, lead qualified, conversation waiting for a person, conversation resolved, new form contact). It reads the account and can only leave internal notes, alert the team, add labels, assign conversations, move deals or draft campaigns — never message customers. Nothing runs until a person reviews, tests and publishes it in the app (review_url). Use the minimum reads/actions; risky actions default to mode=approval.

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": {
      "name": "<name>",
      "instructions": "<instructions>"
    },
    "name": "draft_internal_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesInternal agent's name.
readsNoWhat it can read (contacts, conversations, deals, templates, results).
actionsNonota = internal note, avisar = alert the team, etiqueta = label, atribuir = assign conversation, mover_negocio = move deal, rascunho_campanha = campaign draft.
dry_runNotrue = run every check and return what WOULD happen, without doing it.
triggerNoWhen it runs: manual, schedule (days + hour) or event.
instructionsYesWhat it should do, step by step (Portuguese is best: it runs for a Brazilian team).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / name / description
      Added value: +"Internal agent's name."
    • addedInput schema / properties / trigger / description
      Added value: +"When it runs: manual, schedule (days + hour) or event."
  2. Added

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations: annotations only say it is not read-only, not destructive, not idempotent, not open-world. The description adds the critical behavioral fact that nothing executes until human review and publish (review_url), enumerates the allowed action surface, and states a hard safety boundary ('never message customers') that no annotation conveys.

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?

Well front-loaded: it leads with the verb and resource before qualifications, and each sentence adds a distinct constraint (capabilities, safety boundary, publish gate, minimization rule). The parenthetical event list duplicates the schema's event enum descriptions, which is mild redundancy but aids disambiguation for the agent.

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 6-parameter tool with a nested trigger object and no output schema, the description covers the important unknowns: execution model, action surface, human review gate, and the review_url return value. Its remaining gaps (dry_run and trigger field details) are fully documented in the schema, so nothing essential is missing.

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 schema already documents every parameter and enum, making 3 the baseline. The description adds one genuinely useful detail not in the schema — that risky actions should default to mode=approval and reads/actions should be minimized — but does not explain trigger or dry_run semantics beyond what the schema says.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Creates a DRAFT internal agent') and immediately defines what that resource is: scheduled/on-demand/event-driven work scoped to internal actions only. The 'DRAFT' framing plus 'Nothing runs until a person reviews, tests and publishes it in the app' implicitly separates it from the publish/activate siblings, though no sibling is named explicitly.

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?

Gives real operating guidance: 'Use the minimum reads/actions; risky actions default to mode=approval,' which tells the agent how to configure a safe draft. It stops short of explicit exclusions or naming the alternative tools (e.g. create_agent, publish_agent) to use when a draft is not what's wanted.

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.