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

@salbot/kiotviet-mcp-server

by SalBot-Labs

kiotviet_delete_purchase_order

Destructive

Deletes a goods receipt or purchase document and requires choosing whether attached payments are canceled.

Instructions

Delete a goods receipt/purchase document. Explicitly choose whether to cancel attached payments.

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_purchase_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
IsVoidPaymentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds real value by disclosing that deleting may cancel attached payments, a side effect on related entities that annotations do not convey. It does not say whether the deletion is reversible, what permissions are required, or what happens to the document after deletion.

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?

Two short sentences with no padding, and the core action is front-loaded before the parameter note. The second sentence is somewhat clipped, leaving the reader to infer the true/false mapping.

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

Completeness2/5

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

For a destructive, open-world mutation with two required parameters at 0% schema coverage and no output schema, the definition is thin. It omits irreversibility, permission requirements, and the effect of the boolean's false value, leaving an agent without enough to call it confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the parameter burden. It clarifies the ambiguous IsVoidPayment boolean (true appears to mean cancel/void attached payments), but leaves the id parameter entirely undocumented and never states the consequence of passing false.

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 (delete) and resource (goods receipt/purchase document), which is clearer than the bare tool name. It does not explicitly distinguish this from the sibling kiotviet_delete_order, so an agent must infer the document-type boundary from the resource wording alone.

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?

The description gives no when-to-use or when-not-to-use guidance, and it never points at an alternative such as kiotviet_delete_order or kiotviet_update_purchase_order. The only instruction, 'Explicitly choose whether to cancel attached payments,' is parameter guidance rather than routing guidance.

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