Skip to main content
Glama

ConverZAP — WhatsApp (official API)

Apply the pipeline design

apply_pipeline
Destructive

Validates the pipeline proposal written from get_pipeline_context (a cited fact must exist; an example must be copied from a conversation) and applies it: adjusts the chosen pipeline (renames and creates stages and saves the criteria — it does not delete stages or move deals) or creates a new pipeline. dry_run: true returns the stages before → after and the open questions without saving. Needs the pipeline-operator feature (paid plans; free on the trial).

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": {
      "proposal": "<proposal>"
    },
    "name": "apply_pipeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNotrue = run every check and return what WOULD happen, without doing it.
proposalYesThe proposal JSON in the format of `rules` from get_pipeline_context.
pipeline_idNoAdjust this pipeline.
new_pipeline_nameNoOr create a new pipeline with this name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only flag destructiveHint/idempotentHint; the description adds what actually changes (renames, creates stages, saves criteria) and, crucially, what is NOT touched (no stage deletion, no deal moves). It also discloses dry-run output shape (stages before → after, open questions) and the license gate, which annotations cannot convey.

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?

Front-loaded with the validating/applying action and dense with useful constraints; each clause carries information. It is a single heavy sentence with stacked parentheticals, which makes it slightly harder to scan than an ideal bulleted structure, but nothing is filler.

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 mutation tool with a nested proposal object and no output schema, it covers validation rules, mutation scope, dry-run returns, and the entitlement gate. The only real gap is the success return value (e.g. resulting pipeline id) when dry_run is false, which is not described anywhere.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3; the description still adds value by explaining that dry_run returns a before → after diff plus open questions rather than a bare boolean effect, and by tying `proposal` to the `rules` format of get_pipeline_context. The pipeline_id vs new_pipeline_name exclusivity is only implied by 'or'.

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 (validates and applies) and resource (a pipeline proposal), and disambiguates the two modes: it either adjusts the existing pipeline or creates a new one. It also names the sibling tool that produces the input (get_pipeline_context), so an agent can place it precisely in a workflow.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit prerequisites: the proposal must be written from get_pipeline_context, and cited facts must exist / examples must be copied from a conversation. Explicit alternatives: dry_run: true previews without saving. Explicit exclusions: it does not delete stages or move deals. It also states the entitlement requirement (pipeline-operator, paid plans, free on trial).

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.