Skip to main content
Glama

update_parcel

Idempotent

Change delivery instructions, recipient phone number, address landmark, or COD amount for an in-transit consignment and propagate the updates to the courier dispatch center.

Instructions

Update delivery instructions, customer phone number, delivery address landmark, or COD collection amount for an existing in-transit consignment across supported courier partners. STATE-MUTATING ACTION: Propagates updated delivery notes upstream to carrier dispatch centers.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "courier": "<courier>",
      "consignment_id": "<consignment_id>"
    },
    "name": "update_parcel"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoUpdated rider delivery instructions or reschedule note
courierYesCourier provider name
cod_amountNoUpdated Cash On Delivery amount in BDT
consignment_idYesConsignment ID or tracking code to update
recipient_phoneNoUpdated 11-digit phone number if customer requested change
recipient_addressNoUpdated delivery street address or landmark

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.7.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and openWorldHint=true. The description adds meaningful context beyond that: it labels itself a STATE-MUTATING ACTION and discloses that changes propagate upstream to carrier dispatch centers, which is a real-world side effect an agent should know. It stops short of covering failure modes, whether carriers can reject the update, or whether propagation is synchronous.

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?

Two sentences, action and scope front-loaded, with the mutating warning placed prominently. The first sentence duplicates the schema's field enumeration, which is mild redundancy but still aids scanning.

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?

With no output schema, the description should indicate what a successful update returns or whether carrier acknowledgement is asynchronous, and it does not. It covers the mutation's outward effect well but leaves the response contract and per-courier support limits unaddressed.

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 every parameter including the courier enum and the BDT unit for cod_amount is already documented in the schema. The description restates the same field list without adding format constraints or edge cases (e.g., whether COD can be raised after dispatch), 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?

The description gives a specific verb (Update) plus the exact resource and scope: delivery instructions, phone, address landmark, or COD amount on an existing in-transit consignment. It is clearly distinct from create_parcel, cancel_parcel, and track_parcel by the 'existing in-transit' qualifier, though it never names those siblings explicitly.

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?

Usage is only implied through the phrase 'existing in-transit consignment', which hints at the eligibility window but never states what happens for delivered, cancelled, or NDR parcels, nor does it point to resolve_ndr_issue or cancel_parcel as alternatives. No explicit when-to-use or when-not-to-use guidance is given.

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