Skip to main content
Glama

List drafts

list_drafts
Read-onlyIdempotent

Drafts and unpublished changes made through AI tools for this store that are waiting to be published or discarded.

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

Input Schema

NameRequiredDescriptionDefault
appNoWhich EA app: sticky_cart = EA Sticky Add to Cart Drawer (cart drawer, sticky add-to-cart bar, quick buy, cart upsells, rewards / free-shipping goals, every editor setting incl. custom CSS / HTML and templates, cart A/B tests, cart translations, checkout payment / shipping method rules); bundles = EA Bundles & Quantity Breaks (bundle deals, quantity breaks, upsell popups, checkout upsells); popups = EA Email Popup & Spin Wheel (spin-to-win wheel and email / SMS sign-up popup campaigns); translate = EA AI Language Translate (store translation and language selector); accessibility = EA Accessibility ADA WCAG EAA (accessibility widget and store accessibility scans); page_speed = EA SEO & Page Speed Optimizer (speed optimisations and SEO); free_shipping_bar = EA Free Shipping Bar & Upsell (free shipping progress bar); rewards_bar = EA Rewards Bar & Free Gifts (gift and rewards progress bar); announcement_bar = EA Announcement Bar Banner (announcement bar); countdown_bar = EA Countdown Timer Bar (countdown timer bar)
storeNoWhich connected store (its myshopify address, e.g. other-store.myshopify.com). Leave it out for the default store; list_stores shows them.

Output Schema

