Skip to main content
Glama

Draft a landing page

draft_landing_page

Use this when the user wants a new landing page with a lead form for a business. Creates a private draft from a plain description (what the business sells; where; optional price and phone) or from a website address; the text is generated, the design is chosen from the business type. Returns page_id and the preview link. Nothing is published. Counts as one question to Ace. Free and Plus plans keep up to 2 unpublished drafts.

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": {
      "client_id": "<client_id>"
    },
    "name": "draft_landing_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the page; default follows the country
avoidNoWords and promises to keep out
colorNoBrand color, #RRGGBB
phoneNoBusiness phone, international format
placeNoCity or area served
styleNo
countryNoCountry ISO code, for example US
websiteNoInstead of description: the business website (https)
whatsappNoWhatsApp number, international format
client_idYesclient_id from list_clients
advantagesNo
price_fromNoPrice from, or pay and schedule for a job
descriptionNoWhat the business sells or offers, in one or two sentences
business_nameNo
controller_emailNo
controller_addressNo
controller_legal_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses that the draft is private and unpublished, that text is generated and design auto-chosen from business type, that the return includes page_id and a preview link, that it consumes one 'question' from Ace, and that Free/Plus plans cap unpublished drafts at 2. Quota cost and plan limits are exactly the operational context annotations cannot convey.

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?

Front-loaded with the trigger condition, then behavior, then return, then constraints — a sensible order with no filler. It is dense, packing output, billing and plan limits into two short trailing sentences, which is efficient though slightly compressed.

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 17-parameter mutation with no output schema, the description covers the essentials: what gets created, that nothing goes live, what comes back, and the quota/plan constraints. Remaining gaps are around failure modes and the consent/legal parameter group, which the schema labels thinly.

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?

At 65% schema description coverage, the schema already documents most fields including enums and patterns. The description adds useful framing for description, website ('instead of description'), phone, place and price_from, but says nothing about the several controller_* legal fields, avoid, advantages, style or color, leaving a meaningful share of 17 parameters described only by schema and some (style, business_name, advantages, controller fields) not at all.

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?

States a specific verb and resource (creates a private draft of a landing page with a lead form) and scopes it as 'new' and 'Nothing is published', which separates it from publish_landing_page and update_landing_page without needing to name them. The two input modes (plain description vs website address) are spelled out.

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

Usage Guidelines4/5

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

'Use this when the user wants a new landing page with a lead form for a business' gives a clear trigger, and 'Nothing is published' implies the publish step is separate. It stops short of explicitly routing to update_landing_page for existing pages or naming the publish tool, so the boundary on modification is left to inference.

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