Skip to main content
Glama

Nova Poshta: Save an item's packed size

np_item_size_save
Destructive

Nova Poshta: write the packed size (cm) and weight (kg) of ONE piece of an item that is in an order, so the box advice works. Pass the order number and the item as named in it. «у Vitamin D3 розмір 7×7×12, вага 0,25». Runs propose→confirm. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.

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": {
      "item": "<item>",
      "length_cm": "<length_cm>",
      "width_cm": "<width_cm>",
      "height_cm": "<height_cm>",
      "weight_kg": "<weight_kg>"
    },
    "name": "np_item_size_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemYes
numberNoThe order number as said: SO-17, 17.
order_idNoThe order id from erp_order_list.
width_cmYes
height_cmYes
length_cmYes
weight_kgYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and destructiveHint=true; the description goes well beyond that by disclosing the propose→confirm protocol: the call is never performed directly, it returns status='confirmation_required' with an action_id and plan_token, and the write lands only after confirm_action. That is exactly the behavioral context an agent needs before calling a mutating tool.

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 purpose and the scoping sentence come first, then the example, then the confirmation caveat, so the most decision-relevant content is front-loaded. The inline Ukrainian example earns its place by showing the identifier format, though the description is slightly denser than it needs to be.

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 7-parameter mutation with no output schema and a two-phase confirmation flow, the description covers the essentials: what is written, in what units, for which item, and how the confirmation round-trip works. It does not say what happens to previously stored dimensions (overwrite vs. reject) or what a successful post-confirm response looks like, which is a modest remaining gap.

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 description coverage is only 29% (only number and order_id are documented), so the description has to compensate, and it does: it supplies the units (cm for length/width/height, kg for weight) that the schema omits entirely, and clarifies that 'item' is the item name as it appears in the order. It stops short of covering order_id vs number precedence or the 300 cm / 100 kg bounds, but the unit semantics are the critical addition.

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?

States a specific verb and resource ('write the packed size (cm) and weight (kg) of ONE piece of an item that is in an order') and scopes it to a single piece of an item rather than the box, which implicitly separates it from np_box_save. It also gives the reason ('so the box advice works'), so an agent knows what the write unlocks.

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?

It gives invocation context ('Pass the order number and the item as named in it') and a worked example, which is genuinely helpful for picking the right identifiers. But it never states when not to use this tool or which sibling handles the box-level size instead, so sibling routing is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources