Skip to main content
Glama

Tìm địa chỉ

search_places
Read-only

Find places in Vietnam by name or address and return a place_id for quote requests; provide approximate lat/lng to prioritize nearby results.

Instructions

Tìm địa điểm theo tên hoặc địa chỉ tại Việt Nam, trả về place_id dùng cho get_quote. Truyền lat/lng gần đúng để ưu tiên kết quả gần.

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": {
      "q": "<q>"
    },
    "name": "search_places"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesTừ khoá, ví dụ "Sân bay Nội Bài"
latNo
lngNo

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?

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful behavior beyond that: a geographic restriction to Vietnam and the fact that lat/lng acts as a proximity ranking hint rather than a strict filter. It omits result-count limits, pagination, and no-match behavior, keeping it at a 4 rather than 5.

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 tight sentences with zero filler: the first establishes what is searched, where, and what is returned; the second gives the one actionable parameter hint. The output-usage information is front-loaded rather than buried.

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?

For a 3-parameter read-only lookup with no output schema, the definition covers purpose, region scope, output field, and the optional proximity parameters. It does not describe the shape of the returned list (fields beyond place_id, multiple matches), which is the only meaningful remaining gap.

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 only 33% — q is documented with an example but lat and lng have no schema descriptions. The description compensates by explaining that lat/lng should be approximate and are used to prioritize nearby results, which is exactly the missing semantic. Only the pairing/optionality nuance of lat and lng is left implicit.

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 names a specific verb and resource ('Tìm địa điểm' / search places), narrows the scope to Vietnam, and states the output contract (returns place_id for get_quote). An agent can immediately tell this is the geocoding lookup that must precede a quote request, which cleanly separates it from the booking/quote siblings.

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?

It gives clear workflow context: the returned place_id feeds into get_quote, and passing approximate lat/lng is recommended to bias results toward nearby matches. It does not state when NOT to use the tool or what to do if multiple/zero results come back, so it stops short of full when/when-not guidance.

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