Skip to main content
Glama

Read a sales page

get_sales_page
Read-only

The HTML of the sales page above one of the seller's checkouts, or of an upsell's own page (pass upsell). Read it before changing a page, so you change what's there instead of rewriting it from memory. To change part of it, use edit_sales_page; to replace all of it, set_sales_page. The answer includes slop: { score, flags }, Swipefast's plain-rules check of the page's words (0-100, no AI): if score is 20 or more, fix the flagged phrases with edit_sales_page, keep the facts, and save again.

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": {
      "product": "<product>"
    },
    "name": "get_sales_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
upsellNoAn upsell's id from get_product, to read its page instead of the sales page.
accountNoOnly to work in a client's account: its id from list_accounts. Leave it out for your own account.
productYesThe checkout's id or slug.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/destructive/openWorld flags, and the description goes further by disclosing the response payload (a slop object with score and flags, 0-100, rule-based, no AI) even though no output schema exists. It also describes the recommended follow-up workflow when score >= 20, which is real behavioral context rather than restated metadata.

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-loads the resource definition, then alternatives, then the slop caveat — a logical order with no filler. The final sentence is dense and slightly run-on (threshold, action, and 'save again' packed together), keeping it just below top marks.

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 read tool with no output schema, the description supplies what the schema and annotations cannot: the shape of the returned data and how to act on it. Purpose, alternatives, and response semantics are all covered, leaving no obvious gap for an agent calling it correctly.

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?

Schema coverage is 100%, so each parameter is already documented. The description only reinforces the upsell meaning ('of an upsell's own page') and the product/upsell relationship; it adds little syntax or edge-case detail beyond the schema, so the baseline 3 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?

Names the exact resource returned (the HTML of the sales page above a checkout, or an upsell's own page when upsell is passed) and implicitly the read verb. It is clearly distinguishable from edit_sales_page and set_sales_page, which are named as the mutation counterparts.

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?

Gives explicit when-to-use guidance ('read it before changing a page, so you change what's there instead of rewriting it from memory') and routes to alternatives by condition: edit_sales_page for partial changes, set_sales_page for full replacement. Nothing is left to inference about which tool to pick.

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.