Skip to main content
Glama

Delete a Nova Poshta waybill

np_delete_waybill
Destructive

Deletes a Nova Poshta waybill that has not yet been handed over to Nova Poshta. Irreversible. Waybills already accepted at a branch cannot be deleted.

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": {
      "ttn": "<ttn>"
    },
    "name": "np_delete_waybill"
  }
}

Input Schema

NameRequiredDescriptionDefault
ttnYesWaybill number (14 digits) created in the last 30 days
connection_idNoNova Poshta connection id from list_connections; default: the main one

Output Schema

NameRequiredDescriptionDefault
ttnYes
demoNo
noteNo
deletedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false; the description adds the non-obvious eligibility rule (must not be handed over) and the word 'Irreversible', which is real behavioral context not present in structured fields. It does not describe the failure mode or error returned for an ineligible waybill.

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?

Two short sentences, zero filler, with the destructive scope stated first and the hard precondition second. Every sentence earns its place.

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?

A destructive mutation with an output schema and full annotation coverage; the key risk (irreversibility plus the handover precondition) is disclosed. Missing only what happens on rejection and whether any alternative path exists, which are minor given the structured data available.

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%, including the 14-digit format and 30-day window for ttn and the connection_id default, so the schema carries parameter meaning. The description adds nothing parameter-specific, which is the correct baseline here.

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?

Names a specific verb (delete) and resource (Nova Poshta waybill) and adds a precise scope constraint — only waybills not yet handed over to Nova Poshta. That constraint distinguishes it from creation/listing siblings 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 Guidelines4/5

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

States an explicit exclusion: waybills already accepted at a branch cannot be deleted, which tells the agent when the call will fail. It stops short of pointing to an alternative (e.g., a list/track tool to check status first), so guidance is clear but not complete.

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