Skip to main content
Glama

Check the connected store

get_commerce_connection
Read-onlyIdempotent

The site's connected online store (Shopify or WooCommerce): whether it is connected, how (store address only, or an Admin API token), what that connection reads and whether it offers order status, the store address, when products last synced and any sync problem, how many products are synced and published, whether synced products are published automatically, and (token connections only) the webhook address to set in the store. Never returns the token or signing secret.

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": {
      "site_id": "<site_id>"
    },
    "name": "get_commerce_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYesThe site, from list_sites
user_goalNoOptional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, and closed-world behavior, so the description is not required to restate safety. It adds real value by disclosing that the token and signing secret are never returned and that the webhook address is only available for token-based connections, which prevents an agent from expecting secrets in the response. It stops short of describing failure modes, such as what is returned when no store is connected.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is front-loaded with the resource identity, but it is delivered as one long comma-chained sentence that is dense and hard to scan. Every clause is informative, but a bulleted or segmented structure would communicate the returned fields more efficiently.

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?

There is no output schema, so the description must convey what comes back, and it does so thoroughly, enumerating connection state, method, read scope, order status capability, store address, last sync, sync problems, product counts, auto-publish behavior, and the webhook address. The main remaining gap is the no-store-connected or error case.

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 both site_id and user_goal are already documented in the schema. The description adds no additional meaning about either parameter. The 3 baseline applies because the schema carries the parameter burden.

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 names a specific resource (the site's connected online store, Shopify or WooCommerce) and the specific facts it reports: connection state, connection method, sync status, product counts, and webhook address. It is clearly a read-only status check and not a connect/configure action. It does not explicitly contrast itself with siblings such as connect_shopify_store or get_store_settings, so it falls 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 Guidelines3/5

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

Usage is only implied by the content: an agent can infer it should call this to inspect store connection and sync health. There is no statement of when to prefer this over get_store_settings, check_test_order, or connect_shopify_store, and no prerequisites are given beyond the site_id parameter.

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