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

@salbot/kiotviet-mcp-server

by SalBot-Labs

kiotviet_delete_customer

Destructive

Deletes a KiotViet customer by ID after verifying the exact record and deletion intent. Use it to remove outdated or duplicate customer profiles, subject to business constraints.

Instructions

Delete this customer by ID. Read and verify the exact record and the user's deletion intent before calling. Business constraints may reject deletion.

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>"
    },
    "name": "kiotviet_delete_customer"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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 not the description's burden. The description adds genuinely new context by warning that business constraints may reject the deletion, but it never says what else is affected (related records, invoices) or whether the delete is reversible.

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?

Three short sentences with the action and its key front-loaded, then the pre-call check, then the failure note. Nothing is padded, though "the exact record" is slightly loose phrasing for a call that takes only an ID.

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

Completeness5/5

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

For a one-parameter destructive delete with no output schema, the definition covers the action, the key, the verification precondition and the possibility of a business-rule rejection. The remaining unknowns (cascading effects, reversibility) are extras rather than requirements for calling it correctly.

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?

Only one parameter, named id with zero schema description coverage, and the description supplies its meaning as the customer identifier used to target the record. It doesn't clarify that this is an internal customer ID rather than the customer code, which matters given the sibling kiotviet_get_customer_by_code, but for a single-pass integer key the meaning is adequately conveyed.

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 this customer") plus the addressing key ("by ID"), which separates it from the create/get/update customer siblings. It stops short of distinguishing itself from the other delete_* tools beyond the resource noun, but the noun does the disambiguating work.

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 description gives a precondition ("Read and verify the exact record and the user's deletion intent before calling"), which is real when-to-use guidance for a destructive call. It names no alternative action (e.g., update vs delete) and no condition under which deletion should be avoided, so the guidance is cautionary rather than routing.

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