Skip to main content
Glama

Delete Custom Field (preview, then confirm)

delete_custom_field
DestructiveIdempotent

Delete a custom contact field and the values stored in it. Fails if the field is used in a webform. Two steps: call first without confirm to get a preview (nothing is deleted), get an explicit yes from the user, then call again with confirm: true.

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": {
      "field_id": "<field_id>"
    },
    "name": "delete_custom_field"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to delete. Leave false first to get a preview
dry_runNoShow what would be deleted without deleting, even when confirm is true
field_idYesCustom field (property) ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / field_id / description
      Previous value: -"Custom field (property) ID,required"New value: +"Custom field (property) ID"
  2. Added

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 idempotentHint=true, so the safety profile is covered; the description goes further by stating that stored values are destroyed along with the field, that the operation fails when a webform references it, and that the first call is a no-op preview. That is exactly the extra context the 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three compact sentences: what is destroyed, what blocks it, and the exact call sequence. The destructive scope is front-loaded and nothing is redundant with the annotations or schema.

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

Completeness5/5

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

For a destructive, parameter-light tool with no output schema and full annotation coverage, the description supplies everything an agent needs: destruction scope, failure condition, and the mandatory two-call confirmation protocol.

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, but the description adds workflow meaning the schema alone does not: that confirm must be preceded by a preview call and an explicit user yes. It does not mention dry_run at all, leaving that parameter's interaction with confirm entirely to the schema text.

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 opens with a specific verb and resource ("Delete a custom contact field") plus the blast radius ("and the values stored in it"), which distinguishes it clearly from siblings like delete_tag, delete_segment, and update_custom_field. An agent can identify the target object and operation without opening the schema.

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 gives an explicit procedural protocol — call without confirm for a preview, get an explicit yes from the user, call again with confirm: true — plus a blocking condition (fails if the field is used in a webform). It stops short of naming alternatives such as update_custom_field or list_custom_fields for verification, so not a full 5.

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