Skip to main content
Glama
cotletdev

Pirate Ship MCP Server

Update saved package

update_saved_package

Edit a saved package's name, packaging, size, weight, signature, insurance, return label and flags, keeping fields you leave out. Saves the edit as a new version and returns its new id.

Instructions

Changes a Saved Package; fields you leave out keep their values.

Edits one Saved Package: name, packaging, size, weight, signature, insurance, return label and flags. Pirate Ship saves an edit as a new version: the answer carries the new id, use it from then on. default true makes it the preselected package.

Input Schema

NameRequiredDescriptionDefault
titleNoName shown in Saved Packages.
defaultNoPreselect it on new shipments.
width_inNo
height_inNo
irregularNo
length_inNo
packagingNoParcel
signatureNonone
weight_ozNo0 leaves the weight to each label.
media_mailNoQualifies for USPS Media Mail.
package_idYesid from list_saved_packages.
return_labelNoreturn: return labels only; standard_and_return: an extra return label.none
insured_value_usdNo
hazardous_materialsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behavior: partial-update semantics, version creation on each edit, a new returned id that must be used subsequently, and default=true preselection. These are significant operational details an agent needs before calling the 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?

The description front-loads the core edit and partial-update rule, then adds versioning and default semantics in minimal space. Every sentence contributes useful information and there is no filler.

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 14-parameter mutation with no output schema, the description covers the critical behaviors: partial update, versioned result with a new id, and default preselection. Remaining gaps are limited because the schema supplies enums and constraints, though a fuller explanation of flags and return values would help.

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?

With schema description coverage at 43%, the description must compensate, and it does group most fields: name, packaging, size, weight, signature, insurance, return label, and flags. However, 'flags' is vague and several parameters, including package_id and dimension/insurance details, are left mostly to the schema.

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 uses specific verbs ('Changes', 'Edits') with a specific resource ('Saved Package') and enumerates the editable fields, so the purpose is clear. It implicitly distinguishes updating from creating/deleting/listing, but does not name sibling tools like create_saved_package or delete_saved_package.

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

Usage Guidelines2/5

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

It establishes that this tool edits an existing package and that omitted fields retain their values, but gives no explicit guidance on when to use it versus create_saved_package, delete_saved_package, or list_saved_packages. No prerequisites or exclusions are stated.

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