Skip to main content
Glama

Update a lead magnet

update_lead_magnet
DestructiveIdempotent

Change a lead magnet's landing page texts, form settings or placement, or render its PDF again from the ebook as it is now (refreshPdf; same address, leads and numbers). Send only what changes. On a DRAFT or paused one the changes apply at once. On a LIVE one nothing is applied: the call returns the exact changes; show them to the user and repeat the same call with confirmLiveChange: true only after they agree. Applying to a live lead magnet needs the magnets:publish permission.

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": {
      "magnetId": "<magnetId>"
    },
    "name": "update_lead_magnet"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoThe page's path under the Library: lowercase letters, numbers and single hyphens, up to 60 characters. Defaults to one made from the title.
titleNoThe landing page's title.
featuredNoShow it first on the Library (one per Library).
headlineNoThe line under the title; also the search result title when set.
magnetIdYesFrom list_lead_magnets.
showCountNoShow how many people downloaded it, once that is 100 or more.
emailGuideNoAlso email the reader a copy (default true).
refreshPdfNoRender the PDF again from the ebook as it is now (same address, leads and numbers).
consentTextNoThe consent sentence beside the required checkbox. Omit to keep Unplain's default sentence.
descriptionNoWhat the reader gets and why; shown on the page and in search results.
whatsInsideNoUp to 5 short lines for "What's inside"; null lets Unplain pick them from the PDF.
allowSharingNoLet readers make share links for colleagues.
nameRequiredNoAsk for a name as well as the email.
showOnLibraryNoList it on the Library page (false = reachable only by its link).
confirmLiveChangeNoRequired for any change visitors would see: on a LIVE lead magnet, on one still paused by the plan (it returns to live by itself), a new slug for a published one, or featured. Call first without it to get the list of changes, show them to the user, and repeat with true only after they agree.
linkTrackingInDownloadNoCount clicks on links inside the downloaded PDF.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / confirmLiveChange / description
      Previous value: -"Required for any change visitors would see: on a LIVE lead magnet, on one paused by the plan (it returns to live by itself), a new slug for a published one, or featured. Call first without it to get the list of changes, show them to the user, and repeat with true only after they agree."New value: +"Required for any change visitors would see: on a LIVE lead magnet, on one still paused by the plan (it returns to live by itself), a new slug for a published one, or featured. Call first without it to get the list of changes, show them to the user, and repeat with true only after they agree."
  2. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources