Skip to main content
Glama
@salbot/kiotviet-mcp-server

@salbot/kiotviet-mcp-server

by SalBot-Labs

kiotviet_delete_order

Destructive

Deletes a sales order and uses IsVoidPayment to control whether attached payments are cancelled, helping you remove orders while managing payment status.

Instructions

Delete a sales order. IsVoidPayment explicitly controls whether attached payments are cancelled.

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": {
      "id": "<id>",
      "IsVoidPayment": "<IsVoidPayment>"
    },
    "name": "kiotviet_delete_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
IsVoidPaymentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety profile is known. The description adds genuinely new behavioral context by disclosing that attached payments may be cancelled depending on IsVoidPayment. It omits what else is destroyed (line items, invoices, returns) or whether deletion is soft or hard.

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 tight sentences with zero filler; the destructive action is front-loaded and the one non-obvious parameter follows immediately. Nothing redundant or restated from the annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, non-idempotent mutation with two required parameters and no output schema, the description covers the action and the payment-cancellation side effect but not the blast radius or preconditions. An agent still cannot tell what state the order must be in or what a failed delete returns.

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 coverage is 0%, so the description carries the burden, and it does explain the non-obvious IsVoidPayment flag as controlling cancellation of attached payments. The id parameter is left unexplained, though it is self-evident as the order identifier.

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?

States a specific verb and resource ("Delete a sales order") that clearly separates it from create_order, update_order, get_order, and delete_purchase_order. It does not explicitly name siblings or route between them, but the resource wording is precise enough for an agent to select correctly.

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?

No statement of when to use this versus alternatives such as voiding/updating an order, no prerequisites (order state, permissions), and no warning that the operation is irreversible. The agent must infer usage entirely from the name and annotations.

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

Deploy Server

Other Tools