Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Check a fulfillment provider connection

check_fulfillment_connection
Read-only

Verifies a store's fulfillment provider connection to confirm the credential still works and nothing on the provider side is blocking orders; use it to diagnose orders stuck before production.

Instructions

Live check of one store's fulfillment provider connection: does the credential still work, and is anything on the provider side blocking orders. healthy is true (working), false (the merchant must act) or null (could not tell: the provider was throttling or unreachable; do NOT ask the user to reconnect on null). Some providers (Toolbox POD) also return an itemised report: checks (token, me, scopes, mode, purchasing, webhook), each with ok true, false or null (unknown), and fixes, plain sentences telling the merchant exactly what to switch on. Relay every fixes entry to the user word for word. checks.purchasing.ok false means no spending limit is set, so paid orders will wait until the merchant turns purchasing on in their Toolbox POD account. mode "test" is a sandbox connection that never charges or prints. Use after connecting a provider, and whenever orders are stuck before production. Read-only on the merchant's data, but it does call the provider (an OAuth probe may refresh the stored access token), so do not poll it: use check_connection_status for polling.

[#37be56]

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": {
      "store_uuid": "<store_uuid>",
      "provider_uuid": "<provider_uuid>"
    },
    "name": "check_fulfillment_connection"
  }
}

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_uuidYesStore uuid (from list_my_stores or create_store).
provider_uuidYesProvider uuid (from list_connectable_providers).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.25.2

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, and the description adds real beyond-schema context: it reaches out to the provider, an OAuth probe may refresh the stored access token, and polling should be avoided. It also reconciles the read-only hint with the outbound call (read-only on merchant data, but it does call the provider), which is useful nuance rather than a contradiction. The remaining gaps are modest, mostly around latency or failure modes beyond the null case.

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?

The core definition is front-loaded in the first sentence, and nearly every clause carries operational value (null semantics, fixes relay, purchasing flag, test mode). It is a single dense block, though, and the returned-field detail (checks, fixes, mode) could be split or trimmed for faster scanning.

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 explain return values, and it does: healthy true/false/null with meanings, the itemised checks list, fixes sentences, and mode test semantics. For a tool that calls an external provider this is close to complete, with only minor room on edge cases or response shape.

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 description coverage is 100%, so the schema already documents workspace, store_uuid and provider_uuid with source hints. The description adds no per-parameter detail, so it neither compensates nor detracts; the schema carries this dimension fully.

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 (live check of one store's fulfillment provider connection) and immediately defines the two questions it answers: credential validity and provider-side blockers. It is clearly distinguishable from the polling sibling check_connection_status, which it names.

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 triggers (after connecting a provider, whenever orders are stuck before production) and an explicit exclusion with an alternative (do not poll it; use check_connection_status for polling). It also tells the agent how to behave on a null result: do not ask the user to reconnect.

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