Skip to main content
Glama

Estimate Nova Poshta delivery

np_estimate_delivery
Read-onlyIdempotent

Calculates the Nova Poshta delivery price (including the cash-on-delivery fee) and the estimated delivery date between two cities for a parcel of the given weight and declared value.

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": {
      "city_to": "<city_to>",
      "weight_kg": "<weight_kg>",
      "declared_value": "<declared_value>"
    },
    "name": "np_estimate_delivery"
  }
}

Input Schema

NameRequiredDescriptionDefault
city_toYesDestination city Ref or name
city_fromNoOrigin city Ref or name; default: the sender city from settings
ship_dateNoShipping date YYYY-MM-DD; default today
weight_kgYesParcel weight, kg
cod_amountNoCash-on-delivery amount, UAH
to_postomatNoDelivery to a parcel locker
connection_idNoNova Poshta connection id from list_connections; default: the main one
declared_valueYesDeclared value, UAH

Output Schema

NameRequiredDescriptionDefault
demoNo
totalYes
city_toYes
cod_feeNo
city_fromYes
weight_kgYes
cod_amountNo
service_typeYes
delivery_costYes
delivery_dateNo
declared_valueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly=true, idempotent=true, destructive=false and openWorld=true, so the safety profile is covered. The description adds one genuinely useful behavioral fact beyond that — the returned price includes the cash-on-delivery fee — but says nothing about live API dependency, failure modes, or how defaults resolve when city_from/connection_id are omitted. Additions are real but thin.

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?

A single front-loaded sentence that names the two outputs (price, date) before the inputs. No boilerplate or redundant restatement of the title.

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?

An output schema exists, so return values need not be explained, and all parameters are documented in the schema; the description covers the core computation adequately. Minor gap: it does not mention that results depend on a live Nova Poshta connection selected via connection_id, which matters for a networked read tool.

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 100% schema description coverage, the schema already documents all eight parameters including defaults and ranges, so baseline 3 applies. The description only echoes weight, declared value, two cities, and hints that cod_amount feeds into the price, adding no syntax or interpretation guidance beyond the schema.

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 ('calculates the Nova Poshta delivery price ... and the estimated delivery date') plus scope (between two cities, given weight and declared value). This clearly separates it from siblings like np_create_waybill, np_track_parcels, and np_find_city without needing to name them.

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: an agent can infer this is the quoting/pre-check tool, but the description never says when to use it vs np_create_waybill (e.g. 'call before creating a waybill to preview cost') or what to do when no delivery is available to the destination. No exclusions or alternatives are named.

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