Skip to main content
Glama

Ask to publish a checkout

publish_checkout

Ask the seller to publish one of their draft checkouts, so buyers can pay. This never publishes by itself: it files a request (status pending_approval) and emails the seller, who confirms it with one tap in Swipefast. A yes in this chat doesn't count as their approval, so always tell them to confirm in Swipefast. Before asking, make sure they've looked at the preview. If something would stop it going live (no store name, a missing delivery link, no payment account), you get that reason instead; tell the seller. Check later with approval_status.

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

Input Schema

NameRequiredDescriptionDefault
accountNoOnly to work in a client's account: its id from list_accounts. Leave it out for your own account.
productYesThe draft checkout's id or slug.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say it is a non-destructive write; the description adds the material behavior: it files a request with status pending_approval, emails the seller, requires the seller's tap in Swipefast, and that a chat 'yes' does not count as approval. It also discloses the failure mode (blocking reasons returned instead of publishing).

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 core action and the key constraint, and every sentence carries operational information. It runs slightly long and the failure-reason clause could be tighter, but nothing is filler.

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 two-parameter approval-request tool with no output schema, the description covers the workflow, the approval channel, the blocking conditions, and the follow-up check. Nothing an agent needs to call it correctly is missing.

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 both parameters are already documented; the description only reinforces that 'product' is a draft checkout and that accounts are for client work. Baseline 3 is appropriate.

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 ('Ask the seller to publish one of their draft checkouts') plus the outcome ('so buyers can pay'), and immediately clarifies the negative case: it never publishes by itself. An agent can distinguish this from setup_checkout/update_checkout without opening a schema.

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?

Gives a concrete precondition ('make sure they've looked at the preview') and a named follow-up alternative ('Check later with approval_status'). It lacks an explicit when-not-to-use-this rule versus other checkout tools, but the context for use is clear.

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.