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

@salbot/kiotviet-mcp-server

by SalBot-Labs

kiotviet_get_qr_status

Read-onlyIdempotent

Checks received payment notifications for a specific QR and reports its status as PENDING, PARTIAL, or PAID from KiotViet records, not a direct bank query.

Instructions

Read received payment notifications for one QR. This is not a direct bank query; report PENDING/PARTIAL/PAID as returned.

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": {
      "qrId": "<qrId>"
    },
    "name": "kiotviet_get_qr_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
qrIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive behavior, so the bar is lower; the description nonetheless adds real context by disclosing that results come from notifications rather than a live bank lookup, meaning data may lag. The enumeration of PENDING/PARTIAL/PAID further tells the agent what state values to expect.

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?

Two short sentences, front-loaded with the action and immediately followed by the key caveat about data provenance. 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.

Completeness3/5

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

With no output schema, the description partially compensates by listing the status values returned. Still missing is how qrId is obtained and what an empty notification set looks like, which matters for a tool whose correctness depends on caller interpretation of PENDING vs PAID.

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?

Schema description coverage is 0% for the single qrId parameter, so the description must compensate and largely does not — it only says 'one QR' without clarifying whether qrId comes from kiotviet_generate_payment_qr, a store-level identifier, or another source. The parameter's meaning is left to inference from its name.

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 names a specific verb and resource: reading received payment notifications for a single QR, which is distinct from generating a QR (kiotviet_generate_payment_qr) or listing accounts. It does not explicitly name a sibling to route against, but the scope ('for one QR') is clear enough that an agent can identify it as a status-check tool.

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 implies usage context by warning that this is not a direct bank query and that statuses should be reported as returned, which guides interpretation. However, it never states when to call this versus regenerating a QR or listing accounts, nor any polling/cadence expectations.

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