Skip to main content
Glama

UXON AI

checkouts_templates_save

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Save the selected current Checkout draft as a reusable variant template through the editor service. Returns its real template ID. Distinct from content_templates Checkout appearance; does not publish or create a payment.

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": {
      "siteId": "<siteId>",
      "checkoutId": "<checkoutId>",
      "variantId": "<variantId>",
      "name": "<name>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "checkouts_templates_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
variantIdYesUse a variant ID returned by this exact checkoutId. A copied Checkout has different variant IDs from its source; read its current variants instead of reusing an ID.
checkoutIdYes
idempotencyKeyYesRequired unique request key for safe retries, for example client-action-2026-07-20-001.

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
auditIdNo
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true and openWorldHint=false, so the mutation and safety profile are covered. The description adds genuine scope boundaries (no publish, no payment creation) and the return value's meaning ('real template ID'), but says nothing about the persisted artifact's visibility, side effects on the source draft, or the editor-service dependency beyond naming it.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core is two efficient sentences, but the leading 'Before operating Revenuefly, read agent.instructions.get and follow its instructions' is generic banner text occupying the highest-value position and pushing the actual purpose back. Everything after that earns its place.

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?

An output schema exists, so return format need not be explained, and annotations carry the safety profile. For a six-parameter, five-required mutation the description covers purpose, return meaning, and negative scope; what remains thin is how this template relates to the content_templates family and whether it is retrievable afterwards.

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 50% and the description contributes only loose semantics — 'selected current Checkout draft' gestures at checkoutId/variantId but adds no format or selection rules beyond what the schema already documents for variantId and idempotencyKey. With half the parameters documented only by type/format, the description does not compensate for the gap, so it stays at the schema-driven baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Save the selected current Checkout draft as a reusable variant template' and adds that it 'Returns its real template ID.' It also explicitly separates itself from content_templates ('Distinct from content_templates Checkout appearance'), though the opening agent.instructions boilerplate dilutes the front-load.

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

Usage Guidelines3/5

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

Gives partial when-not guidance ('does not publish or create a payment') and names a neighbouring concept to avoid confusing it with, but never states the precondition for using it (a draft checkout with an existing variant must already exist) or which sibling to call first to obtain the variantId. The agent must infer the workflow.

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