Skip to main content
Glama
machship-mcp

machship-mcp

Create Pending Consignment

machship_create_pending_consignment

Creates a draft consignment to stage shipment details before rating or carrier assignment, which can be converted after quoting.

Instructions

Creates a pending consignment — a draft/staging consignment that hasn't been rated or assigned to a carrier yet. Pending consignments can be converted to full consignments after quoting.

Args:

  • consignment (object): Pending consignment data including companyId, from/to address, items, references, etc.

Input Schema

NameRequiredDescriptionDefault
consignmentYesPending consignment data (companyId, fromAddress, toAddress, items, reference1, reference2)

Output Schema

NameRequiredDescriptionDefault
errorsNoValidation errors returned by Machship, if any
objectNoResponse payload from the Machship API

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.0.1
    • addedInput schema / properties / consignment / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "errors": {
      +      "anyOf": [
      +        {
      +          "items": {},
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "Validation errors returned by Machship, if any"
      +    },
      +    "object": {
      +      "description": "Response payload from the Machship API"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already disclose readOnlyHint=false, idempotentHint=false, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuine context beyond that: the created record is in a draft/unrated/unassigned state and is later convertible to a full consignment, which tells the agent this is a non-terminal, non-destructive stage-setting write. It stops short of describing validation failures, required permissions, or what happens to the record if quoting fails.

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 the second sentence adds lifecycle context rather than filler. The trailing 'Args' block marginally duplicates the schema's own property description, which keeps it from a 5.

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?

For a single-parameter create tool with an output schema and full annotation coverage, the description supplies enough: what is created, its lifecycle state, and how it is later used. Return values need not be explained because an output schema exists; only the nested object's required sub-fields remain opaque.

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

Parameters3/5

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

Schema description coverage is 100% and the single parameter already documents its fields (companyId, fromAddress, toAddress, items, reference1, reference2). The description's 'Args' block lists essentially the same field set ('companyId, from/to address, items, references, etc.'), adding almost no new meaning beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Creates a pending consignment') and then defines what a pending consignment actually is: 'a draft/staging consignment that hasn't been rated or assigned to a carrier yet.' That definition distinguishes it from the sibling machship_create_consignment, though it never names that sibling directly, so the differentiation is inferential rather than explicit.

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

Usage Guidelines3/5

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

The line 'Pending consignments can be converted to full consignments after quoting' implies the workflow (stage now, quote, then finalize), which is useful implied usage guidance. However, there is no explicit when-to-use versus machship_create_consignment or machship_create_quote, and no prerequisites, exclusions, or error conditions are stated.

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