Skip to main content
Glama

Meta deselect ad account

meta_deselect_ad_account
DestructiveIdempotent

Exclude a Meta ad account from Kampalo reporting. Changes data: runs only with confirm=true; without it, returns a preview and changes nothing. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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": {
      "ad_account_id": "<ad_account_id>"
    },
    "name": "meta_deselect_ad_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
confirmNo
user_idNo
client_idNo
user_emailNo
ad_account_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the description's job is to add context — and it does, with the confirm-gate and preview behavior, which is the single most important operational fact here. It stops short of saying whether deselecting purges historical reporting data or just stops future syncing, which is the remaining behavioral gap for a destructive tool.

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 dense sentences with no filler, front-loading the action and then the safety gate before parameter notes. Minor softness in 'any other field the app accepts', but it is honest about the passthrough rather than padding.

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?

An output schema exists, so return values need no explanation, and the confirm/preview mechanics are fully covered for a destructive mutation. The only shortfall is the undocumented user_id/user_email identity parameters and the unspecified scope of the removal (reporting history vs. connection).

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 0%, so the description must compensate. It explains confirm's gating behavior, client_id's role and default, and extra's passthrough nature — three of six parameters. ad_account_id is self-evident from the name, but user_id and user_email receive no explanation in either the schema or the description.

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 ('Exclude a Meta ad account') plus the scope of the effect ('from Kampalo reporting'), which makes it clearly the inverse of meta_select_ad_account without needing to open either schema. An agent can identify the operation and its target immediately.

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 an explicit precondition for the real operation (only runs with confirm=true) and describes the fallback (preview, no changes). It does not explicitly name meta_select_ad_account as the alternative when the user wants the opposite direction, but the context is otherwise unambiguous.

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.