Skip to main content
Glama
thenavidm

Gumroad MCP Server

by thenavidm

Delete offer code

delete_offer_code
Destructive

Permanently delete a product offer code by providing product and offer code IDs. Requires explicit confirmation before the Gumroad edit action runs.

Instructions

Delete offer code. Reviewed native DELETE /products/:product_id/offer_codes/:id; scope: edit_products. Requires explicit per-call confirmation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoExact private profile label; never inherited credentials, ownership or scope proof.
confirmNoSet true only when the user asked for exactly this action.
product_idYesExact opaque provider ID, including native = padding.
offer_code_idYesExact opaque provider ID, including native = padding.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • changedInput schema / properties / confirm / description
      Previous value: -"Explicit approval of this exact native effect or private file output."New value: +"Set true only when the user asked for exactly this action."
  2. First observedv2.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and non-idempotent, so the safety profile is covered. The description adds real value beyond that: the required OAuth scope (edit_products), the underlying native endpoint, and the mandatory per-call confirmation requirement, which is not derivable from annotations or schema.

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?

Two short sentences with the action front-loaded and no filler. The scope and confirmation constraint are packed into a single clause; nothing is redundant, though the phrasing is slightly telegraphic.

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, non-idempotent tool with no output schema, the definition covers the essential operational facts: required scope, confirmation gate, and target endpoint. It does not describe side effects (e.g., whether the code can be restored) but annotations already flag the destruction.

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%, with each parameter (account, confirm, product_id, offer_code_id) already documented in the schema. The description adds no syntax or format detail about the IDs or the confirm flag, so the baseline 3 applies.

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 (Delete) and resource (offer code), which is unambiguous against siblings like delete_product, delete_variant, and delete_custom_field. It does not explicitly name a sibling, but the resource noun alone is sufficient to disambiguate.

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?

It gives a prerequisite ('Requires explicit per-call confirmation') and the required scope ('edit_products'), which implies when the call is permitted. However, it offers no guidance on when to delete versus disable or update an offer code, nor any exclusions, so the usage context is only partially covered.

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