Skip to main content
Glama

Delete a Marketing Cloud Next / Data 360 record

mcnext_delete

Delete a specific record from a Salesforce Marketing Cloud endpoint using its path parameters. This destructive action only runs when the MC_NEXT_ALLOW_DESTRUCTIVE safety setting is enabled.

Instructions

Delete a record (DELETE, kind "delete"). Requires the path parameter. This is destructive and is blocked unless MC_NEXT_ALLOW_DESTRUCTIVE=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoQuery string parameters, e.g. { "pageSize": 50, "orderBy": "name" }.
headersNoAdditional request headers.
endpointIdYesEndpoint id from the catalog, e.g. "content.create-an-email-with-html", "activations.query-activations". Use mcnext_list_endpoints to discover ids.
pathParamsNoPath parameter values, e.g. { "contentKey": "my-email" }.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does disclose the most critical traits: the operation is destructive and gated by an environment variable. It stops short of stating irreversibility or success/error behavior, but the destructive guardrail is substantive.

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?

The definition is a single compact sentence that front-loads the action and follows with necessary constraints. The parenthetical 'kind "delete"' is slightly redundant with 'Delete', but the overall structure has no fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the safety gate and path requirement, and the schema documents all parameters. However, with no output schema it does not describe what a successful delete returns or whether deletion is permanent/irreversible, leaving an agent without a complete model of the call's result.

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 the baseline is 3. The description adds value by warning that the path parameter is required even though pathParams is not marked required in the schema, and it does not repeat the schema's property descriptions.

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 specific verb and resource ('Delete a record') and reinforces it with the HTTP method DELETE. The name and title additionally scope it to Marketing Cloud Next / Data 360, clearly distinguishing it from the SF delete siblings and from mcnext_create/update/action.

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?

It provides actionable invocation context: the path parameter is required, and the tool is blocked unless MC_NEXT_ALLOW_DESTRUCTIVE=true. This tells the agent the preconditions and an explicit condition under which not to attempt the call, though it does not name alternative tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.