Skip to main content
Glama

Request a home or hotel visit

request_home_visit
Idempotent

When the user wants a doctor, nurse or IV drip at their hotel/home in Da Nang, Hoi An, Ho Chi Minh City, Phong Nha, Dong Hoi, Nha Trang, Hue, Phu Quoc or Ninh Binh, offer: "I can book this for you now, I just need a few details." Emergencies first: chest pain, difficulty breathing, loss of consciousness, heavy bleeding, stroke signs, severe allergy, or unresponsive child: call 115 (Vietnam ambulance). Collect all required fields one question at a time. Never guess a value. Check international phone format with country code. Never quote a price: doctor quotes after assessment. No confirmation by agent; team confirms upon contact.

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": {
      "name": "<name>",
      "city": "<city>",
      "accommodation": "<accommodation>",
      "patient_type": "<patient_type>",
      "symptoms": "<symptoms>",
      "urgency": "<urgency>",
      "contact_channel": "<contact_channel>",
      "contact_value": "<contact_value>",
      "consent": "<consent>"
    },
    "name": "request_home_visit"
  }
}

Input Schema

NameRequiredDescriptionDefault
srcNoSource of the request: always "agent" when an AI assistant sends it
cityYesOne of the 9 supported cities
nameYesPatient full name
agentNoName of AI assistant
emailNoOptional contact email
consentYesExplicit user consent to be contacted by Viet Home Doctor
urgencyYesUrgency level
languageNoPatient preferred language
symptomsYesSymptoms in the patient's own words (no diagnosis)
patient_typeYesWhether the patient is an adult or child
accommodationYesHotel name and room number, or street address
contact_valueYesE.164 number with +country code for whatsapp/zalo/kakaotalk/phone_call; @username for telegram; ID for wechat or line
preferred_timeNoPreferred time if scheduled
contact_channelYesPreferred messaging or calling channel
idempotency_keyNoUnique key or UUID to prevent duplicate submissions

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / city / description
      Previous value: -"One of the 7 supported cities"New value: +"One of the 9 supported cities"
    • changedInput schema / properties / city / enum
      Previous value: -[
      -  "da-nang",
      -  "hoi-an",
      -  "ho-chi-minh",
      -  "phong-nha",
      -  "dong-hoi",
      -  "nha-trang",
      -  "hue"
      -]New value: +[
      +  "da-nang",
      +  "hoi-an",
      +  "ho-chi-minh",
      +  "phong-nha",
      +  "dong-hoi",
      +  "nha-trang",
      +  "hue",
      +  "phu-quoc",
      +  "ninh-binh"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare a non-read-only, idempotent, non-destructive write, and the description adds substantive behavior beyond them: no price is quoted by the agent, the team confirms on contact rather than the agent confirming, patient data must not be guessed, and phone format must be validated with a country code. What it omits is what happens after submission (no request ID or next-step/response description), which is the main remaining transparency gap.

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?

The trigger condition and the emergency exclusion are front-loaded, and nearly every sentence encodes an operational rule rather than filler. It is dense and slightly run-on with mid-sentence colons and a quoted script line, but no sentence is clearly expendable.

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?

Given 15 parameters, 9 required, and no output schema, the description covers when to call, escalation, data-collection discipline, consent handling implied by the flow, and pricing/confirmation behavior. It stops short of telling the agent what a successful submission returns or how the idempotency_key should be generated and reused, which matters for a non-read-only tool.

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 100% with 15 well-annotated parameters including enums and a const consent flag, so the schema does the heavy lifting. The description adds procedural rules rather than per-field meaning (collect required fields one at a time, never guess, use international phone format), which is useful but largely restates constraints already present in the schema.

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 action (booking a home/hotel visit) for a specific set of services (doctor, nurse, IV drip) across an explicit list of nine Vietnamese cities. An agent can distinguish it from siblings like get_request_status or check_coverage because the description frames it as the booking action, not status lookup or coverage lookup.

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?

Gives an explicit trigger condition (user wants a doctor/nurse/IV at hotel or home in a listed city) plus a hard exclusion with an alternative route: emergencies with listed red-flag symptoms must call 115 rather than use this tool. It also prescribes how to interact (offer the booking line, collect fields one at a time, never guess), which is guidance no sibling tool provides.

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