Qapla' MCP by usefulapi
Read shipments, orders, tracking changes and couriers; push shipments in Qapla'.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"qapla": {
"url": "https://qapla.usefulapi.io/mcp"
}
}
}Remote endpoints
https://qapla.usefulapi.io/mcpstreamable-httpWhat it can do
Tool inventory
Tools (14)
🟢qapla_get_channel(data)
Get the sales channel behind the API key: its name, platform, URL and company. The key itself is never returned. Qapla' API: GET /1.2/getChannel/.
Input Schema
{
"type": "object",
"properties": {
"data": {
"description": "Also return the platform and marketplace setup (all, platform or marketplaces).",
"type": "string",
"enum": [
"all",
"platform",
"marketplaces"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢qapla_check_channel
Check the connections between the channel and its platform and marketplaces. Qapla' API: GET /1.2/checkChannel/.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢qapla_get_credits
Get the remaining credits on the premium account. Qapla' API: GET /1.2/getCredits/.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢qapla_get_shipment(trackingNumber, reference, id, custom1, lang, ...)
Get one shipment and its tracking status by tracking number, order reference or Qapla' id. Give at least one of them. Qapla' API: GET /1.3/getShipment/.
Input Schema
{
"type": "object",
"properties": {
"trackingNumber": {
"description": "The carrier tracking number.",
"type": "string"
},
"reference": {
"description": "The order reference of the shipment.",
"type": "string"
},
"id": {
"description": "The Qapla' shipment id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"custom1": {
"description": "Value of the custom1 field.",
"type": "string"
},
"lang": {
"description": "Language of the Qapla' status names (default it).",
"type": "string",
"enum": [
"it",
"en",
"es"
]
},
"data": {
"description": "Extra blocks, one of: all, consignee, children, parent, flag, notifications, history, rows, parcels, deliveryInfo.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢qapla_list_shipments(date_field, date)
List the shipments imported into the channel for one day. Pick the date field and the day. Qapla' API: GET /1.2/getShipments/.
Input Schema
{
"type": "object",
"properties": {
"date_field": {
"description": "Date to filter on: shipDate, orderDate or dateIns (upload date). Default: dateIns.",
"type": "string",
"enum": [
"shipDate",
"orderDate",
"dateIns"
]
},
"date": {
"description": "The day, YYYY-MM-DD. Required when date_field is set.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢qapla_list_company_shipments(date_field, date, data, lang)
List the shipments of all channels of the company that owns the API key, for one day. Qapla' API: GET /1.3/getCompanyShipments/.
Input Schema
{
"type": "object",
"properties": {
"date_field": {
"description": "Date to filter on: shipDate, orderDate or dateIns (upload date). Default: dateIns.",
"type": "string",
"enum": [
"shipDate",
"orderDate",
"dateIns"
]
},
"date": {
"description": "The day, YYYY-MM-DD. Required when date_field is set.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"data": {
"description": "history adds the tracking history of each shipment.",
"type": "string",
"enum": [
"history"
]
},
"lang": {
"description": "Language of the Qapla' status names (default it).",
"type": "string",
"enum": [
"it",
"en",
"es"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢qapla_tracking_changes(dateFrom, dateTo, lang)
List the shipments whose tracking status changed between two times. Qapla' API: GET /1.2/trackingByTimeFrame/.
Input Schema
{
"type": "object",
"properties": {
"dateFrom": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
"description": "Start of the window, YYYY-MM-DD HH:MM:SS."
},
"dateTo": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
"description": "End of the window, YYYY-MM-DD HH:MM:SS."
},
"lang": {
"description": "Language of the Qapla' status names (default it).",
"type": "string",
"enum": [
"it",
"en",
"es"
]
}
},
"required": [
"dateFrom",
"dateTo"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢qapla_list_status_codes(id, lang)
List the Qapla' shipment status codes with their names in one language, or one status by id. Qapla' API: GET /1.2/getQaplaStatus/.
Input Schema
{
"type": "object",
"properties": {
"id": {
"description": "One status id. Leave empty for all statuses.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"lang": {
"description": "Language of the Qapla' status names (default it).",
"type": "string",
"enum": [
"it",
"en",
"es"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢qapla_get_order(reference, orderID)
Get one order by its order reference or its alternative order id. Give one of them. Qapla' API: GET /1.3/getOrder/.
Input Schema
{
"type": "object",
"properties": {
"reference": {
"description": "The order reference.",
"type": "string"
},
"orderID": {
"description": "The alternative order id.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢qapla_list_orders(date_field, date, dateFrom, dateTo)
List the orders imported into the channel for one day, or for a time window on updatedAt. Qapla' API: GET /1.2/getOrders/.
Input Schema
{
"type": "object",
"properties": {
"date_field": {
"description": "Date to filter on: updatedAt, createdAt or dateIns (upload date). Default: dateIns.",
"type": "string",
"enum": [
"updatedAt",
"createdAt",
"dateIns"
]
},
"date": {
"description": "The day, YYYY-MM-DD. Required when date_field is set.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"dateFrom": {
"description": "Window start on updatedAt, YYYY-MM-DD HH:MM:SS. Give with dateTo.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$"
},
"dateTo": {
"description": "Window end on updatedAt, YYYY-MM-DD HH:MM:SS. Give with dateFrom.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢qapla_check_label(trackingNumber, reference, id)
Check the state of a shipping label by tracking number, order reference or label id. Qapla' API: GET /1.2/checkLabel/.
Input Schema
{
"type": "object",
"properties": {
"trackingNumber": {
"description": "The carrier tracking number.",
"type": "string"
},
"reference": {
"description": "The order reference.",
"type": "string"
},
"id": {
"description": "The label id from createLabel.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢qapla_get_couriers(country, code)
List the couriers Qapla' supports, for all countries or for some. Qapla' API: GET /1.2/getCouriers/.
Input Schema
{
"type": "object",
"properties": {
"country": {
"description": "Comma-separated country codes, for example it,fr,global. Leave empty for all couriers.",
"type": "string"
},
"code": {
"description": "One Qapla' courier code, for example BRT.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢qapla_detect_courier(trackingNumber)
Guess the courier from a tracking number format. The answer lists candidates, most likely first. It does not check that the tracking number exists. Qapla' API: GET /1.2/detectCourier/.
Input Schema
{
"type": "object",
"properties": {
"trackingNumber": {
"type": "string",
"minLength": 1,
"description": "The tracking number to match."
}
},
"required": [
"trackingNumber"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡qapla_push_shipments(shipments)
Import or update up to 100 shipments in the channel by tracking number and courier. A shipment with the same tracking number and courier is updated, not copied. Each shipment uses one API token of the 150 per 60 s limit. Qapla' API: POST /1.3/pushShipment/.
Input Schema
{
"type": "object",
"properties": {
"shipments": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"trackingNumber": {
"type": "string",
"minLength": 1,
"description": "The carrier tracking number."
},
"courier": {
"type": "string",
"minLength": 1,
"description": "The Qapla' courier code, for example BRT or DHL."
},
"shipDate": {
"description": "Ship date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"reference": {
"description": "The order reference.",
"type": "string"
},
"orderDate": {
"description": "Order date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"custom1": {
"description": "Free field 1, printed on the label when set.",
"type": "string",
"maxLength": 25
},
"custom2": {
"description": "Free field 2.",
"type": "string",
"maxLength": 25
},
"custom3": {
"description": "Free field 3.",
"type": "string",
"maxLength": 25
}
},
"required": [
"trackingNumber",
"courier"
]
},
"description": "The shipments to import, 1 to 100."
}
},
"required": [
"shipments"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Evidence