Skip to main content
Glama
Shopify Admin MCP Server

Shopify Admin MCP Server

get_abandoned_checkouts_count

Count abandoned checkouts, optionally filtered by a search query, to monitor lost sales and assess cart recovery needs.

Instructions

Count the total number of abandoned checkouts.

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

Input Schema

NameRequiredDescriptionDefault
queryNoSearch query to filter abandoned checkouts

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden and does little with it. It says 'total number,' which suggests an unfiltered count, yet the schema exposes a 'query' filter — leaving it unclear whether the query narrows the count or is ignored, and it never states the return type or read-only nature.

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?

One short sentence, front-loaded with the verb and resource, with no filler. Its brevity is appropriate to a simple aggregate tool, though it leaves no room for the needed clarifications.

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?

This is a simple, single-parameter aggregate with no output schema or annotations, so requirements are modest. Still, the description does not resolve whether the query filter affects the reported total, which is the one thing an agent needs to call 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% for the single optional 'query' parameter, so the schema already defines it. The description adds nothing about filter syntax or the filter/count interaction, so the baseline 3 applies.

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 gives a specific verb ('Count') and resource ('abandoned checkouts'), which clearly separates it from the list-style sibling get_abandoned_checkouts. It does not explicitly name that sibling or state the count-vs-list distinction, so it stops short of a 5.

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?

There is no guidance on when to use this count tool rather than get_abandoned_checkouts, nor any mention of prerequisites or exclusions. The agent must infer the choice purely from the tool names.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.