Skip to main content
Glama
thenavidm
by thenavidm

Delete newsletter list

delete_newsletter_list
Destructive

Remove a newsletter list from a Beehiiv publication when the user confirms the action. Requires publication and newsletter list IDs and sets confirm=true.

Instructions

Delete newsletter list. Changes account state and requires confirm=true for the user-requested action. OAuth integrations require newsletter_lists: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
newsletter_list_idYesThe prefixed ID of the newsletter list 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 flag destructiveHint=true and idempotentHint=false, but the description adds value beyond them: it states the operation changes account state, requires an explicit confirm=true confirmation, and needs the newsletter_lists:write scope for OAuth integrations. It does not say whether deleting a list cascades to its subscribers/subscriptions, which is the main remaining behavioral gap.

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, zero filler, and the destructive action is front-loaded. Every sentence carries a distinct piece of information: the action, the state change plus confirmation, and the auth scope.

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 definition covers the essentials: it mutates account state, needs explicit confirmation, and requires a write scope. The one omission is cascade behavior (whether dependent newsletter_list_subscriptions are removed), which an agent invoking an irreversible delete would benefit from knowing.

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 publication_id, newsletter_list_id, account and confirm are all documented in the schema. The description only restates the confirm=true condition the schema already spells out, adding no syntax or format detail beyond it. Baseline 3 is appropriate when the schema does the heavy lifting.

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 and resource ("Delete newsletter list"), which cleanly separates it from create_newsletter_list and update_newsletter_list in the sibling set. It stops short of explicitly naming the sibling operations it should be preferred over, so it reads as clear but not fully differentiated.

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 hard precondition (confirm=true for user-requested actions) and an OAuth scope requirement, which is useful gating guidance. However, it never contrasts this tool with alternatives such as delete_segment or the subscription-level deletes, so the agent must infer when this is the right delete.

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