Skip to main content
Glama

Publish a landing page

publish_landing_page
Idempotent

Use this only after the user has seen the page and explicitly said yes to publishing it. Makes the page public on its own address, starts accepting leads and, on the first publish, may set up lead tracking in the client's connected Meta account. Only the workspace owner can publish, and publishing needs the Pro plan: other plans get PUBLISH_NEEDS_PRO with the link to the plan page. Refuses with the list of what is missing when the page is not ready (legal details of the owner, lead delivery, content checks).

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": {
      "page_id": "<page_id>"
    },
    "name": "publish_landing_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_idYespage_id from list_landing_pages or draft_landing_page

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?

Annotations only say readOnly=false, openWorld=true, idempotent=true; the description supplies the operationally decisive behavior: workspace-owner-only authorization, a Pro-plan requirement with the PUBLISH_NEEDS_PRO error code, readiness refusals listing missing items (legal details, lead delivery, content checks), and the side effect of setting up lead tracking in the client's Meta account on first publish.

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?

The consent gate is front-loaded in the first sentence and the remaining sentences stack preconditions, side effects, and failure modes without filler. The final sentence is dense and parenthetical, but no sentence is expendable.

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 one-parameter mutation with no output schema, the definition covers consent, permissions, plan gating, refusal contents, and external side effects. It only omits what a successful publish returns (e.g., the public URL), which is a modest gap given no output schema exists to describe it.

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?

There is a single required parameter at 100% schema coverage, and the schema already says where page_id comes from (list_landing_pages or draft_landing_page). The description adds no further meaning about the identifier, so the high-coverage baseline applies.

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 states a specific verb and resource and then defines the concrete effect: 'Makes the page public on its own address, starts accepting leads.' That distinguishes it from the sibling draft/update tools without needing to name them, since the agent learns that this is the step that goes live.

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?

It gives an explicit precondition for use – 'only after the user has seen the page and explicitly said yes' – which is exactly the when-to-use gate an agent needs. It stops short of naming alternatives such as get_page_preview_link or draft_landing_page for the pre-consent case, so the routing is clear but not fully closed.

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