Skip to main content
Glama

AdsAgent — TikTok Ads MCP

Delete an attribution connection

mmp_delete_connection
Destructive

Delete one existing MMP connection by connection_id. WRITE — call is IMMEDIATE and IRREVERSIBLE; Meta cascades the delete to mmp_apps + cohort_configs + cached cohort rows. To re-add, use the MMP connection page in the AdsAgent dashboard; never request an API token in chat. Show the exact target, obtain explicit user confirmation in the current interaction, call once, and never retry an uncertain outcome. No mutation receipt is advertised. Mirror of Meta MCP mmp_delete_connection.

REQUIRED: connection_id (str — UUID from mmp_get_state). EXAMPLE: mmp_delete_connection({"connection_id": ""})

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
connection_idYes
connection_contextNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / connection_context
      Added value: +{
      +  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description goes well beyond them: it names the cascaded deletions (mmp_apps, cohort_configs, cached cohort rows), states the call is immediate and irreversible, and discloses that no mutation receipt is advertised.

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-loads the destructive warning before the confirmation protocol, and every sentence carries operational weight. Slightly dense with the confirmation and token cautions, but nothing is pure 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?

No output schema and no annotations explaining cascade behavior, so the description properly covers irreversibility, cascade scope, and confirmation. The only meaningful omission is any mention of the connection_context parameter in a 2-param tool.

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 description coverage is 0%, so the description must compensate. It documents connection_id as a required UUID sourced from mmp_get_state and provides a call example, which is genuinely useful. However the optional connection_context parameter is never mentioned.

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 (Delete) and resource (one existing MMP connection) scoped by connection_id, and names the operation as the mirror of Meta MCP mmp_delete_connection. Clearly distinguishable from siblings like mmp_refresh_connection or mmp_save_cohort_config.

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?

Explicitly routes re-adding to the dashboard MMP connection page, forbids requesting an API token in chat, and prescribes a confirm-then-call-once workflow with 'never retry an uncertain outcome'. When-to-use and when-not-to-use are both covered.

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.

Resources