Skip to main content
Glama
Shopify Admin MCP Server

Shopify Admin MCP Server

get_location

Retrieves detailed information for a single Shopify location, including inventory levels for all items, using its location ID.

Instructions

Get detailed information about a single location, including inventory levels for all items.

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": {
      "id": "<id>"
    },
    "name": "get_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe location ID (gid://shopify/Location/...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the notable behavioral trait that the response embeds inventory levels for all items — a potentially heavy payload. However, it does not confirm read-only semantics beyond the verb "Get," nor address whether the call fails for unknown or deleted location IDs.

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 well-formed sentence with no filler, and the most useful payload detail (inventory levels) is front-loaded. Slight verbosity in "detailed information about" could be tightened, but nothing is wasted.

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?

For a one-parameter read tool with full schema coverage and no output schema, the description supplies the key missing context: what the response actually contains. Missing only edge-case behavior (invalid ID handling, size of the inventory payload) to be fully complete.

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?

There is only one parameter and the schema already documents it at 100% coverage, including the gid://shopify/Location/... format. The description adds no meaning beyond that, 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?

The description uses a specific verb and resource ("Get detailed information about a single location") and adds the distinguishing payload detail ("including inventory levels for all items"), which separates it from the plural get_locations sibling. It stops short of naming the alternative explicitly, so sibling differentiation is implied rather than stated.

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 phrase "a single location" implies this is the by-ID counterpart to get_locations, but the description never states when to use this tool versus the list variant, nor any prerequisites. Usage is inferable from the word "single" rather than spelled out.

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