Skip to main content
Glama

Remove contact from campaign

ghl_remove_contact_from_campaign
Idempotent

Remove a contact from a campaign, or from all campaigns if no campaign ID is specified. Provide the contact ID; optionally include a campaign ID to target a single campaign.

Instructions

Remove a contact from a campaign (or all campaigns if no id given).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contactIdYes
campaignIdNoCampaign to remove from. Omit to remove from all campaigns.
Behavior3/5

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

Annotations already communicate that this is a write operation (readOnlyHint=false) and that it is idempotent. The description adds the broad scope behavior of removing from all campaigns when campaignId is omitted, which is useful context, but it does not disclose potential side effects or what happens to the contact/campaign relationship beyond the removal.

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 that front-loads the core action and includes the most important optional behavior. Every phrase earns its place with no redundant 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 simple two-parameter mutation tool with annotations covering idempotency and write behavior, the description is adequately complete. It lacks explicit alternative guidance and does not clarify that the contact itself is not deleted, but this is largely covered by the tool name, schema, and sibling context.

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 schema already documents campaignId and its omission behavior, so the description mostly reinforces that. The description implicitly clarifies that contactId refers to the contact being removed, which helps compensate for the missing contactId description, but it adds little beyond what the schema already provides.

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 states a clear verb ('Remove'), a specific resource ('contact'), and the target context ('campaign'), including the important variation of removing from all campaigns when no campaign ID is given. This distinguishes it from sibling tools like ghl_add_contact_to_campaign and ghl_remove_contact_from_workflow.

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?

Usage is implied through the verb and resource, but the description does not explicitly say when to use this tool versus alternatives, nor does it mention related tools such as ghl_add_contact_to_campaign or ghl_remove_contact_from_workflow. There is no when-not-to-use or exclusion guidance.

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/vmproductions631-tech/gohighlevel-mcp'

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