Skip to main content
Glama

Get Listing Details

get_listing_details
Read-only

Bitta dacha/mehmonxonaning to'liq ma'lumotini va rasmlarini qaytaradi.

listing_slug - qidiruv natijasidagi `slug` maydoni. listing_type `house`
(dacha) yoki `property` (mehmonxona). Mehmonxonadagi bo'sh xonalarni
`check_hotel_availability` orqali tekshiring.
Tarkibida: tavsif, manzil/xarita, sig'im, qulayliklar, reyting, narx
(`payment`/`paydaylist`), oldindan to'lov foizi, band kunlar (`blocked_dates`)
va onlayn bron imkoniyati.

Eslatma: detail endpoint'da tayyor `price` YO'Q - narx `payment` ro'yxatida
(sig'im bo'yicha ish kunlari/hafta oxiri) va `paydaylist` (sana bo'yicha)
keladi. Aniq bo'sh kunlarni `check_availability` orqali so'rang.

Rasmlar: 10 tagacha rasm natijaga rasm (image content) sifatida qo'shiladi;
ularning URL'lari `images` ro'yxatida. Faqat matn kerak bo'lsa (narx, bo'sh
kunlar) - `max_images=0` yuboring.

Bir nechta dachani rasmlari bilan solishtirish uchun bu tool'ni har biriga
alohida chaqirmang: `search_rentals`/`search_hotels` natijasida har bir
e'lonning rasmi allaqachon bor. Bu tool - bitta e'lonni batafsil ko'rish uchun.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_imagesNoNatijaga biriktiriladigan rasmlar soni, 0-10 (0 = rasmsiz).
listing_slugYesQidiruv natijasidagi e'lon `slug` qiymati.
listing_typeNo`house` (dacha) yoki `property` (mehmonxona).house

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoE'lon ID'si (create_booking.listing_id).
urlNoSaytdagi e'lon sahifasi.
hintNoXatoni qanday tuzatish haqida ko'rsatma.
nameNoE'lon nomi.
slugNoE'lon slug'i.
errorNoXato kodi; faqat tool bajarilmaganda keladi.
foundNoE'lon topildimi.
detailNoUpstream API xatosi tafsiloti.
imagesNoRasm URL'lari (10 tagacha).
paymentNoSig'im bo'yicha ish kuni / hafta oxiri narxlari.
currencyNoNarxlar valyutasi (UZS).
paydaylistNoSana bo'yicha narxlar.
blocked_datesNoBand kunlar (60 tagacha).
onlinebookingNoOnlayn bron yoqilganmi.
blocked_dates_totalNoBand kunlar umumiy soni.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover read-only/open-world, and the description adds substantial behavior beyond them: up to 10 images are attached to the result as image content while their URLs appear in `images`, max_images=0 suppresses images, and the response has no ready-made `price` field (pricing arrives via `payment`/`paydaylist`, with blocked_dates and prepayment percentage). That is exactly the kind of non-obvious trait that prevents wrong invocation.

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?

Front-loads the core purpose, then layers parameters, response contents, the pricing caveat, and image behavior. Every paragraph is useful, though the pricing/image notes could be tightened slightly and the multi-line layout is more verbose than strictly needed.

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?

An output schema exists, yet the description still enumerates what the payload contains (description, address/map, capacity, amenities, rating, price, blocked_dates, online booking) plus the image-content behavior, which is sufficient for an agent to call it correctly and interpret the result.

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%, so the baseline is 3, but the description adds real meaning: listing_slug is the `slug` field from search results, listing_type is house/property, and max_images controls whether images are embedded in the result versus only listed by URL. This goes beyond the schema's own text.

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: returns full details and images for a single listing, identified by slug. It explicitly contrasts itself with the sibling search tools (search_rentals/search_hotels) and the availability tools, so an agent can select it without opening any 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?

Gives explicit when-to-use and when-not-to-use guidance: this tool is for viewing one listing in detail, not for comparing multiple listings with images (search results already include images). It also routes vacancy questions to check_hotel_availability and exact free-date questions to check_availability.

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