Skip to main content
Glama
Shopify MCP Server

Shopify MCP Server

by morsimohsen

get_locations

Retrieves Shopify store locations for inventory and fulfillment planning, with pagination and an option to include inactive locations.

Instructions

Get list of store locations (for inventory and fulfillment)

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_locations"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNoCursor for pagination
firstNoNumber of locations to return (1-250, default: 50)
includeInactiveNoInclude inactive locations (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/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 it says almost nothing beyond the name. It does not mention that results are paginated, that inactive locations are excluded by default, or what a location record contains. The read-only nature is only implied by 'Get list'.

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 that front-loads the resource and purpose with no filler. The parenthetical is slightly terse but earns its place by scoping the use case.

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 three-optional-parameter read tool with no output schema or annotations, the description is minimally adequate. It leaves the agent guessing about pagination behavior and default filtering, which matters for correct invocation.

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 description coverage is 100%, so all three parameters (cursor, page size, includeInactive) are already documented in the schema. The description adds no meaning about parameter behavior, so the baseline of 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?

States a specific verb (get) and resource (store locations), and the parenthetical clarifies the domain use (inventory and fulfillment). It does not differentiate from siblings like get_shop_info or get_inventory_levels, which a locations-related list could be confused with.

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?

The parenthetical implies the context where this is useful (inventory/fulfillment work), but there is no explicit when-to-use or when-not-to-use guidance and no named alternative. An agent must infer the routing.

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