Skip to main content
Glama

ProShip Thailand Post

create_order

Create a shipment order. Defaults to Thailand Post EPS (thaipost0). Weight is in GRAMS. Returns the order_id — it contains a pipe suffix (order-xxx|123); always pass the FULL id to other tools. Optional cod_amount enables cash-on-delivery.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userNoOptional: ProShip username. Normally decoded from your token automatically.
ref_noNoOptional: your own order reference
weightYesParcel weight in grams
remarksNo
shop_idYesYour shop id (see list_shops)
customerYes
productsNoOptional line items
cod_amountNoOptional: cash-on-delivery amount (THB)
shipping_methodNoDefault thaipost0 (EPS). thaipost requires a Thailand Post contract on your account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

No annotations exist, so description carries full burden. Clearly states return value (order_id with pipe suffix), weight unit (grams), optional COD behavior, default shipping method. Discloses that ID needs full value passed to other tools. Lacks info on error modes, idempotency, or whether order is created immediately.

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?

Three concise sentences front-load key details. No fluff or repetition. Could potentially combine first two sentences, but remains tight. Missing punctuation is minor.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a creation tool with 9 params, nested objects, no output schema, and no annotations, description covers essential defaults and return format but omits many usage patterns: what happens on failure, required permissions, idempotency, relationship to check_duplicate or update_order_status. Barely adequate for reliable invocation.

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

Parameters4/5

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

Schema description coverage is 78% – already detailed in schema. Description adds critical context for weight ('in GRAMS'), shipping_method defaults, and cod_amount purpose. Explains order_id return format. However, some params like remarks still lack schema description and description doesn't compensate.

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?

Description clearly states 'Create a shipment order' with specific verb and resource. Distinguishes from siblings like cancel_order, get_order, list_orders by focusing on creation. Somewhat vague on exact scope (creates only? returns immediately?). Could clarify if it's async or synchronous.

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

Usage Guidelines4/5

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

Explicitly states default shipping method (Thailand Post EPS) and provides alternative ('thaipost requires contract'). Hints at prerequisites by referencing list_shops for shop_id. Could add more when-to-use vs cancel/update tools, but context is reasonable.

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.