Skip to main content
Glama

shopping checkout get

shopping_checkout_get
Read-only

Refresh merchant checkout state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesRegistered UCP Gateway UUID returned by register_ucp_profile; required for every Shopping tool.
checkout_idYesProvider checkout ID returned by shopping_checkout_create or shopping_checkout_update.
merchant_domainYesMerchant host such as 'outboundpower.com' or 'example.myshopify.com'. Do not include a URL scheme, localhost, private IP, file URL, or ftp URL.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesTrue for successful tool execution; false for structured tool errors.
rawNoRedacted raw provider or registry payload for debugging. Shape may vary by upstream endpoint.
errorNoStructured tool error.
messageYesHuman-readable result summary or recovery message.
checkoutNoSafe provider checkout summary including id, status, continue_url, totals, line_items, and messages when provided.
warningsNoNon-fatal checkout or handoff warnings.
next_stepYesRecommended next step. Suggestions are non-binding and never authorize payment or state-changing actions.
merchant_domainNoResolved merchant domain.
partial_successNoTrue when Shopify flagged the upstream result as an error but returned a usable checkout payload (id plus continue_url or recognized status). The gateway result is still actionable; this is not an order confirmation.
upstream_is_errorNoTrue when the upstream Shopify MCP response set isError/ok:false while still returning a usable checkout payload. Present for debugging; does not make the gateway tool result an error.
commerce_session_idNoInternal gateway commerce session UUID when one was created.
requires_escalationNoTrue when Shopify requires the buyer to finish a step on the merchant-hosted checkout page (status requires_escalation/requires_buyer_input or escalation warnings). The continue_url is still actionable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / partial_success
      Added value: +{
      +  "description": "True when Shopify flagged the upstream result as an error but returned a usable checkout payload (id plus continue_url or recognized status). The gateway result is still actionable; this is not an order confirmation.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / requires_escalation
      Added value: +{
      +  "description": "True when Shopify requires the buyer to finish a step on the merchant-hosted checkout page (status requires_escalation/requires_buyer_input or escalation warnings). The continue_url is still actionable.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / upstream_is_error
      Added value: +{
      +  "description": "True when the upstream Shopify MCP response set isError/ok:false while still returning a usable checkout payload. Present for debugging; does not make the gateway tool result an error.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, indicating safe read operation. The description adds the term 'Refresh,' which implies re-fetching, but adds little beyond annotations.

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 description is a single, short phrase that is front-loaded with the key action. While very brief, it is not wasteful, though it could be slightly more informative.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple getter with good annotations and full schema coverage, the description is minimally adequate. It does not explain the output or any additional behavior, but an output schema exists to cover return values.

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%, and all three parameters have clear descriptions. The description does not add any additional meaning beyond what the schema provides.

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?

The description uses a specific verb 'Refresh' and resource 'checkout state,' clearly indicating it retrieves checkout state. It distinguishes from sibling operations like create, update, and cancel by being a read operation.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives (e.g., shopping_checkout_update, shopping_checkout_cancel). The description does not specify context or prerequisites.

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