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

@salbot/kiotviet-mcp-server

by SalBot-Labs

kiotviet_update_einvoice_info

Destructive

Updates external e-invoice publication metadata on existing KiotViet invoices, such as status, partner, serial, and reference details. It does not issue e-invoices or publish them to tax authorities.

Instructions

Update external e-invoice publication metadata on existing KiotViet invoices. This does not issue an e-invoice or publish it to the tax authority.

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": {
      "data": "<data>"
    },
    "name": "kiotviet_update_einvoice_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true, openWorldHint=true, and idempotentHint=false, so the safety profile is partly covered. The description adds useful scope clarification by saying the operation only touches publication metadata and does not issue or publish, but it does not explain what metadata may be overwritten or how destructive the update can be.

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?

The description is two short sentences with the scope stated first and the important exclusion immediately after. Every sentence adds meaning, and there is no redundant or filler wording.

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 update tool with a required nested object, 0% schema coverage, and no output schema, the definition is too thin. It explains the high-level purpose and one exclusion, but leaves the agent without parameter guidance and without enough behavioral detail to invoke it safely.

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

Parameters1/5

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

Schema description coverage is 0%, and the input is a nested object containing required fields such as invoiceId, invoiceRefId, partner, status, and type. The description provides no field-level meaning, valid ranges, or examples, so it does not compensate for the undocumented schema at all.

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?

The description names a specific verb (Update), a precise resource (external e-invoice publication metadata), and scope (existing KiotViet invoices). It also explicitly excludes issuing or publishing to the tax authority, which differentiates it from invoice creation or tax publication flows.

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 exclusion sentence clarifies one boundary: this tool does not issue or publish an e-invoice. However, it does not state when an agent should choose this tool over siblings such as kiotviet_update_invoice, nor does it name the alternative for issuing or publishing.

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