Skip to main content
Glama

Amount in Vietnamese words

vn_money_to_words
Read-onlyIdempotent

Convert VND amounts or plain numbers into Vietnamese words, with options for units, capitalization, and thousand/odd wording so amounts can be read correctly in text.

Instructions

Read an integer VND amount in Vietnamese words, e.g. 1200000 -> "một triệu hai trăm nghìn đồng". Also reads plain numbers without a unit with plain: true, e.g. 30 -> "ba mươi". Options: thousand "nghìn"/"ngàn", odd "lẻ"/"linh", capitalize, unit.

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": {
      "amount": "<amount>"
    },
    "name": "vn_money_to_words"
  }
}

Input Schema

NameRequiredDescriptionDefault
oddNo
chanNoAppend "chẵn" for round amounts
unitNoDefault "đồng"; "" for none
plainNoRead a plain number without a unit (default false); not with unit/chan
amountYes
thousandNo
capitalizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 closed-world, so the safety profile is covered. The description adds value by showing exact output formatting, but says nothing about edge behavior: negative amounts, decimals, very large values, or what happens when the string form of amount is passed despite the union type.

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?

Front-loaded with the primary use case and example, then a compact options clause; no filler sentences. The trailing 'Options:' list is slightly telegraphic, giving option names without meanings, but it earns its space as a quick map to the 7-parameter schema.

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 7 parameters, no output schema, and examples supplied, the core contract is conveyed. Gaps remain around input validation and edge cases (non-integer input, negatives, chan interaction with plain, unit override), which matter for a formatter with several interacting flags.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 43%, yet the description compensates by naming most tunables with their allowed values: plain, thousand ("nghìn"/"ngàn"), odd ("lẻ"/"linh"), capitalize and unit. It omits chan entirely and only gestures at unit's override semantics, which keeps it short of a 5.

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?

States a specific verb and resource ('Read an integer VND amount in Vietnamese words') and anchors it with a concrete example (1200000 -> "một triệu hai trăm nghìn đồng"). It distinguishes the plain-number mode, though it never names the complementary sibling vn_money_parse, so an agent must infer the direction split from the verb alone.

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?

Gives one piece of mode guidance: use plain: true to read numbers without a unit, backed by an example. It offers no when-not conditions (e.g. use vn_money_parse to go the other direction) and no prerequisites or input limits, so the guidance is implied rather than explicit.

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