Skip to main content
Glama

Find province / ward

find_address
Read-only

Look up official Vietnamese province and ward/commune names (2-level system since 07/2025, same list the courier uses). Without province: list the 34 provinces. With province (+ optional query): list/search its wards. Use it when prepare_checkout returns unknown_province / unknown_ward.

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

Input Schema

NameRequiredDescriptionDefault
queryNoPart of the ward name, e.g. 'Tân Sơn'
provinceNoProvince name, e.g. Hồ Chí Minh

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds real context beyond them: the authoritative dataset ('same list the courier uses') and the effective date of the 2-level administrative scheme (07/2025), which matters because pre-2025 province/ward names would be silently wrong. It does not describe result ordering or whether partial matches are fuzzy vs. exact, a minor remaining gap for a read-only lookup.

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?

Three tight sentences, front-loaded with what the resource is, then the parameter-driven modes, then the call-site trigger. Every clause carries information; nothing is restated from the title or schema.

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

Completeness5/5

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

For a 0-required-parameter, read-only reference lookup with no output schema, this covers everything an agent needs: dataset authority, versioning by date, both modes, and the upstream error that should prompt the call. Return shape need not be spelled out since there is no output schema and the description already implies lists of names.

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 coverage is 100% and both parameters carry examples, so the baseline is 3; the description earns above that by specifying conditional semantics the schema does not encode — omitting province lists all 34 provinces, supplying province switches to ward mode, and query is an optional filter within ward mode only. It stops short of saying how query matching behaves (substring, case/diacritic sensitivity).

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?

States a specific verb+resource ('look up official Vietnamese province and ward/commune names') and immediately qualifies the scope: 34-province 2-level list matching the courier's data. The two parameter-dependent modes (list provinces vs. list/search wards) make its behavior distinguishable from siblings like search_products or prepare_checkout 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 Guidelines5/5

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

Explicitly names the trigger condition: use it when prepare_checkout returns unknown_province / unknown_ward. It also gives the internal routing rule (no province → provinces; province present → wards), so an agent knows both when to call it and how to shape the call.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources