GoSweetSpot MCP by usefulapi
Get rates, track shipments, check addresses; save orders and delete shipments in GoSweetSpot.
사용해야 할까요
품질 및 안전성
발견 사항 (4)
- LOWgosweetspot_list_customer_orders에서
- LOWgosweetspot_list_pending_orders에서
- LOWgosweetspot_get_shipment_status에서
- LOWgosweetspot_save_customer_orders에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"gosweetspot": {
"url": "https://gosweetspot.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://gosweetspot.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (12)
🟢gosweetspot_list_services
List the carriers and services this API key can book, with account numbers. Good first call before creating shipments or rates. GoSweetSpot API: GET /api/availableservices.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢gosweetspot_list_stock_sizes
List the package stock sizes set up for this site, with their dimensions. Use a stock size name in gosweetspot_get_rates. GoSweetSpot API: GET /api/stocksizes.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢gosweetspot_list_printers
List the printers available to this user, with label type and online status. GoSweetSpot API: GET /api/printers.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢gosweetspot_list_customer_orders(packingslipno, createdfrom, createdto, excludecompleted, includeProducts, ...)
List customer orders published to the GoSweetSpot queue, with optional filters by packing slip number, created date range and completion. GoSweetSpot API: GET /api/customerorders.
입력 스키마
{
"type": "object",
"properties": {
"packingslipno": {
"description": "Comma-separated packing slip numbers.",
"type": "string"
},
"createdfrom": {
"description": "Earliest created date (UTC).",
"type": "string"
},
"createdto": {
"description": "Latest created date (UTC).",
"type": "string"
},
"excludecompleted": {
"description": "True returns only pending orders.",
"type": "boolean"
},
"includeProducts": {
"description": "True adds the product lines to each order.",
"type": "boolean"
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"pagesize": {
"description": "Records per page (default 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 250
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢gosweetspot_list_pending_orders
List orders that were published but not yet processed (no shipment ticket). GoSweetSpot API: GET /v2/pendingorders.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢gosweetspot_get_order_status(packingslipno)
Get the current status of one order by its packing slip number: PENDING, PICKED or DELIVERED, with ticket number and tracking URL. GoSweetSpot API: GET /v2/order/{packingslipno}.
입력 스키마
{
"type": "object",
"properties": {
"packingslipno": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "The order's packing slip number (your order reference)."
}
},
"required": [
"packingslipno"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢gosweetspot_list_shipments(shipments, ordernumbers, lastupdateminutc, lastupdatemaxutc, includeDangerousGoodsFlag, ...)
List shipments with their status and last update, filtered by consignment numbers, order numbers or a last-update window. If consignments or order numbers are given, the window is ignored. GoSweetSpot API: GET /api/shipments.
입력 스키마
{
"type": "object",
"properties": {
"shipments": {
"description": "Comma-separated consignment numbers.",
"type": "string"
},
"ordernumbers": {
"description": "Comma-separated order numbers.",
"type": "string"
},
"lastupdateminutc": {
"description": "Earliest last-update time (UTC).",
"type": "string"
},
"lastupdatemaxutc": {
"description": "Latest last-update time (UTC).",
"type": "string"
},
"includeDangerousGoodsFlag": {
"type": "boolean"
},
"excludeDeletedShipments": {
"type": "boolean"
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"pagesize": {
"description": "Records per page (max 250).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 250
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢gosweetspot_get_shipment_status(consignmentNumbers)
Get the current status, pickup and delivery times, tracking URL and line events for up to the consignment numbers given. GoSweetSpot API: POST /v2/shipmentstatus.
입력 스키마
{
"type": "object",
"properties": {
"consignmentNumbers": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 60
},
"description": "Consignment numbers, e.g. [\"WRR1406658\"]."
}
},
"required": [
"consignmentNumbers"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢gosweetspot_get_rates(deliveryReference, destination, packages, IsSaturdayDelivery, IsSignatureRequired, ...)
Get the courier services and prices for one destination and its packages, without creating a shipment. Returns available rates with QuoteId, plus rejected rates and validation errors. GoSweetSpot API: POST /api/rates.
입력 스키마
{
"type": "object",
"properties": {
"deliveryReference": {
"description": "Order reference, max 60 characters.",
"type": "string",
"maxLength": 60
},
"destination": {
"type": "object",
"properties": {
"Name": {
"type": "string",
"maxLength": 50,
"description": "Receiver company or person name."
},
"ContactPerson": {
"type": "string",
"maxLength": 50
},
"PhoneNumber": {
"type": "string",
"maxLength": 50
},
"Email": {
"type": "string",
"maxLength": 200
},
"DeliveryInstructions": {
"type": "string",
"maxLength": 120
},
"Address": {
"type": "object",
"properties": {
"BuildingName": {
"type": "string",
"maxLength": 50
},
"StreetAddress": {
"type": "string",
"maxLength": 50
},
"Suburb": {
"type": "string",
"maxLength": 50
},
"City": {
"type": "string",
"maxLength": 50
},
"PostCode": {
"type": "string",
"maxLength": 10
},
"CountryCode": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"description": "ISO alpha-2 country code, e.g. NZ, AU."
}
},
"required": [
"StreetAddress",
"City",
"CountryCode"
]
}
},
"required": [
"Name",
"Address"
],
"description": "Receiver address."
},
"packages": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"Name": {
"type": "string",
"maxLength": 50,
"description": "Stock size name from gosweetspot_list_stock_sizes, or \"custom\"."
},
"PackageCode": {
"type": "string",
"maxLength": 20
},
"Type": {
"description": "Box, Carton, Satchel, Bag, Pallet, etc.",
"type": "string",
"maxLength": 10
},
"Length": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Length in centimetres."
},
"Width": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Width in centimetres."
},
"Height": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Height in centimetres."
},
"Kg": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Weight in kilograms."
},
"HasDG": {
"description": "True if the package holds dangerous goods.",
"type": "boolean"
}
},
"required": [
"Name",
"Length",
"Width",
"Height",
"Kg"
]
},
"description": "Packages to send."
},
"IsSaturdayDelivery": {
"type": "boolean"
},
"IsSignatureRequired": {
"type": "boolean"
},
"DeclarationType": {
"description": "Customs declaration type. Default merchandise.",
"type": "string",
"enum": [
"merchandise",
"documents",
"returned",
"sample"
]
}
},
"required": [
"destination",
"packages"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢gosweetspot_validate_address(Consignee, ContactPerson, PhoneNumber, DeliveryInstructions, Email, ...)
Check one address for state, suburb, postcode and country. For NZ it also flags rural, Saturday and residential delivery, and lists the services that reach it. GoSweetSpot API: POST /v2/addressvalidation.
입력 스키마
{
"type": "object",
"properties": {
"Consignee": {
"type": "string",
"maxLength": 50,
"description": "Company or person name."
},
"ContactPerson": {
"type": "string",
"maxLength": 50
},
"PhoneNumber": {
"type": "string",
"maxLength": 50
},
"DeliveryInstructions": {
"type": "string",
"maxLength": 120
},
"Email": {
"type": "string",
"maxLength": 200
},
"Address": {
"type": "object",
"properties": {
"BuildingName": {
"type": "string",
"maxLength": 50
},
"StreetAddress": {
"type": "string",
"maxLength": 50
},
"Suburb": {
"type": "string",
"maxLength": 50
},
"City": {
"type": "string",
"maxLength": 50
},
"PostCode": {
"type": "string",
"maxLength": 10
},
"CountryCode": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"description": "ISO alpha-2 country code, e.g. NZ, AU."
}
},
"required": [
"StreetAddress",
"City",
"CountryCode"
]
}
},
"required": [
"Consignee",
"Address"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡gosweetspot_save_customer_orders(orders)
Create orders in GoSweetSpot or update pending ones, in one batch. An order whose packing slip number was already processed is ignored. Does not book any carrier. GoSweetSpot API: PUT /api/customerorders.
입력 스키마
{
"type": "object",
"properties": {
"orders": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"packingslipno": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Your unique order number (packing slip number)."
},
"consignee": {
"type": "string",
"maxLength": 100,
"description": "Recipient name."
},
"address1": {
"description": "Building or level line.",
"type": "string",
"maxLength": 100
},
"address2": {
"type": "string",
"maxLength": 100,
"description": "Street line."
},
"suburb": {
"type": "string",
"maxLength": 100
},
"city": {
"type": "string",
"maxLength": 100,
"description": "City, or state code where the country has states."
},
"postcode": {
"type": "string",
"maxLength": 10
},
"country": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"description": "ISO alpha-2 country code, e.g. NZ, AU."
},
"delvref": {
"description": "Customer reference.",
"type": "string",
"maxLength": 100
},
"delvinstructions": {
"description": "Instructions printed on the label.",
"type": "string",
"maxLength": 250
},
"contactname": {
"type": "string",
"maxLength": 100
},
"contactphone": {
"type": "string",
"maxLength": 50
},
"email": {
"description": "Address for tracking emails.",
"type": "string",
"maxLength": 200
},
"costcentre": {
"type": "string",
"maxLength": 100
},
"shippingDescription": {
"type": "string",
"maxLength": 250
},
"isSignatureRequired": {
"description": "True for signature on delivery; false for authority to leave.",
"type": "boolean"
},
"products": {
"type": "array",
"items": {
"type": "object",
"properties": {
"productcode": {
"type": "string",
"maxLength": 60,
"description": "Product or SKU code."
},
"description": {
"type": "string",
"maxLength": 200
},
"units": {
"description": "Quantity ordered.",
"type": "number"
},
"unitvalue": {
"description": "Value of one unit.",
"type": "number"
},
"unitkg": {
"description": "Weight of one unit in kg.",
"type": "number"
},
"currency": {
"description": "ISO 4217 currency code, e.g. NZD.",
"type": "string",
"minLength": 3,
"maxLength": 3
}
},
"required": [
"productcode"
]
}
}
},
"required": [
"packingslipno",
"consignee",
"address2",
"city",
"country"
]
},
"description": "Orders to create or update, max 100 per call."
}
},
"required": [
"orders"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴gosweetspot_delete_shipments(consignmentNumbers)
Delete consignments that are not yet picked up, in one call (max 50). Returns the outcome per consignment, e.g. Deleted, or the reason it could not be deleted (already in transit, delivered or manifested). GoSweetSpot API: DELETE /api/shipments.
입력 스키마
{
"type": "object",
"properties": {
"consignmentNumbers": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"pattern": "^[^,\\s]+$"
},
"description": "Consignment numbers to delete, max 50, one per item."
}
},
"required": [
"consignmentNumbers"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}커뮤니티
증거