Skip to main content
Glama

Nova Poshta: Advise a box for an order

np_box_suggest
Read-only

Nova Poshta: which box the order's goods fit in — up to 3 boxes (NP standard boxes and the shop's own) with the chargeable weight and how full the box is, and which items have no size yet. Answers «яку коробку взяти для SO-17». Read-only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "np_box_suggest"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberNoThe order number as said: SO-17, 17.
order_idNoThe order id from erp_order_list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint=false and destructiveHint=false, so safety is covered. The description still adds real value beyond them by disclosing what comes back — a capped list of up to 3 boxes drawn from both NP standard and shop-owned stock, weight/fill metrics, and a diagnostic for items without sizes. The cap of 3 is a meaningful behavioral constraint not present in any structured field.

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?

Front-loaded with the core question and then the return payload; the example query anchors intent efficiently. The em-dash chain is dense and slightly hard to parse on first read, but no sentence is wasted.

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?

With no output schema, the description carries the burden of explaining results and does so adequately (box candidates, chargeable weight, fill level, unsized items). The remaining gap is that with zero required parameters it never states the order-number-or-order_id contract, which an agent must infer from the schema alone.

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 100% and both parameters carry their own descriptions including the SO-17/17 format note, so the schema does the heavy lifting. The description adds no further semantics about the two parameters, leaving unstated that either order number or order_id may be supplied and what happens if both or neither are given. 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 names a specific decision task (selecting packaging for an order's goods) and enumerates the output content: up to 3 candidate boxes, chargeable weight, fill ratio, and items missing dimensions. That is far more specific than a restatement of the name. It stops short of explicitly contrasting itself with np_box_save or np_quote, so the sibling boundary is only implied.

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 embedded example query «яку коробку взяти для SO-17» makes the intended scenario concrete, and 'Read-only' signals this is advisory rather than committing. However, no alternative is named and no exclusion is stated — an agent cannot tell from this text whether to call np_box_save afterwards or when np_quote is the better answer.

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