Skip to main content
Glama
VietQR MCP Toolkit

VietQR MCP Toolkit

generate_vietqr_payment_url

Creates an official Napas247 VietQR payment QR image URL and Markdown block for Vietnamese bank transfers, so agents can share payable bank details.

Instructions

Generate an official Napas247 VietQR payment QR image URL and Markdown block for Vietnamese bank transfers.

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": {
      "bank_id": "<bank_id>",
      "account_no": "<account_no>"
    },
    "name": "generate_vietqr_payment_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
memoNoTransfer reference / invoice memo (max 99 chars).
bank_idYesBank shorthand or BIN (e.g. VCB, MB, TCB, ACB, BIDV).
templateNocompact2
account_noYesRecipient bank account number.
amount_vndNoTransfer amount in VND (0 for dynamic customer-entered amount).
account_nameNoOptional uppercase account holder name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden, but it only states the output artifacts (URL and Markdown block). It does not disclose whether an external Napas247 service is called, whether credentials or validation apply, how errors are handled, or any rate-limit or side-effect behavior.

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 definition is a single front-loaded sentence with no filler. It states the action and output quickly and does not bury the key information.

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 6-parameter generation tool with 83% schema coverage and no output schema, the description gives enough to understand the basic output. However, with no annotations it omits usage routing and service behavior, leaving meaningful gaps for an agent deciding when and how to invoke it.

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 83%, so the schema already documents most parameters, including bank_id, account_no, amount_vnd, memo, template, and account_name. The description adds no parameter-level meaning beyond the schema, which is acceptable at this coverage level but not enriching.

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 uses a specific verb, "Generate," and names a concrete resource: "official Napas247 VietQR payment QR image URL and Markdown block for Vietnamese bank transfers." This is far more specific than a tautology, but it does not explicitly differentiate the tool from its siblings.

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 "for Vietnamese bank transfers" implies the intended context, but there is no explicit guidance on when to choose this tool versus alternatives such as list_supported_vietnam_banks or generate_freelance_invoice_html. No exclusions or prerequisites are stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.