Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
POSTNL_API_KEYYesYour PostNL API key.
POSTNL_TOOLSETSNoComma-separated list of tool categories to enable: shipping, tracking, delivery, locations. When not set, all toolsets are enabled.
POSTNL_CACHE_TTLNoResponse cache lifetime in seconds. Set to 0 to disable caching.120
POSTNL_MAX_RETRIESNoMaximum retry attempts for rate-limited (429) requests with exponential backoff.3
POSTNL_CUSTOMER_CODEYesYour PostNL customer code (used in barcode generation and shipments).
POSTNL_CUSTOMER_NUMBERYesYour PostNL customer number (used in shipment requests).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_barcodeA

Generate a PostNL barcode for shipping. The barcode is required before creating a shipment. Types: 2S (mailbox parcel), 3S (domestic NL parcels), CC/CP/CD/CF (EU parcels), LA (EU letter), RI (registered international), UE (non-EU parcels).

create_shipmentA

Create a PostNL shipment and generate a shipping label. Requires a barcode (use generate_barcode first), sender address (AddressType 02), and receiver address (AddressType 01). Returns a PDF label as base64. Common product codes: 3085 (standard), 3385 (stated address only), 3090 (neighbour + return), 3087 (extra cover), 3089 (signature on delivery), 3533/3534 (pickup point). Evening delivery: use product option {Characteristic: '118', Option: '006'} with a DeliveryDate. WARNING: Creating a shipment incurs shipping costs. Always confirm with the user before calling this tool.

get_shipment_statusA

Track a PostNL shipment by barcode. Returns the current status, expected delivery date, and status history of the shipment.

get_delivery_dateA

Calculate the expected delivery date for a shipment based on the shipping date, postal code, and delivery options. Useful for showing customers when they can expect their parcel.

get_delivery_optionsA

Get available delivery time windows for a specific address and date range. Returns available timeframes including daytime, evening, and morning delivery options.

find_locationsA

Find nearby PostNL pickup/drop-off points (post offices, parcel lockers, retail points). Search by postal code, city, coordinates, or a combination. Useful for finding the nearest place to drop off or collect a parcel.

get_locationA

Get detailed information about a specific PostNL location by its location code. Returns address, opening hours, available delivery options, and contact information.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 7 tools

Disambiguation4/5

Most tools target clearly distinct actions (barcode generation, shipment creation, tracking, delivery calculation). The only mild overlaps are get_location vs find_locations and get_delivery_date vs get_delivery_options, but the descriptions clearly differentiate lookup-by-code vs nearby-search and date-calculation vs time-window-retrieval.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern: get_location, generate_barcode, create_shipment, get_shipment_status, get_delivery_date, get_delivery_options, find_locations. Verbs are used predictably (get/find/generate/create).

Tool Count5/5

Seven tools is well-scoped for a shipping/logistics server, covering the full create-track-locate workflow without obvious padding. Each tool earns its place.

Completeness4/5

The core shipment lifecycle (barcode, create, track, delivery estimation, location search) is well covered. Minor gaps exist: no cancel shipment, no separate label retrieval/reprint, and no shipping-cost/rate calculation, but these are workarounds rather than blocking dead ends.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues