Skip to main content
Glama
Azzaraell

logistics-mcp

by Azzaraell

logistics-mcp

Operations teams ask questions about shipments all day — "where is SBY-1042", "which route missed its SLA last month", "what would 12 kg to Makassar cost". The answers sit in a logistics system that an AI assistant cannot see. This MCP server exposes that system as nine tools, so Claude can answer from the actual data instead of from a screenshot the user pasted into the chat.

It runs out of the box against a bundled demo dataset (200 synthetic shipments across 6 cities over 3 months), so you can try every tool without credentials. Point it at your own backend by setting two environment variables.

The domain model comes from a production logistics platform I built (Next.js + Supabase, deployed on GCP). This repo contains the MCP server and a synthetic demo dataset, not the client application; no real customer names, rates, or operational data appear anywhere in it.

Architecture

Claude (Desktop / Code)
        |  MCP, stdio
        v
  logistics-mcp
   tool handlers          <- zod-validated inputs, row/byte caps, actionable errors
        |
   LogisticsSource        <- one interface; handlers do not know which side is active
   /          \
demo source   rest source
fixtures/*.json   LOGISTICS_API_URL + LOGISTICS_API_TOKEN (Bearer)

The demo source reads the checked-in fixture JSON. The rest source expects the upstream contract documented below. Writes are disabled unless ALLOW_WRITES=1; in demo mode an update_shipment_status call mutates memory only and never touches the fixture files.

Related MCP server: Logistics AI MCP

Install

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "logistics": {
      "command": "npx",
      "args": ["-y", "logistics-mcp"]
    }
  }
}

Claude Code:

claude mcp add logistics -- npx -y logistics-mcp

Both configurations need nothing else: no URL, no token, no clone. To connect your own backend instead of the demo data, add LOGISTICS_API_URL and LOGISTICS_API_TOKEN to the server's environment.

What a conversation looks like

Recorded against the demo dataset.

You: What's the status of shipment SBY-1003?

Claude calls track_shipment and gets the public timeline:

{
  "spNumber": "SBY-1003",
  "events": [
    { "at": "2026-07-11T05:35:01.991Z", "status": "READY", "location": "Surabaya", "description": "Shipment registered and waiting for pickup" },
    { "at": "2026-07-11T14:35:01.991Z", "status": "PICKED_UP", "location": "Surabaya", "description": "Picked up from sender" },
    { "at": "2026-07-12T11:35:01.991Z", "status": "IN_TRANSIT", "location": "Surabaya to Yogyakarta", "description": "On the way to the destination region" },
    { "at": "2026-07-13T02:35:01.991Z", "status": "AT_HUB", "location": "Yogyakarta hub", "description": "Arrived at destination sorting hub" },
    { "at": "2026-07-13T13:35:01.991Z", "status": "OUT_FOR_DELIVERY", "location": "Yogyakarta", "description": "With the courier for final delivery" },
    { "at": "2026-07-14T21:35:01.991Z", "status": "DELIVERED", "location": "Yogyakarta", "description": "Delivered to the recipient" }
  ]
}

You: And what would 12 kg to Makassar cost on STANDARD?

quote_shipping_rate resolves the layered rate table and shows the math:

{
  "freight": 174000,
  "currency": "IDR",
  "breakdown": {
    "pricePerKg": 14500,
    "minCharge": 25000,
    "appliedRule": "destination_special",
    "formula": "max(ceil(12 * 14500), 25000)"
  },
  "alternatives": [
    { "product": "ECONOMY", "freight": 68400 },
    { "product": "EXPRESS", "freight": 312000 }
  ]
}

Other questions the demo data supports: "which route had the worst on-time rate in June" (delivery_performance), "what's on the next load to Surabaya" (list_manifestsget_manifest), "show everything Kirana Textiles shipped that's still in transit" (search_shipments), "which customers still have unpaid invoices" (list_invoices).

Tools

Tool

What it answers

search_shipments

Find shipments by status, date range, route, or customer (limit default 20, max 100)

get_shipment

Full detail: items, extra charges, total amount, status history

track_shipment

Public tracking timeline, without internal ops notes

quote_shipping_rate

Price for route + weight + product, with the winning rate rule and the math

list_manifests

Outbound loads per region and date, with counts and total weight

get_manifest

Contents of one load

delivery_performance

Per-route on-time rate, average transit days, exception counts for a period

list_invoices

Customer invoices by payment status or customer, with amount and due date

update_shipment_status

Write. Disabled unless ALLOW_WRITES=1

Configuration

Variable

Default

Effect

LOGISTICS_API_URL

(empty)

Empty: bundled demo dataset. Set: REST backend at this URL

LOGISTICS_API_TOKEN

(empty)

Bearer token for the REST backend. Required when the URL is set

ALLOW_WRITES

0

Only the exact value 1 enables update_shipment_status

LOGISTICS_TIMEOUT_MS

10000

Per-call timeout for the data source

LOGISTICS_MAX_RESPONSE_BYTES

100000

Responses above this are trimmed with a note on how to narrow the query

If LOGISTICS_API_URL is set without a token, the server exits with a message naming the missing variable. It does not fall back to demo data — a demo answer presented as production data is worse than an error.

REST backend contract

The rest source expects these endpoints under LOGISTICS_API_URL, all with Authorization: Bearer <LOGISTICS_API_TOKEN>:

GET  /shipments?status&from&to&origin&destination&customer&limit&offset
GET  /shipments/:spNumber
GET  /shipments/:spNumber/tracking
GET  /rates?origin&destination
GET  /manifests?region&date&limit&offset
GET  /manifests/:id
GET  /invoices?status&customer&limit&offset
POST /shipments/:spNumber/status    { "status": "...", "note": "..." }

Response shapes match the TypeScript interfaces in src/sources/types.ts.

Security notes

  • Read-only by default. The single write tool stays off unless ALLOW_WRITES=1, and when it is off the tool says how to enable it instead of failing with a generic error.

  • No credentials in the repo and no credential defaults in code. The token comes from the environment and is sent only to LOGISTICS_API_URL.

  • Tool errors return sentences the model can act on ("no shipment matches SBY-9999; check the number or use search_shipments"), not stack traces or raw upstream responses.

  • List responses are capped in rows and in bytes, so one tool call cannot flood the client's context window.

  • stdio transport only; the server opens no network listener of its own.

Development

npm install
npm run build              # tsc
npm test                   # vitest, runs against the demo dataset
npm run generate:fixtures  # regenerate fixtures/data deterministically

fixtures/generate.ts uses a fixed seed; regeneration must produce byte-identical output. If it does not, the generator picked up nondeterminism — fix the generator, never hand-edit the JSON. The demo-data review checklist in .claude/agents/demo-data-reviewer.md covers the consistency rules the dataset must satisfy (chronology, rate math, cross-file references).

The .claude/ setup is part of the repo's workflow, not decoration: a review subagent (agents/demo-data-reviewer.md), a fixture-check skill (skills/check-fixtures/), and two hooks wired in settings.jsonhooks/no-stdout-log.sh keeps stray console.log out of the stdio server, and hooks/no-null-bytes.sh blocks git commit when a staged text file contains null bytes (a guard against UTF-16 output from PowerShell redirects, which once published an empty README to npm).

Limitations

  • stdio only; no HTTP/SSE transport.

  • The demo dataset is synthetic and small by design (200 shipments). Aggregations like delivery_performance fetch up to 1000 rows and stop there.

  • No OAuth; the REST adapter authenticates with a static bearer token.

Available Tools

9 tools
delivery_performanceA

Aggregate delivery performance per route for a period: on-time rate, average transit days, and exception counts. Use for questions like 'which route underperformed last month'. Read-only; fetches up to 1000 shipments.

ParametersJSON Schema
NameRequiredDescriptionDefault
toNoInclude shipments created on or before, YYYY-MM-DD
fromNoInclude shipments created on or after, YYYY-MM-DD
originNoRestrict to one origin city code
destinationNoRestrict to one destination city code

TDQS

A4.2/5.0
Behavior4/5

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

Discloses read-only nature and a limit of 1000 shipments, which are key behavioral traits. No annotations are present, so description carries the full burden. Could additionally mention data freshness or empty result handling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences efficiently cover purpose, example, and behavioral notes. No redundancy or filler. Every sentence adds value.

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 simple tool with no required parameters and no output schema, the description explains purpose, gives a usage example, and notes key behaviors. Could mention whether the result is a list of routes or a single aggregate, but overall sufficient.

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%, so each parameter is already well-documented. The description adds context about route-level aggregation but does not provide syntax or format details beyond the schema, meeting the baseline.

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?

The description clearly states it aggregates delivery performance per route with specific metrics (on-time rate, average transit days, exception counts). This distinguishes it from sibling tools that focus on individual shipments (e.g., get_shipment, track_shipment).

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?

Provides a concrete usage example ('which route underperformed last month') and notes it's read-only. Does not explicitly exclude use cases or mention sibling alternatives, but the context is clear enough.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_manifestA

Contents of one manifest: the shipments on it, total weight, and shipment count. Use after list_manifests to see what is on a specific load.

ParametersJSON Schema
NameRequiredDescriptionDefault
manifest_idYesManifest id, e.g. MFST-SBY-20260714

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries full burden. It states it returns contents, implying a read operation, but does not explicitly disclose behavioral traits like auth requirements or side effects. It provides adequate but not detailed transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, with the first defining the tool's output and the second providing usage guidance. No unnecessary words, perfectly concise.

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

Completeness5/5

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

Given the tool has no output schema, the description adequately lists what it returns (shipments, total weight, shipment count). It is complete for a simple retrieval tool with only one parameter.

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% with a clear description of the manifest_id parameter. The description adds context by mentioning that manifest IDs come from list_manifests, providing marginal additional value beyond the schema.

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?

The description clearly states the tool returns the contents of one manifest including shipments, total weight, and shipment count. It distinguishes from sibling tools like list_manifests by specifying that it is used after that to see details of a specific load.

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?

The description explicitly says to use after list_manifests to see what is on a specific load, providing clear usage context. However, it does not explicitly state when not to use it or list alternatives beyond list_manifests.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_shipmentA

Full detail for one shipment: items, extra charges, total amount, and the complete status history. Use after search_shipments when the summary is not enough.

ParametersJSON Schema
NameRequiredDescriptionDefault
sp_numberYesShipment number, e.g. SBY-1042

TDQS

A4.2/5.0
Behavior4/5

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

No annotations provided, so description bears full burden. It describes the return content (items, charges, amount, status history), implying read-only. Adds behavioral context beyond the input schema by detailing the output, though doesn't mention errors or permissions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences: first states purpose and output, second gives usage guidance. Front-loads key information with zero wasted words.

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?

Single parameter, no output schema. Description adequately explains what the tool returns and when to use it. Lacks error handling details but is sufficient for the tool's simplicity.

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% for the sole parameter sp_number, which already includes type, pattern, and example. The tool description does not add new parameter semantics; baseline score of 3 is appropriate.

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?

Description clearly states 'Full detail for one shipment' and lists specific data items (items, extra charges, total amount, complete status history). It distinguishes from sibling 'search_shipments' by noting it provides more detail when summary is insufficient.

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?

Provides explicit context: 'Use after search_shipments when the summary is not enough.' This tells the agent when to call this tool vs. the sibling. No exclusions mentioned, but the guidance is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_invoicesA

List customer invoices with amount, due date, and payment status. Use for billing questions like which customers still have unpaid invoices.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo
statusNoFilter by payment status
customerNoCustomer name, substring match

TDQS

A3.6/5.0
Behavior2/5

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

No annotations are provided, so the description must convey behavior. It mentions returned fields but omits pagination (limit/offset behavior), ordering, or side effects. The tool is likely read-only but not stated. Significant gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no waste. The key action and context are front-loaded. Ideal conciseness.

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?

Given the 4 parameters, no output schema, and no annotations, the description should cover pagination, data ordering, or expected output format. It is adequate for a simple list but lacks completeness for advanced use.

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

Parameters2/5

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

Schema description coverage is 50%; limit and offset have no schema descriptions and are not mentioned in the tool description. Status and customer have schema descriptions but no added context. The description does not explain how to use parameters effectively.

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?

The description clearly states it lists invoices with amount, due date, and payment status, and provides a concrete billing use case. It is distinct from sibling tools which are shipment-related.

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?

The description suggests using it for billing questions but does not explicitly state when not to use or mention alternatives. However, sibling tools cover different domains, so context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_manifestsA

List outbound manifests (line-haul loads grouped by destination region and date), with shipment counts and total weight. Use for capacity and dispatch questions.

ParametersJSON Schema
NameRequiredDescriptionDefault
dateNoManifest date, YYYY-MM-DD
limitNo
offsetNo
regionNoDestination region city code, e.g. SBY

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries full burden. It describes the tool as listing data (implying read-only), but does not explicitly state read-only nature, auth requirements, rate limits, or data freshness. The description is adequate but not comprehensive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loading the core functionality and following with usage guidance. No extraneous words; every sentence earns its place.

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?

Given 4 parameters, no output schema, and no annotations, the description adequately covers the tool's purpose and return values (counts, weight). It lacks details on pagination behavior and sorting, but is sufficient for a listing endpoint. Sibling tools are distinct.

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 50% (date and region have descriptions), and the description mentions date and region as grouping criteria. However, limit and offset lack descriptions both in schema and description, requiring the agent to infer their purpose. The description adds value for date and region but does not compensate for pagination parameters.

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?

The description clearly states it lists outbound manifests grouped by destination region and date, with shipment counts and total weight. The verb 'List' and resource 'outbound manifests' are specific, and the context distinguishes from sibling tools like get_manifest and search_shipments.

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?

The description explicitly says 'Use for capacity and dispatch questions,' providing a clear usage context. It does not detail when not to use or mention alternatives, but the suggested use case is sufficient.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

quote_shipping_rateA

Price a shipment for a route, weight, and product. Resolves the layered rate table (base per route and weight bracket, product override, destination special) and returns the winning rule with the math, plus the price of the other products for comparison.

ParametersJSON Schema
NameRequiredDescriptionDefault
originYesOrigin city code, e.g. SBY
productYesService product, e.g. STANDARD, EXPRESS, ECONOMY
weight_kgYesChargeable weight in kilograms
destinationYesDestination city code, e.g. JKT

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are provided, so the description carries full burden. It transparently describes the logic: 'Resolves the layered rate table (base per route and weight bracket, product override, destination special) and returns the winning rule with the math, plus the price of the other products for comparison.' This gives insight into the calculation process. It does not disclose if the tool is read-only, but the description implies no side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences: the first states the core purpose concisely, and the second adds valuable detail on the internal logic and output. Every sentence is relevant and there is no waste.

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?

The tool has no output schema, so the description must explain return values. It does: 'returns the winning rule with the math, plus the price of the other products for comparison.' This is sufficient for an agent to understand output. It does not cover error conditions or edge cases, but overall it is contextually complete for a pricing tool.

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 coverage is 100%, so baseline is 3. The description adds value beyond schema by explaining how parameters are used in rate resolution (route, weight brackets, product overrides, destination specials). This provides context that the schema descriptions do not, earning an extra point.

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?

The description clearly states the tool's purpose: 'Price a shipment for a route, weight, and product.' It specifies the inputs (route, weight, product) and what it does (resolves layered rate table, returns winning rule, comparison prices). This distinguishes it from sibling tools like search_shipments or track_shipment.

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 description implies usage for pricing a shipment but does not explicitly state when to use this tool versus alternatives or exclude other tools. Sibling tools like get_shipment might also include pricing, but no guidance is provided. Lacks 'when-not-to-use' or explicit alternative references.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_shipmentsA

Find shipments by status, creation date range, route, or customer. Returns summaries, newest first. Use this to answer 'where are the late deliveries' or 'what did customer X ship last week' before calling get_shipment for details.

ParametersJSON Schema
NameRequiredDescriptionDefault
toNoCreated on or before, YYYY-MM-DD
fromNoCreated on or after, YYYY-MM-DD
limitNo
offsetNo
originNoOrigin city code, e.g. SBY
statusNoFilter by current status
customerNoCustomer name, case-insensitive substring
destinationNoDestination city code, e.g. JKT

TDQS

A4.1/5.0
Behavior3/5

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

No annotations provided. Description mentions 'Returns summaries, newest first' which adds some behavioral context, but does not explicitly state read-only nature or any destructive potential. Adequate but not thorough.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences. First sentence states purpose and filters, second gives usage guidance and links to sibling. No wasted words.

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?

8 parameters, no output schema. Description covers main use cases and ordering, but lacks details on pagination, return format, or edge cases. Adequate for most scenarios but not fully comprehensive.

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 coverage is 75%, which is high. Description groups filters logically (route, customer) but doesn't add much beyond schema. Baseline 3 is appropriate.

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?

Clearly states 'Find shipments by status, creation date range, route, or customer'. Distinguishes from sibling get_shipment by mentioning it's for summaries before getting details.

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?

Explicitly says 'Use this to answer...' and provides concrete examples. Tells agent to use get_shipment for details, setting appropriate expectations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

track_shipmentA

Public tracking timeline for a shipment: the subset of events a recipient would see, without internal ops notes. Use this when the question is 'where is my package'.

ParametersJSON Schema
NameRequiredDescriptionDefault
sp_numberYesShipment number, e.g. SBY-1042

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It states the tool returns a 'public tracking timeline' and is a subset of events, implying it is read-only and safe. However, it lacks details about potential errors, rate limits, or whether authentication is needed. For a simple tracking tool, this is adequate but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences (30 words) with no fluff. It front-loads the purpose and usage. Perfectly concise.

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 simple tool with one parameter and no output schema, the description is mostly complete: it explains what it does, when to use it, and what kind of data it returns (public events timeline). However, it does not specify the return structure (e.g., list of events), which could be inferred but is not explicit.

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?

There is one parameter (sp_number) with 100% schema coverage (pattern and description provided). The description does not add additional semantics beyond what the schema already provides. Baseline score of 3 is appropriate.

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?

The description clearly states it provides a 'public tracking timeline' – a subset of events a recipient would see. This distinguishes it from siblings like get_shipment (full shipment details) and search_shipments (search functionality). However, it could be more explicit about differentiation from get_shipment.

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 says 'Use this when the question is "where is my package."' This gives clear guidance on when to use. It does not mention when not to use or alternatives, but the context is clear for its intended purpose.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

update_shipment_statusA

Set the status of a shipment. Disabled unless the server runs with ALLOW_WRITES=1; in demo mode the change is kept in memory only. Use only when the user explicitly asks to change a status.

ParametersJSON Schema
NameRequiredDescriptionDefault
noteNoOptional ops note attached to the status event
statusYesNew status
sp_numberYesShipment number, e.g. SBY-1042

TDQS

A4.2/5.0
Behavior4/5

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

No annotations provided, so description carries full burden. Discloses that the tool is disabled without ALLOW_WRITES=1 and that demo mode changes are in-memory only. Good transparency for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no waste. Front-loaded with main action. Every sentence adds value.

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?

Covers purpose, usage guidelines, and behavioral constraints adequately. No output schema, but description doesn't explain return values – minor gap for completeness.

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%, so baseline is 3. Description adds no additional meaning beyond the schema; parameters are already well-documented in the schema.

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?

Clearly states 'Set the status of a shipment' – specific verb and resource. Distinguishes from sibling tools like search_shipments, get_shipment (read-only), and track_shipment.

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 'Use only when the user explicitly asks to change a status.' Also mentions the ALLOW_WRITES=1 condition and demo mode behavior. Does not name alternative tools but context from siblings is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 9 tool updatesv0.1.1
    • First observeddelivery_performance
    • First observedget_manifest
    • First observedget_shipment
    • First observedlist_invoices
    • First observedlist_manifests
    • First observedquote_shipping_rate
    • First observedsearch_shipments
    • First observedtrack_shipment
    • First observedupdate_shipment_status

TDQS

A4.1/5.0
Disambiguation5/5

Each tool serves a distinct purpose: shipment search, detail, tracking, manifest contents, rate quoting, manifest listing, delivery performance, invoices, and status updates. No overlap.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern with snake_case (e.g., search_shipments, list_manifests, update_shipment_status).

Tool Count5/5

9 tools cover the main logistics operations without being excessive. Each tool serves a clear, non-redundant function.

Completeness4/5

Covers essential queries (search, detail, tracking, manifests, pricing, performance, invoices) and a status update. Lacks shipment creation or deletion, but these are outside the stated read-heavy scope.

Maintenance

ActivityMaintained
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    The first logistics/WMS MCP server for AI agents. Rate shopping, inventory management, order tracking, fleet logistics, AI-powered route optimization, demand forecasting, and supply chain analytics. 18 tools across 3 tiers.
    20
    17
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Provides supply chain and shipping tools including shipment tracking, route optimization, warehouse inventory management, delivery ETA estimation, and customs documentation. Enables logistics operations through natural language interactions with Claude.
    14
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to manage global shipping operations, including rate comparison, shipment creation, label purchasing, tracking, pickup scheduling, address validation, billing, and analytics, via natural language.
    17
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Azzaraell/logistics-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server