Skip to main content
Glama

Get Accommodation

get_accommodation
Read-onlyIdempotent

Profilul complet al unei cazări de pe tria.ro (după slug), litoral sau național: semnale de caracter, împrejurimi, acces, arhetipuri, descriere/facilități, camere/dotări pe cameră, preț ORIENTATIV live pe 3 perioade-eșantion (pret, unde e disponibil — nu e disponibilitate garantată; rezervarea/verificarea finală pe site-ul partener), galerie foto limitată și rezolutie (cât de bogat e semnalul). Copiază slug-ul exact din results[].slug sau din URL; nu slugifica numele. Fără contact.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesSlug exact din `find_accommodations.results[].slug` sau ultimul segment din URL, ex. "casa-anda-2e3cfc". Nu inventa/slugifica numele; dacă ai doar numele, caută întâi cu find_accommodations(nume=...).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
latNo
lngNo
urlNoPagina tria.ro a cazării
nameNoNumele cazării
pretNoPreț ORIENTATIV live pe 3 perioade — doar la get_accommodation. Nu e disponibilitate garantată; verificarea finală + rezervarea se fac pe site-ul partener. Fără taxe/comisioane.
slugNoSlug exact al cazării — copiază această valoare în get_accommodation/get_concierge_brief; nu slugifica numele.
temeNoTeme de descoperire tria (cabane, retras, cu-piscina…) — naționale
typeNoCategoria brută internă
accesNoDistanța până la cel mai apropiat (km), unde există — național
photoNoPoză de copertă — în liste poate lipsi; la get_accommodation este cover-ul disponibil.
roomsNoCamere/unități, doar la get_accommodation, compactate și limitate ca să nu umfle contextul.
starsNoStele (din sursa de conținut)
resortNoStațiunea de pe litoral
sourceNoMereu "tria.ro"
arhetipNoArhetipul zonei din tokenii de contrast ai catalogului; limbajul preferat pentru explicații și matching.
galleryNoGalerie foto limitată — doar la get_accommodation, cu URL-uri publice/proxied tria unde există.
licenseNoLicența datelor — atribuire necesară
originsNoOriginile vizitatorilor, pe județe
rezumatNoRezumat de caracter, într-o frază (originile vizitatorilor)
caracterNoCaracterul zonei pe intenții de ședere (0–100, doar cele cu semnal)
categoryNoCategorie normalizată: hotel/pensiune/vila/apartament/hostel/resort/camping
eticheteNo1–2 etichete în limbaj natural, derivate din caracter
amenitiesNoFacilități (doar la get_accommodation)
potrivireNoPotrivire cu INTENȚIA ta (0–100) — cât de bine se aliniază cazarea cu tokenii/criteriile cerute. Apare DOAR când ai dat o intenție. NU e un scor/rating absolut al cazării (nu notăm cazări).
rezolutieNoProvenance + încredere a semnalelor (mai bogat unde semnalul e fin, mai subțire la marginea litorală). Agentul îl CITEȘTE ca să calibreze încrederea; nu e parametru de request.
pret_de_laNoEtichetă publică de preț informativ în forma „de la X lei”, fără sufix. Nu este disponibilitate și nu este ofertă de rezervare.
descriptionNoDescriere scurtă (doar la get_accommodation)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedOutput schema / properties / map_png_resource
      Removed value: -{
      -  "description": "URI MCP resources/read pentru PNG: tria://map/{slug}.png. Nu toți clienții citesc template-uri; pe ChatGPT folosește get_map(slug).",
      -  "type": "string"
      -}
    • removedOutput schema / properties / map_png_url
      Removed value: -{
      -  "description": "Harta statică PNG a cazării, publică HTTP — doar la get_accommodation și doar dacă ai egress. Pentru PDF/DOCX fără egress folosește get_map(slug).",
      -  "type": "string"
      -}
    • removedOutput schema / properties / map_svg_resource
      Removed value: -{
      -  "description": "URI MCP resources/read pentru SVG: tria://map/{slug}.svg. Nu toți clienții citesc template-uri; pe ChatGPT folosește get_map(slug).",
      -  "type": "string"
      -}
    • removedOutput schema / properties / map_svg_url
      Removed value: -{
      -  "description": "Harta statică SVG a cazării, publică HTTP — doar la get_accommodation și doar dacă ai egress.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / slug / description
      Previous value: -"Slug exact al cazării — copiază această valoare în get_accommodation/get_concierge_brief/get_map; nu slugifica numele."New value: +"Slug exact al cazării — copiază această valoare în get_accommodation/get_concierge_brief; nu slugifica numele."
  2. Changed2 schema fields changed
    • changedInput schema / properties / slug / description
      Previous value: -"Slug-ul cazării, ex. \"casa-anda-2e3cfc\" (din URL-ul /cazare/{...}/{slug})"New value: +"Slug exact din `find_accommodations.results[].slug` sau ultimul segment din URL, ex. \"casa-anda-2e3cfc\". Nu inventa/slugifica numele; dacă ai doar numele, caută întâi cu find_accommodations(nume=...)."
    • changedOutput schema / properties / slug / description
      Previous value: -"Slug — pentru get_accommodation (detaliu)"New value: +"Slug exact al cazării — copiază această valoare în get_accommodation/get_concierge_brief/get_map; nu slugifica numele."
  3. Changed7 schema fields changed
    • addedOutput schema / properties / caracter / properties / arii_protejate
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / caracter / properties / parcuri
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / caracter / properties / schi
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / caracter / properties / verde
      Added value: +{
      +  "type": "number"
      +}
    • changedOutput schema / properties / pret / properties / de_la / description
      Previous value: -"Cel mai mic tarif/noapte peste perioadele de mai jos (orientativ, fără taxe)."New value: +"Cel mai mic preț orientativ peste perioadele de mai jos (fără taxe). În interfață se redă „de la X lei”, fără sufix."
    • changedOutput schema / properties / pret / properties / perioade / items / properties / de_la / description
      Previous value: -"Tarif/noapte pe această perioadă; absent = fără disponibilitate afișată (de verificat pe partener)."New value: +"Preț orientativ pe această perioadă; absent = fără disponibilitate afișată (de verificat pe partener)."
    • changedOutput schema / properties / pret_de_la / description
      Previous value: -"Preț informativ general „de la”, unde există. Nu este disponibilitate și nu este ofertă de rezervare."New value: +"Etichetă publică de preț informativ în forma „de la X lei”, fără sufix. Nu este disponibilitate și nu este ofertă de rezervare."
  4. Changed12 schema fields changed
    • addedOutput schema / properties / arhetip
      Added value: +{
      +  "description": "Arhetipul zonei din tokenii de contrast ai catalogului; limbajul preferat pentru explicații și matching.",
      +  "items": {
      +    "properties": {
      +      "kind": {
      +        "description": "strong | soft — cât de tare e tokenul în profilul zonei",
      +        "type": "string"
      +      },
      +      "label": {
      +        "description": "Etichetă citibilă: la mare, retras, urban, gastronomie…",
      +        "type": "string"
      +      },
      +      "slug": {
      +        "description": "Slug de temă tria când eticheta are pagină/filtru corespondent",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / gallery / description
      Previous value: -"Galerie foto — nu e expusă pe MCP (doar pe web)."New value: +"Galerie foto limitată — doar la get_accommodation, cu URL-uri publice/proxied tria unde există."
    • changedOutput schema / properties / photo / description
      Previous value: -"Poză de copertă — doar în show_accommodations_map (harta). Nu apare la search/top/get_accommodation."New value: +"Poză de copertă — în liste poate lipsi; la get_accommodation este cover-ul disponibil."
    • addedOutput schema / properties / potrivire
      Added value: +{
      +  "description": "Potrivire cu INTENȚIA ta (0–100) — cât de bine se aliniază cazarea cu tokenii/criteriile cerute. Apare DOAR când ai dat o intenție. NU e un scor/rating absolut al cazării (nu notăm cazări).",
      +  "type": "number"
      +}
    • addedOutput schema / properties / pret
      Added value: +{
      +  "description": "Preț ORIENTATIV live pe 3 perioade — doar la get_accommodation. Nu e disponibilitate garantată; verificarea finală + rezervarea se fac pe site-ul partener. Fără taxe/comisioane.",
      +  "properties": {
      +    "de_la": {
      +      "description": "Cel mai mic tarif/noapte peste perioadele de mai jos (orientativ, fără taxe).",
      +      "type": "integer"
      +    },
      +    "moneda": {
      +      "type": "string"
      +    },
      +    "perioade": {
      +      "description": "3 perioade-eșantion (nu calendar complet).",
      +      "items": {
      +        "properties": {
      +          "de_la": {
      +            "description": "Tarif/noapte pe această perioadă; absent = fără disponibilitate afișată (de verificat pe partener).",
      +            "type": "integer"
      +          },
      +          "interval": {
      +            "type": "string"
      +          },
      +          "perioada": {
      +            "description": "Weekendul următor / Peste o lună / Peste 2-3 luni",
      +            "type": "string"
      +          },
      +          "rezervare_url": {
      +            "description": "Link către pagina de rezervare a partenerului.",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / pret_de_la
      Added value: +{
      +  "description": "Preț informativ general „de la”, unde există. Nu este disponibilitate și nu este ofertă de rezervare.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / rezolutie / description
      Previous value: -"Provenance + încredere a semnalelor (litoral=bogat/identitate, național=ambient). Agentul îl CITEȘTE ca să calibreze încrederea; nu e parametru de request."New value: +"Provenance + încredere a semnalelor (mai bogat unde semnalul e fin, mai subțire la marginea litorală). Agentul îl CITEȘTE ca să calibreze încrederea; nu e parametru de request."
    • changedOutput schema / properties / rezolutie / properties / adancime / description
      Previous value: -"Profunzimea semnalelor: bogata (litoral r10) | standard (național r7) | bazica"New value: +"Profunzimea semnalelor: standard (național) | bazica; mai subțire la marginea litorală"
    • addedOutput schema / properties / rooms
      Added value: +{
      +  "description": "Camere/unități, doar la get_accommodation, compactate și limitate ca să nu umfle contextul.",
      +  "items": {
      +    "properties": {
      +      "amenities": {
      +        "description": "Dotări pe cameră, limitate",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "beds": {
      +        "description": "Paturi",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "description": {
      +        "description": "Descriere scurtă a camerei",
      +        "type": "string"
      +      },
      +      "max": {
      +        "description": "Capacitate maximă persoane",
      +        "type": "integer"
      +      },
      +      "name": {
      +        "description": "Numele camerei/unității",
      +        "type": "string"
      +      },
      +      "photos": {
      +        "description": "Fotografii cameră, limitate",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "price": {
      +        "description": "Preț text pentru cameră, informativ",
      +        "type": "string"
      +      },
      +      "price_from": {
      +        "description": "Preț numeric minim pentru cameră, informativ",
      +        "type": "number"
      +      },
      +      "size": {
      +        "description": "Suprafață, unde există",
      +        "type": "number"
      +      },
      +      "unit": {
      +        "description": "Unitate suprafață, de obicei mp",
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / scor
      Removed value: -{
      -  "description": "Scorul tria (0–100) — recomandarea de caracter, penalizată doar de recenzii slabe. Folosește-l la clasare.",
      -  "type": "number"
      -}
    • removedOutput schema / properties / sentiment_cazare
      Removed value: -{
      -  "description": "Sentiment CAZARE: verdictul din recenziile oaspeților proprietății (numărul de recenzii nu e expus). Specific cazării — diferă între proprietăți.",
      -  "properties": {
      -    "highlights": {
      -      "description": "Plusuri/minusuri spuse de oaspeți (doar la get_accommodation)",
      -      "properties": {
      -        "cons": {
      -          "items": {
      -            "type": "string"
      -          },
      -          "type": "array"
      -        },
      -        "pros": {
      -          "items": {
      -            "type": "string"
      -          },
      -          "type": "array"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "scor": {
      -      "description": "Verdictul oaspeților (0–100), din rating ponderat Bayesian. Lipsește dacă nu sunt recenzii.",
      -      "type": "number"
      -    },
      -    "semnale": {
      -      "description": "Subscoruri pe categorii din recenzii (0–100), unde există",
      -      "properties": {
      -        "camere": {
      -          "type": "number"
      -        },
      -        "curatenie": {
      -          "type": "number"
      -        },
      -        "facilitati": {
      -          "type": "number"
      -        },
      -        "locatie": {
      -          "type": "number"
      -        },
      -        "mancare": {
      -          "type": "number"
      -        },
      -        "raport_calitate_pret": {
      -          "type": "number"
      -        },
      -        "servicii": {
      -          "type": "number"
      -        }
      -      },
      -      "type": "object"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / properties / sentiment_zona
      Removed value: -{
      -  "description": "Sentiment ZONĂ: caracterul zonei (fără recenzii). Comun cazărilor vecine din aceeași zonă — de aceea se repetă.",
      -  "properties": {
      -    "scor": {
      -      "description": "Caracterul ZONEI (0–100)",
      -      "type": "number"
      -    },
      -    "semnale": {
      -      "description": "Semnalele de caracter tria — diferențiatorul (doar cele cu valoare)",
      -      "properties": {
      -        "afluenta": {
      -          "description": "Aglomerație (0–100)",
      -          "type": "number"
      -        },
      -        "anvergura": {
      -          "description": "Lățimea bazinului de vizitatori (0–100)",
      -          "type": "number"
      -        },
      -        "dezirabilitate": {
      -          "description": "Cât de căutată e zona (0–100)",
      -          "type": "number"
      -        },
      -        "farmec": {
      -          "description": "Farmecul zonei (0–100)",
      -          "type": "number"
      -        },
      -        "liniste": {
      -          "description": "Liniște (0–100)",
      -          "type": "number"
      -        },
      -        "magnetism": {
      -          "description": "Capacitatea zonei de a reține oameni (0–100)",
      -          "type": "number"
      -        },
      -        "plaja": {
      -          "description": "Acces plajă (0–100)",
      -          "type": "number"
      -        },
      -        "vibranta": {
      -          "description": "Vibranță / animație (0–100)",
      -          "type": "number"
      -        }
      -      },
      -      "type": "object"
      -    }
      -  },
      -  "type": "object"
      -}
  5. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, destructiveHint false), so the description adds behavioral nuance beyond that: the price is 'ORIENTATIV live' on 3 sample periods, not guaranteed availability, with final booking on the partner site. It also discloses that the gallery is limited and includes a 'rezolutie' field indicating signal richness. The 'Fără contact' note specifies a data limitation. These are meaningful details that shape caller expectations and are not repeated in annotations.

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 description is a single, well-structured sentence that leads with the primary purpose, then lists the contained data fields, and closes with actionable usage guidance. It is dense but not verbose; each clause adds either feature details or handling instructions. The structure front-loads the core function and maintains a logical flow, though it could be slightly tightened by splitting the long enumerations.

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 that the tool has an output schema (which presumably details return structure) and annotations fully cover the read-only/idempotent safety profile, the description is complete for an agent to call it correctly. It specifies the required input, the source of that input, what data to expect, and key limitations (price orientation, gallery limit, no contact). No critical information for invocation is missing.

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 coverage is 100% and the schema already describes the slug parameter with its exact source and the caution against slugification. The description echoes these instructions ('Copiază slug-ul exact... nu slugifica numele'), reinforcing but not adding new semantic information. Since the schema carries the full semantic weight, the description only marginally augments it, so a baseline of 3 is appropriate.

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 clearly states the tool's action: returns the complete profile of an accommodation from tria.ro based on a slug. It enumerates the specific data points included (character signals, surroundings, access, archetypes, description/facilities, rooms, orientative price, limited gallery, resolution), distinguishing it from sibling tools like find_accommodations, which searches for accommodations. The instruction to copy the exact slug from results or URL further clarifies that this tool is for retrieving a known resource, not discovering it.

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 explicitly instructs to copy the exact slug from results[].slug or URL and warns against slugifying names, implying this tool is only appropriate when a slug is already available. The schema description reinforces this by stating that if only a name is known, one should first use find_accommodations. This gives clear usage context, though it does not explicitly name alternative tools for other scenarios, so it stops short of a full when-to-use/when-not-to-use matrix.

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