Skip to main content
Glama

Vietnamese name tools

vn_name
Read-onlyIdempotent

Split Vietnamese full names into họ, tên đệm, and tên (including Tôn Thất and Nguyễn Phúc), generate slugs and initials, or sort name lists by tên using Vietnamese collation.

Instructions

Split a Vietnamese full name into họ / tên đệm / tên (handles Tôn Thất, Nguyễn Phúc), plus slug and initials; or sort a list of names by tên with Vietnamese collation.

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": "vn_name"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoFull name to split
asciiNoStrip diacritics from initials
namesNoNames to sort

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare this as read-only, idempotent, non-destructive, and closed-world. The description adds useful behavioral context beyond the annotations: it discloses that certain compound family names are specially handled and that sorting uses Vietnamese collation. It does not describe error behavior or edge cases such as empty input, but the safety profile is already covered.

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 that packs both capabilities without filler. The semicolon cleanly separates the split and sort modes, and every phrase contributes relevant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

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

There is no output schema, so the description must convey return behavior; it does so at a high level by naming the split components, slug, initials, and sorted list. It does not specify the exact response shape or field names, which would be useful for an agent invoking it. For a simple utility tool, however, the description is nearly complete.

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 100%, so parameter documentation is already strong. The description still adds meaning by explaining the split components, the slug and initials outputs, the special name prefixes, and the Vietnamese collation used for sorting. It does not clarify the 'ascii' behavior beyond what the schema already says.

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

Purpose5/5

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

The description uses specific verbs and resources: splitting a Vietnamese full name into họ / tên đệm / tên, and sorting names by tên with Vietnamese collation. It also names the extra outputs (slug and initials) and the special cases handled (Tôn Thất, Nguyễn Phúc). An agent can understand exactly what this tool does without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly presents two modes of use: splitting a single name versus sorting a list of names. The 'or' structure and the corresponding parameter names make the intended path clear, though it does not explicitly state when-not to use either mode or list alternatives.

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