Skip to main content
Glama

Draft a landing page, popup, banner or product text

draft_special_content

Draft the wording of a landing page, popup, banner or shop product: headlines, body text, FAQs, descriptions, benefits and directions. Give id and docVersion to change one, or contentType and name to start one. Only text fields may change: schedules, targeting, styles, prices, codes and catalogue IDs are left to people, and existing blocks cannot be removed. Saved as a draft; returns its summary and the new docVersion. Finish with submit_for_review.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "draft_special_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoTo change an existing one: its id. Leave out to start a new one.
nameNoTo start a new one: its name in the CMS.
fieldsNoOnly the text fields to change; others are kept.
localeNoLocale code, such as de-DE. Defaults to the region's default locale.
regionNoRegion key, such as germany. Defaults to the default region.
componentsNoThe whole block list, with existing blocks kept by id.
docVersionNoThe docVersion from your last get_page or update. If someone else has changed the page since, the call is refused with the current version, so nobody's newer change is overwritten: read it again and retry. Your own changes since that version don't count, so several steps on one page can each pass the version they read.
contentTypeNoTo start a new one: which kind.
environmentNoEnvironment key. Defaults to "staging".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / docVersion / description
      Previous value: -"The docVersion from your last get_page or update. If the page has changed since, the call is refused with the current version, so nobody's newer change is overwritten: read it again and retry."New value: +"The docVersion from your last get_page or update. If someone else has changed the page since, the call is refused with the current version, so nobody's newer change is overwritten: read it again and retry. Your own changes since that version don't count, so several steps on one page can each pass the version they read."
  2. Changed4 schema fields changed
    • addedInput schema / properties / contentType / description
      Added value: +"To start a new one: which kind."
    • addedInput schema / properties / docVersion / description
      Added value: +"The docVersion from your last get_page or update. If the page has changed since, the call is refused with the current version, so nobody's newer change is overwritten: read it again and retry."
    • addedInput schema / properties / id / description
      Added value: +"To change an existing one: its id. Leave out to start a new one."
    • addedInput schema / properties / name / description
      Added value: +"To start a new one: its name in the CMS."
  3. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare non-readOnly, non-destructive, closed-world; the description adds substantial context beyond them: edits are limited to text fields, existing blocks cannot be removed, the result is saved as a draft rather than published, and the return payload is a summary plus a new docVersion. It even explains the optimistic-concurrency contract — a stale docVersion is refused with the current version so nobody's newer change is overwritten — which is exactly the kind of behavioral detail the agent needs.

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?

Front-loaded with the drafting scope, then the mode selection, then the hard constraints, then the saved-as-draft return contract and the next step. Every sentence carries a rule the agent would otherwise get wrong; even the enumeration of excluded fields earns its place by preventing malformed write attempts.

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 nine-parameter tool with nested objects and no output schema, the description covers what it writes, what it refuses to write, what it returns (summary and new docVersion) and what must follow (submit_for_review). Nothing an agent needs to invoke it correctly is missing.

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; the description earns a step up by synthesizing the parameter relationships into two named modes (id+docVersion vs contentType+name) rather than leaving the agent to infer the combination from nine separate property descriptions. It adds less direct value on individual fields such as locale, region or environment, which are left entirely to the schema.

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 names a specific verb (Draft) and enumerates the resource kinds (landing page, popup, banner, shop product) plus the field types covered (headlines, body text, FAQs, descriptions, benefits, directions). It also splits the two modes of operation — change an existing item via id+docVersion, create a new one via contentType+name — so an agent knows exactly which tool it is holding.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit routing is given: use id+docVersion to edit, contentType+name to create, and 'Finish with submit_for_review' names the required follow-up sibling. The boundary is also stated negatively — schedules, targeting, styles, prices, codes and catalogue IDs are out of scope, left to people — so the agent knows when not to reach for this tool.

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