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

@salbot/kiotviet-mcp-server

by SalBot-Labs

kiotviet_list_customers

Read-onlyIdempotent

Find customers by name, exact code, or phone, and optionally include totals and customer group details for lookups and reporting.

Instructions

Find customers by name, exact code or phone; optionally include totals and customer groups.

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

Input Schema

NameRequiredDescriptionDefault
codeNo
nameNo
groupIdNo
orderByNo
pageSizeNo
birthDateNoISO 8601 date/time; use +07:00 for Vietnam when a timezone is needed.
currentItemNoZero-based record offset, not page number.
includeTotalNo
contactNumberNo
orderDirectionNo
lastModifiedFromNoISO 8601 date/time; use +07:00 for Vietnam when a timezone is needed.
includeCustomerGroupNo

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=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds only that totals and customer groups can optionally be included; it says nothing about pagination behavior, rate limits, or result shape beyond the annotation coverage.

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 search keys front-loaded and optional enrichments trailing. No wasted wording, though the brevity is also the source of the coverage gaps.

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 12-parameter, zero-required, no-output-schema tool, the description leaves notable gaps: it never mentions the pagination pair (pageSize/currentItem), ordering controls, or the lastModifiedFrom filter. It is adequate to call the tool but not complete for its complexity.

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% across 12 parameters, so the description must compensate and it does so partially: it clarifies that 'code' is an exact match while name is presumably looser, and it covers includeTotal and includeCustomerGroup. However, it omits groupId, orderBy, orderDirection, pageSize and lastModifiedFrom, leaving several parameters undocumented in both places.

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 states a specific verb and resource ('Find customers') and names the matching keys (name, exact code, phone), so an agent knows exactly what this tool queries. It doesn't explicitly contrast with sibling list tools such as kiotviet_list_customer_groups, but the resource is unambiguous.

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 phrase 'Find customers by name, exact code or phone' implies a lookup/filter use case, but there is no explicit when-to-use or when-not guidance and no named alternative. Usage is inferable rather than stated.

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