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

@salbot/kiotviet-mcp-server

by SalBot-Labs

kiotviet_list_cashflow

Read-onlyIdempotent

Lists cash receipts and payments by date range, branch, partner, method, and status to review cash movement separately from sales revenue.

Instructions

Read receipts/payments by date, branch and partner. Cash movement is not equivalent to sales revenue.

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

Input Schema

NameRequiredDescriptionDefault
codeNo
methodNo
statusNo
endDateNoISO 8601 date/time; use +07:00 for Vietnam when a timezone is needed.
pageSizeNo
accountIdNo
branchIdsNo
isReceiptNo
startDateNoISO 8601 date/time; use +07:00 for Vietnam when a timezone is needed.
currentItemNoZero-based record offset, not page number.
partnerNameNo
partnerTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description's one added insight, that cash movement differs from sales revenue, is genuinely useful domain context, but nothing is said about pagination or result shape for what is clearly a paged list endpoint.

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 filler, and the resource scope comes first. It is efficiently written, though the second sentence is a caveat rather than core invocation information.

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 12-parameter, unpaged-by-default list tool with no output schema, the definition is thin. It does not explain the receipt vs payment distinction (isReceipt) or what the returned items represent, which an agent needs in order to filter and interpret results correctly.

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?

With 12 parameters and only 25% schema description coverage, the description must compensate, yet it only alludes to date, branch and partner filters. It says nothing about code, method, status, accountId, isReceipt, pageSize or currentItem, leaving most parameters to bare names and types.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the resource (receipts/payments) and the primary filter axes (date, branch, partner), so the agent knows roughly what is returned. The verb "Read" is weak and there is no differentiation from siblings such as kiotviet_list_invoices or kiotviet_list_transfers, which an agent could easily confuse this with.

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?

There is no explicit statement of when to call this versus other list endpoints, and no prerequisites or exclusions. The only guidance is the indirect caveat that cash movement is not sales revenue, which hints at usage but does not route the agent between tools.

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