Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Check connection status

check_connection_status
Read-only

Polls whether a dispatched connection has completed so you can tell the user authorization succeeded, keep waiting, or dispatch a fresh link when reconnection is required.

Instructions

Poll whether a dispatched connection has completed. Call this repeatedly after start_channel_connect while the user authorizes in their browser, and announce the result when it lands: they cannot see this conversation from the tab they authorized in, so if you do not tell them, nobody does. Read-only, makes no provider call, and is safe to poll every few seconds. connected true means say so and continue setup. connected false means keep waiting. needs_reconnect means retrying will never work and you must dispatch a fresh link with start_channel_connect.

[#807361]

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

Input Schema

NameRequiredDescriptionDefault
workspaceNoWorkspace uuid the store lives in (agency accounts) — use the store's workspace.uuid from list_my_stores. Omit only for single-workspace accounts; omitting it on a multi-workspace account targets the Default workspace and the call will fail to find a store that lives elsewhere.
store_uuidNoNarrow the answer to one store. Omit to get the whole account.
provider_uuidNoThe provider you are waiting for — pass the same provider_uuid you gave start_channel_connect. REQUIRED in practice when waiting on a sales channel (Shopify, TikTok Shop): without it this answers only about fulfillment and will report false however long you poll. It also prevents a false positive, where an unrelated existing connection makes this look successful.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.2

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations it discloses that no provider call is made, that polling every few seconds is safe, and that the agent must surface the result because the user cannot see the conversation from the authorizing tab — a real behavioral obligation. The result-state semantics (connected true/false/needs_reconnect) are spelled out, though rate-limit or timeout bounds are not.

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?

Front-loaded with the action plus a usage window, then ordered by outcome. Dense but every clause carries routing or behavior information; the aside about the user not seeing the conversation is long but is the reason the tool exists, so it earns its place.

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?

With no output schema, the description carries the burden of explaining return values and does so for all three states plus the hidden failure mode of a wrong provider_uuid. Missing only polling limits or a give-up condition, which for a read-only poll is a minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description goes further by tying provider_uuid to the value from start_channel_connect and warning that omitting it yields a false negative on sales channels and can yield a false positive from an unrelated connection. That reframes a nominally optional parameter as required in practice.

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

Purpose5/5

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

States a specific verb and resource ('Poll whether a dispatched connection has completed') and ties it explicitly to the sibling that precedes it, start_channel_connect, so an agent can distinguish it from check_order_status or check_setup_readiness at a glance.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives explicit when-to-use ('call this repeatedly after start_channel_connect while the user authorizes'), when-not ('needs_reconnect means retrying will never work'), and the required alternative in that case (dispatch a fresh link with start_channel_connect). Nothing about routing is left to inference.

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

Deploy Server

Other Tools