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

@salbot/kiotviet-mcp-server

by SalBot-Labs

kiotviet_list_vouchers

Read-onlyIdempotent

Retrieve vouchers from an issuance campaign or by voucher code, with pagination, and distinguish voucher value from actual redeemed payment amounts.

Instructions

Read vouchers in an issuance campaign or by code; distinguish voucher value from actual redeemed payments.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "kiotviet_list_vouchers"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNo
pageSizeNo
campaignIdNo
currentItemNoZero-based record offset, not page number.

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 readOnlyHint, idempotentHint, non-destructive and openWorld, so safety is covered. The description adds genuine domain context — that voucher face value differs from actual redeemed payments — but says nothing about pagination behavior, result ordering, or whether unfiltered calls are allowed.

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?

A single compact sentence with the access modes front-loaded and no filler. The trailing clause about voucher value versus redeemed payments is useful but worded ambiguously enough to require a second read.

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?

With four optional parameters, no output schema, and a list/pagination shape, the description should say what a result contains and how pages relate to currentItem/pageSize; neither appears. It covers the domain quirk but not the mechanics an agent needs to page correctly.

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 only 25% (only currentItem is documented in-schema). The description clarifies that 'code' is a lookup key and that campaignId scopes to an issuance campaign, but it says nothing about pageSize or how the two filters interact if both are supplied, leaving half the parameters under-explained.

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?

The description gives a specific verb and resource ('Read vouchers') plus the two access modes ('in an issuance campaign or by code'), which is enough to separate it from kiotviet_list_voucher_campaigns (campaigns, not vouchers). It stops short of naming any sibling explicitly, so the differentiation must be inferred.

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?

Usage is implied by the two modes: supply a campaignId to list within a campaign, or a code to look up a specific voucher. There is no explicit when-to-use/when-not guidance and no pointer to an alternative such as the voucher-campaign listing tool.

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