Skip to main content
Glama

How to write a sales page

get_sales_page_guide
Read-only

The rules and design brief for the HTML sales page that sits above a Swipefast checkout. Call this before writing salesPageHtml or calling set_sales_page, and follow it: it keeps the page on-brand, phone-friendly and from breaking the payment section. Pass product to fill the brief with that checkout's details, and style for a look (modern, classy, jacob, bold, minimal, playful): offer the seller the styles first if they haven't picked one.

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": "get_sales_page_guide"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleNoOptional: the page's look. Each result lists them.
accountNoOnly to work in a client's account: its id from list_accounts. Leave it out for your own account.
productNoOptional: a checkout's id or slug to build the brief from.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior4/5

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

Annotations declare readOnly=true and destructive=false, so safety is covered; the description adds real value by explaining why the guide matters (on-brand, phone-friendly, avoiding breaking the payment section) and that its rules are prescriptive, not advisory. It doesn't describe what the brief output actually contains, which keeps it short of a 5.

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?

Two sentences, front-loaded with what the tool is, then the mandatory call ordering, then the optional parameters. No filler and every clause carries actionable information.

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 zero-required-parameter, read-only guide tool with full schema coverage and no output schema, the definition supplies the workflow context and the one non-obvious behavioural rule. Only a hint about the shape of the returned brief is missing, which is minor here.

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 baseline is 3; the description earns an extra point by explaining the intent of `product` (fills the brief with that checkout's details) and by adding interaction guidance for `style` that the schema's enum alone cannot convey. The `account` parameter is left 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?

Names a specific resource (the rules/design brief for the HTML sales page above a Swipefast checkout) and a concrete verb of consumption, and distinguishes itself from set_sales_page and get_sales_page by positioning itself as the prerequisite guide rather than the page content itself.

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 sequencing: 'Call this before writing salesPageHtml or calling set_sales_page, and follow it.' It also states the conditional behaviour for the style parameter (offer styles first if the seller hasn't picked one), leaving nothing 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.