NameRequiredDescriptionDefault
draftsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / app / description
      Previous value: -"Which EA app: sticky_cart = EA • Sticky Cart (cart drawer, sticky add-to-cart bar, quick buy, cart upsells, rewards / free-shipping goals, every editor setting incl. custom CSS / HTML and templates, cart A/B tests, cart translations, checkout payment / shipping method rules); bundles = EA • Bundles & Upsell (bundle deals, quantity breaks, upsell popups, checkout upsells); popups = EA • Email Popups (spin-to-win wheel and email / SMS sign-up popup campaigns); translate = EA • Auto Translate (store translation and language selector); accessibility = EA • Accessibility (accessibility widget and store accessibility scans); page_speed = EA • SEO & Page Speed (speed optimisations and SEO); free_shipping_bar = EA • Free Shipping Bar (free shipping progress bar); rewards_bar = EA • Gift & Rewards Bar (gift and rewards progress bar); announcement_bar = EA • Announcement Bar (announcement bar); countdown_bar = EA • Countdown Bar (countdown timer bar)"New value: +"Which EA app: sticky_cart = EA Sticky Add to Cart Drawer (cart drawer, sticky add-to-cart bar, quick buy, cart upsells, rewards / free-shipping goals, every editor setting incl. custom CSS / HTML and templates, cart A/B tests, cart translations, checkout payment / shipping method rules); bundles = EA Bundles & Quantity Breaks (bundle deals, quantity breaks, upsell popups, checkout upsells); popups = EA Email Popup & Spin Wheel (spin-to-win wheel and email / SMS sign-up popup campaigns); translate = EA AI Language Translate (store translation and language selector); accessibility = EA Accessibility ADA WCAG EAA (accessibility widget and store accessibility scans); page_speed = EA SEO & Page Speed Optimizer (speed optimisations and SEO); free_shipping_bar = EA Free Shipping Bar & Upsell (free shipping progress bar); rewards_bar = EA Rewards Bar & Free Gifts (gift and rewards progress bar); announcement_bar = EA Announcement Bar Banner (announcement bar); countdown_bar = EA Countdown Timer Bar (countdown timer bar)"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "drafts": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "app": {
      +            "description": "The EA app id (as in the `app` argument).",
      +            "enum": [
      +              "sticky_cart",
      +              "bundles",
      +              "popups",
      +              "translate",
      +              "accessibility",
      +              "page_speed",
      +              "free_shipping_bar",
      +              "rewards_bar",
      +              "announcement_bar",
      +              "countdown_bar"
      +            ],
      +            "type": "string"
      +          },
      +          "by": {
      +            "type": "string"
      +          },
      +          "draft_id": {
      +            "type": "string"
      +          },
      +          "status": {
      +            "type": "string"
      +          },
      +          "store": {
      +            "type": "string"
      +          },
      +          "type": {
      +            "type": "string"
      +          },
      +          "updated": {
      +            "description": "ISO date-time.",
      +            "type": "string"
      +          },
      +          "what": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "draft_id",
      +          "store",
      +          "app",
      +          "status"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "drafts"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / app / description
      Previous value: -"Which EA app: sticky_cart = EA • Sticky Cart (cart drawer, sticky add-to-cart bar, quick buy, cart upsells, rewards / free-shipping goals, checkout payment / shipping method rules); bundles = EA • Bundles & Upsell (bundle deals, quantity breaks, upsell popups, checkout upsells); popups = EA • Email Popups (spin-to-win wheel and email / SMS sign-up popup campaigns); translate = EA • Auto Translate (store translation and language selector); accessibility = EA • Accessibility (accessibility widget and store accessibility scans); page_speed = EA • SEO & Page Speed (speed optimisations and SEO); free_shipping_bar = EA • Free Shipping Bar (free shipping progress bar); rewards_bar = EA • Gift & Rewards Bar (gift and rewards progress bar); announcement_bar = EA • Announcement Bar (announcement bar); countdown_bar = EA • Countdown Bar (countdown timer bar)"New value: +"Which EA app: sticky_cart = EA • Sticky Cart (cart drawer, sticky add-to-cart bar, quick buy, cart upsells, rewards / free-shipping goals, every editor setting incl. custom CSS / HTML and templates, cart A/B tests, cart translations, checkout payment / shipping method rules); bundles = EA • Bundles & Upsell (bundle deals, quantity breaks, upsell popups, checkout upsells); popups = EA • Email Popups (spin-to-win wheel and email / SMS sign-up popup campaigns); translate = EA • Auto Translate (store translation and language selector); accessibility = EA • Accessibility (accessibility widget and store accessibility scans); page_speed = EA • SEO & Page Speed (speed optimisations and SEO); free_shipping_bar = EA • Free Shipping Bar (free shipping progress bar); rewards_bar = EA • Gift & Rewards Bar (gift and rewards progress bar); announcement_bar = EA • Announcement Bar (announcement bar); countdown_bar = EA • Countdown Bar (countdown timer bar)"
  3. Changed1 schema field changed
    • changedInput schema / properties / app / description
      Previous value: -"Which EA app: sticky_cart = EA • Sticky Cart (cart drawer, sticky add-to-cart bar, quick buy, cart upsells, rewards / free-shipping goals); bundles = EA • Bundles & Upsell (bundle deals, quantity breaks, upsell popups, checkout upsells); popups = EA • Email Popups (spin-to-win wheel and email / SMS sign-up popup campaigns); translate = EA • Auto Translate (store translation and language selector); accessibility = EA • Accessibility (accessibility widget and store accessibility scans); page_speed = EA • SEO & Page Speed (speed optimisations and SEO); free_shipping_bar = EA • Free Shipping Bar (free shipping progress bar); rewards_bar = EA • Gift & Rewards Bar (gift and rewards progress bar); announcement_bar = EA • Announcement Bar (announcement bar); countdown_bar = EA • Countdown Bar (countdown timer bar)"New value: +"Which EA app: sticky_cart = EA • Sticky Cart (cart drawer, sticky add-to-cart bar, quick buy, cart upsells, rewards / free-shipping goals, checkout payment / shipping method rules); bundles = EA • Bundles & Upsell (bundle deals, quantity breaks, upsell popups, checkout upsells); popups = EA • Email Popups (spin-to-win wheel and email / SMS sign-up popup campaigns); translate = EA • Auto Translate (store translation and language selector); accessibility = EA • Accessibility (accessibility widget and store accessibility scans); page_speed = EA • SEO & Page Speed (speed optimisations and SEO); free_shipping_bar = EA • Free Shipping Bar (free shipping progress bar); rewards_bar = EA • Gift & Rewards Bar (gift and rewards progress bar); announcement_bar = EA • Announcement Bar (announcement bar); countdown_bar = EA • Countdown Bar (countdown timer bar)"
  4. Changed1 schema field changed
    • changedInput schema / properties / app / description
      Previous value: -"Which EA app: sticky_cart = EA • Sticky Cart (cart drawer, sticky add-to-cart bar, quick buy, cart upsells, rewards / free-shipping goals); bundles = EA • Bundles & Upsell (bundle deals, quantity breaks, upsell popups, checkout upsells); popups = EA • Email Popups (spin-to-win wheel and email / SMS sign-up popup campaigns); translate = EA • Auto Translate (store translation and language selector); accessibility = EA • Accessibility (accessibility widget and store accessibility scans); page_speed = EA • Page Speed Boost (speed optimisations and SEO); free_shipping_bar = EA • Free Shipping Bar (free shipping progress bar); rewards_bar = EA • Gift & Rewards Bar (gift and rewards progress bar); announcement_bar = EA • Announcement Bar (announcement bar); countdown_bar = EA • Countdown Bar (countdown timer bar)"New value: +"Which EA app: sticky_cart = EA • Sticky Cart (cart drawer, sticky add-to-cart bar, quick buy, cart upsells, rewards / free-shipping goals); bundles = EA • Bundles & Upsell (bundle deals, quantity breaks, upsell popups, checkout upsells); popups = EA • Email Popups (spin-to-win wheel and email / SMS sign-up popup campaigns); translate = EA • Auto Translate (store translation and language selector); accessibility = EA • Accessibility (accessibility widget and store accessibility scans); page_speed = EA • SEO & Page Speed (speed optimisations and SEO); free_shipping_bar = EA • Free Shipping Bar (free shipping progress bar); rewards_bar = EA • Gift & Rewards Bar (gift and rewards progress bar); announcement_bar = EA • Announcement Bar (announcement bar); countdown_bar = EA • Countdown Bar (countdown timer bar)"
  5. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and a closed world, so the safety profile is covered. The description adds lifecycle context — that these are AI-generated drafts pending publish or discard — which is useful, but says nothing about ordering, pagination, or volume of results.

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?

A single short sentence with no filler, and the scoping qualifier is front-loaded. It is however a noun-phrase fragment rather than a complete statement of the action, which keeps it from being fully self-explanatory.

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?

With annotations, full schema coverage and an output schema, the description does not need to explain return values or safety. It is still thin on the two things an agent would want here: when to call this versus get_item/list_items, and whether results are scoped or paginated.

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 the app enum is documented exhaustively in the schema, including the meaning of every value. The description only echoes the store scoping ('for this store') and adds no new semantics, so the baseline of 3 applies.

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

Purpose3/5

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

The description defines the resource ('drafts and unpublished changes made through AI tools for this store') but never states the verb — that it lists them. It scopes the resource to AI-tool-generated drafts, which does narrow it against list_items, but an agent must infer the listing action from the tool name rather than the description.

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 explicit when-to-use guidance and no named alternatives. The phrase 'waiting to be published or discarded' faintly implies the follow-up actions (request_publish, discard_draft), but the description never routes the agent to a sibling or states a precondition such as needing an app/store filter.

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