Skip to main content
Glama
thenavidm
by thenavidm

Delete custom field

delete_custom_field
Destructive

Deletes a custom field from a Beehiiv publication after confirmation; requires confirm=true and custom_fields:write for OAuth.

Instructions

Delete custom field. Changes account state and requires confirm=true for the user-requested action. OAuth integrations require custom_fields:write.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoNamed private account from BEEHIIV_ACCOUNTS. Defaults to BEEHIIV_DEFAULT_ACCOUNT or the first configured account.
confirmNoSet true only when the user asked for exactly this action.
publication_idYesThe prefixed ID of the publication object
custom_field_idYesThe ID of the Custom Fields object

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.1
    • changedInput schema / properties / confirm / description
      Previous value: -"Must be true for every account mutation. Confirms only the user-requested action."New value: +"Set true only when the user asked for exactly this action."
  2. First observedv2.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, openWorldHint=true, and idempotentHint=false, so the safety profile is covered structurally. The description adds genuinely new behavioral context: that account state is mutated, that a confirm gate must be satisfied, and that OAuth callers need the custom_fields:write scope. It does not address reversibility or what happens to values already stored on the field.

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 short sentences, front-loaded with the action, then the two operational constraints. No filler and nothing that does not earn its place.

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 destructive tool with no output schema, the description covers the mutation, the confirm gate, and the OAuth scope. It stops short of explaining irreversibility or the effect on existing field values, which would be the remaining thing an agent needs before deleting.

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 100%, so the schema already documents account, confirm, publication_id, and custom_field_id. The description only restates the confirm requirement, which the schema's own description ("Set true only when the user asked for exactly this action") already conveys, so it adds little beyond the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ("Delete custom field") that maps unambiguously to the delete_custom_field operation and distinguishes it from create_custom_field/update_custom_field/patch_custom_field in the sibling list. It does not, however, explicitly distinguish itself from the other delete_* siblings (delete_segment, delete_webhook, delete_post), so it falls short of a 5.

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?

The description gives a clear precondition ("requires confirm=true for the user-requested action"), which is real usage guidance, but it never states when to prefer deletion over update_custom_field/patch_custom_field or when deletion should be avoided. Usage is implied rather than spelled out.

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

Deploy Server

Other Tools