Tools: website and reports

Build, edit and publish the booking website, and read the report.

Overview

ToolKindWhat it does
get_websitereadSee the website
list_website_blocksreadSee website building blocks
create_websitepreviewCreate a website draft
edit_website_draftdraftSave a change to the website draft
check_website_before_publishingpreviewCheck the website before publishing
get_reportreadSee results

Each entry is the tool as tools/list on https://mcp.hostemi.com/mcp lists it for a workspace without preview features, generated from the server. The description is the sentence your AI reads. Examples marked recorded are real answers from a test workspace (names changed); the others are calls checked against the schema, with the shape of the answer.

get_website

See the website. Reads. Changes nothing.

The host's booking website: address, draft or live, whether it can be published and what is missing, how guests book, domain, look, languages, pages and sections. Use when the host asks about their website, and before editing it.

PropertyValue
Kindread
HintsreadOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false
Cardwebsite
Built onsite_get, site_media_list, website_get
ParameterTypeRequiredDescription
websiteIdstringnoFrom get_website. Optional with one.
Call (recorded 2026-11-18)
{
  "name": "get_website",
  "arguments": {}
}
Answer (structuredContent)
{
  "ok": true,
  "summary": "This workspace has 13 websites: Lake house, Acceptance mwhxfw9s, Acceptance mwi1xvjb, Acceptance mwi263c3, Acceptance mwi2lkye, Acceptance mwi2tfop, Acceptance mwi5p3uc, Acceptance mwi5q4ik, Acceptance mwi5wiw3, Acceptance mwjz7j4d, Acceptance mwkaflrm, Acceptance mwl98x5n, Acceptance mwml3bjs. Pass websiteId for the pages and sections of one.",
  "data": {
    "website": null,
    "websites": [
      {
        "id": "cmwhxfoj20001so9s3nl08ehk",
        "name": "Lake house",
        "address": "https://lakeside-apartment.hostemi.site",
        "state": "draft, not published yet"
      },
      {
        "id": "cmwhxfwo30081so9spk97bxwx",
        "name": "Acceptance mwhxfw9s",
        "address": "https://acceptance-mwhxfw9s.hostemi.site",
        "state": "draft, not published yet"
      },
      {
        "id": "cmwi1xvvb0083son2dn2dmt5u",
        "name": "Acceptance mwi1xvjb",
        "address": "https://acceptance-mwi1xvjb.hostemi.site",
        "state": "draft, not published yet"
      },
      {
        "id": "cmwi263pk007psobfwygix3y8",
        "name": "Acceptance mwi263c3",
        "address": "https://acceptance-mwi263c3.hostemi.site",
        "state": "draft, not published yet"
      },
      {
        "id": "cmwi2ll8t0081sowgjqzi9u31",
        "name": "Acceptance mwi2lkye",
        "address": "https://acceptance-mwi2lkye.hostemi.site",
        "state": "draft, not published yet"
      },
      {
        "id": "cmwi2tg0z00ozsowg86bxq4kb",
        "name": "Acceptance mwi2tfop",
        "address": "https://acceptance-mwi2tfop.hostemi.site",
        "state": "draft, not published yet"
      },
      {
        "id": "cmwi5p47e00i5socbxkrkq05c",
        "name": "Acceptance mwi5p3uc",
        "address": "https://acceptance-mwi5p3uc.hostemi.site",
        "state": "draft, not published yet"
      },
      {
        "id": "cmwi5q4vg00s9socbjtg62sym",
        "name": "Acceptance mwi5q4ik",
        "address": "https://acceptance-mwi5q4ik.hostemi.site",
        "state": "draft, not published yet"
      },
      {
        "id": "cmwi5wj93008vso8c9lep7gqv",
        "name": "Acceptance mwi5wiw3",
        "address": "https://acceptance-mwi5wiw3.hostemi.site",
        "state": "draft, not published yet"
      },
      {
        "id": "cmwjz7jhv00bf2iko9jtreqvr",
        "name": "Acceptance mwjz7j4d",
        "address": "https://acceptance-mwjz7j4d.hostemi.site",
        "state": "draft, not published yet"
      },
      {
        "id": "cmwkafm4800re2i8mpvctqxju",
        "name": "Acceptance mwkaflrm",
        "address": "https://acceptance-mwkaflrm.hostemi.site",
        "state": "draft, not published yet"
      },
      {
        "id": "cmwl98xij00knsoet2zzej5a3",
        "name": "Acceptance mwl98x5n",
        "address": "https://acceptance-mwl98x5n.hostemi.site",
        "state": "draft, not published yet"
      },
      {
        "id": "cmwml3bwk00tzso6nog4rydzc",
        "name": "Acceptance mwml3bjs",
        "address": "https://acceptance-mwml3bjs.hostemi.site",
        "state": "draft, not published yet"
      }
    ],
    "pages": [],
    "issues": []
  }
}

Errors it raises itself: none of its own. Every tool can also answer the shared errors.

list_website_blocks

See website building blocks. Reads. Changes nothing.

Lists what a booking website is built from: section types, looks and page kinds, and for one section type its variants and the fields edit_website_draft takes. Use before editing a section, to know which fields it has.

PropertyValue
Kindread
HintsreadOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false
Built onsite_list_section_types
ParameterTypeRequiredDescription
typestringnoOne section type ("hero"): its fields.
Call (recorded 2026-11-19)
{
  "name": "list_website_blocks",
  "arguments": {
    "type": "hero"
  }
}
Answer (structuredContent, long lists shortened)
{
  "ok": true,
  "summary": "Section \"Hero\": 12 variants, 11 fields. Texts are objects per language, for example { \"en\": \"Welcome\" }.",
  "data": {
    "sections": [],
    "looks": [],
    "pageKinds": [],
    "section": {
      "type": "hero",
      "label": "Hero",
      "description": "First section of a page: the h1 headline, a sentence, photos and either a dates form or call to action buttons. Use exactly one per page, as the first body section. When the first images item has a video, photo led variants loop it muted (poster for reduced motion).",
      "variants": [
        {
          "id": "full-bleed",
          "label": "Full bleed photo"
        },
        {
          "id": "split",
          "label": "Split"
        },
        "… 10 more"
      ],
      "filledFromTheListing": [
        "property.photos",
        "property.rating",
        "units.priceFromMinor"
      ],
      "fields": {
        "eyebrow": {
          "description": "Small line above the title, e.g. the town or 'Lake Balaton'.",
          "type": "object",
          "propertyNames": {
            "type": "string",
            "enum": [
              "en",
              "hu",
              "… 6 more"
            ],
            "description": "Guest-facing language code (ISO 639-1)."
          },
          "additionalProperties": {
            "type": "string"
          }
        },
        "title": {
          "type": "object",
          "propertyNames": {
            "type": "string",
            "enum": [
              "en",
              "hu",
              "… 6 more"
            ],
            "description": "Guest-facing language code (ISO 639-1)."
          },
          "additionalProperties": {
            "type": "string"
          },
          "description": "The main headline (h1). Short: 3 to 8 words."
        },
        "subtitle": {
          "description": "One sentence that sells the stay.",
          "type": "object",
          "propertyNames": {
            "type": "string",
            "enum": [
              "en",
              "hu",
              "… 6 more"
            ],
            "description": "Guest-facing language code (ISO 639-1)."
          },
          "additionalProperties": {
            "type": "string"
          }
        },
        "images": {
          "default": [],
          "description": "Images. Leave empty to use the property photos from the PMS.",
          "maxItems": 24,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "description": "Media library id (backend). Optional for external URLs.",
                "type": "string"
              },
              "url": {
                "type": "string",
                "format": "uri",
                "description": "Absolute image URL. For videos: the poster image."
              },
              "alt": {
                "type": "object",
                "propertyNames": {
                  "type": "string",
                  "enum": [
                    "en",
                    "hu",
                    "… 6 more"
                  ],
                  "description": "Guest-facing language code (ISO 639-1)."
                },
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Alt text, localised. Describe what is in the photo."
              },
              "width": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "height": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "focalX": {
                "description": "Focal point, 0 = left edge, 1 = right edge. Every cropped photo (heroes and page heads on tall phones, tiles, cards) keeps this point in view, e.g. 0.66 for a person right of centre.",
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              "focalY": {
                "description": "Focal point, 0 = top edge, 1 = bottom edge.",
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              "video": {
                "type": "object",
                "properties": {
                  "mp4": {
                    "description": "H.264 .mp4 URL (plays everywhere).",
                    "type": "string",
                    "format": "uri"
                  },
                  "webm": {
                    "description": "Optional .webm URL (smaller, tried first).",
                    "type": "string",
                    "format": "uri"
                  },
                  "durationSec": {
                    "type": "number",
                    "exclusiveMinimum": 0
                  }
                },
                "description": "Makes the media item a video. The item's url stays the poster image (first frame), shown before play and to guests who prefer reduced motion."
              },
              "credit": {
                "type": "object",
                "properties": {
                  "author": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 120,
                    "description": "Photographer or rights holder, e.g. \"Jane Doe\" or \"Wikimedia Commons user Solymári\"."
                  },
                  "license": {
                    "description": "Licence short name, e.g. \"CC BY-SA 4.0\". CC BY and CC BY-SA images must name the author, the licence and link the source.",
                    "type": "string",
                    "maxLength": 60
                  },
                  "sourceUrl": {
                    "description": "Page the photo comes from (e.g. its Wikimedia Commons file page). The credit links here.",
                    "type": "string",
                    "format": "uri"
                  },
                  "licenseUrl": {
                    "description": "Licence deed URL, e.g. https://creativecommons.org/licenses/by-sa/4.0/.",
                    "type": "string",
                    "format": "uri"
                  }
                },
                "required": [
                  "author"
                ],
                "description": "Photo credit shown in small type under the photo (sections that show credits: things-to-do, page-head). Needed for Creative Commons photos."
              }
            },
            "required": [
              "url",
              "alt"
            ],
            "description": "Photo or video (with video) with localised alt text and an optional focal point for cropping. Heroes loop videos muted; galleries play them; other sections show the poster."
          }
        },
        "primaryCta": {
          "type": "object",
          "properties": {
            "label": {
              "description": "Button text. Defaults to a sensible label for the target.",
              "type": "object",
              "propertyNames": {
                "type": "string",
                "enum": [
                  "en",
                  "hu",
                  "… 6 more"
                ],
                "description": "Guest-facing language code (ISO 639-1)."
              },
              "additionalProperties": {
                "type": "string"
              }
            },
            "target": {
              "default": "book",
              "description": "Where the button goes. phone calls the property phone from the PMS (label defaults to the number). custom uses href.",
              "type": "string",
              "enum": [
                "book",
                "rooms",
                "… 6 more"
              ]
            },
            "href": {
              "description": "Only for target custom: absolute URL or /path.",
              "type": "string"
            }
          },
          "description": "Call to action button."
        },
        "secondaryCta": {
          "type": "object",
          "properties": {
            "label": {
              "description": "Button text. Defaults to a sensible label for the target.",
              "type": "object",
              "propertyNames": {
                "type": "string",
                "enum": [
                  "en",
                  "hu",
                  "… 6 more"
                ],
                "description": "Guest-facing language code (ISO 639-1)."
              },
              "additionalProperties": {
                "type": "string"
              }
            },
            "target": {
              "default": "book",
              "description": "Where the button goes. phone calls the property phone from the PMS (label defaults to the number). custom uses href.",
              "type": "string",
              "enum": [
                "book",
                "rooms",
                "… 6 more"
              ]
            },
            "href": {
              "description": "Only for target custom: absolute URL or /path.",
              "type": "string"
            }
          },
          "description": "Call to action button."
        },
        "showBookingForm": {
          "default": true,
          "description": "Dates and guests form that opens the booking page.",
          "type": "boolean"
        },
        "buttonsWithForm": {
          "default": false,
          "description": "Full bleed variant: show the buttons as well as the dates form (by default the form replaces them).",
          "type": "boolean"
        },
        "showRating": {
          "default": true,
          "description": "Star rating from the PMS reviews.",
          "type": "boolean"
        },
        "showPrice": {
          "default": false,
          "description": "Show the 'from' nightly price.",
          "type": "boolean"
        },
        "overlay": {
          "default": 0.35,
          "description": "Darkening over photos (0 to 0.85) for readable white text.",
          "type": "number",
          "minimum": 0,
          "maximum": 0.85
        }
      },
      "required": [
        "title"
      ],
      "defaults": {
        "title": {
          "en": "Your stay starts here"
        },
        "showBookingForm": true,
        "showRating": true
      }
    }
  }
}

Errors it raises itself: INVALID_INPUT, SECTION_NOT_FOUND. Every tool can also answer the shared errors.

create_website

Create a website draft. Stores a preview with a change id (chg_…). Nothing changes until apply_change.

Prepares the first draft of the host's booking website from a listing: pages, photos, prices, the booking form; guests see nothing until it is published. Use when the host wants a website and has none. Returns a preview to approve; may notify the host.

PropertyValue
Kindpreview
Approval classnormal
HintsreadOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false
Cardchange
Built onsite_create
ParameterTypeRequiredDescription
namestringnoIts name; default: the listing's.
languagesstring[]noLanguage codes, the main one first: ["en", "de"].
addressstringnoe.g. "harbor-loft".
listingIdstringnoFrom get_context.
Call (recorded undefined)
{
  "name": "create_website",
  "arguments": {
    "listingId": "cmwhux6y60026somfhixjmcm8",
    "languages": [
      "en",
      "de"
    ]
  }
}
Answer (structuredContent)
{
  "ok": true,
  "summary": "Preview, nothing has changed yet. A booking website \"Harbor Loft\" is made from the listing, as a draft.",
  "data": {
    "website": null
  },
  "change": {
    "id": "chg_cmexample5",
    "state": "preview",
    "risk": "NORMAL"
  }
}

Errors it raises itself: none of its own. Every tool can also answer the shared errors.

edit_website_draft

Save a change to the website draft. Saved at once: a draft or an inbox flag that reaches nobody.

Saves one change to the unpublished website draft at once: a section's fields, the look, or the text search engines show; guests see nothing until it is published. Use when the host asks to change their website's words or look. Adding, moving or removing sections and pages: in Hostemi.

PropertyValue
Kinddraft
Approval classdraft
HintsreadOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: false
Cardwebsite
Built onsite_update_theme, site_update_section, site_update_seo
ParameterTypeRequiredDescription
websiteIdstringnoFrom get_website. Optional with one.
sectionobjectnoOne section of the draft.
section.idstringyesFrom get_website.
section.fieldsobjectnoOnly its type's fields (list_website_blocks).
section.variantstringnoOne of its type (list_website_blocks).
section.hiddenbooleannotrue hides it.
lookobjectnoThe look.
look.lookstringnoFrom list_website_blocks.
look.accentstringnoA colour, "#0f766e".
searchTextobjectnoWhat search engines show.
searchText.pageIdstringnoOne page; omit for the whole site.
searchText.titlemap of stringnoPer language: { "en": "…" }.
searchText.descriptionmap of stringnoPer language: { "en": "…" }.
Call (recorded null)
{
  "name": "edit_website_draft",
  "arguments": {
    "websiteId": "cmwhxfoj20001so9s3nl08ehk",
    "searchText": {
      "title": {
        "en": "Harbor Loft, Vienna: book direct"
      },
      "description": {
        "en": "A bright loft by the harbour. Book direct for the best price."
      }
    }
  }
}
Answer (summary, change and next step as recorded)
{
  "ok": true,
  "summary": "Saved to the draft of Lake house: the search text. Guests see it only after publishing; the host sees the draft in Hostemi."
}

Errors it raises itself: NOTHING_TO_CHANGE, NO_WEBSITE, ONE_CHANGE, PAGE_NOT_FOUND. Every tool can also answer the shared errors.

check_website_before_publishing

Check the website before publishing. Stores a preview with a change id (chg_…). Nothing changes until apply_change.

Checks the website draft before it goes live: returns what is missing and stores the request for the host, who publishes it in Hostemi's editor (the link). Nothing goes live from here; may notify the host. Use when the host wants their website online. Offline: in Hostemi.

PropertyValue
Kindpreview
Approval classrisky
HintsreadOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false
Cardchange
Built onsite_publish
ParameterTypeRequiredDescription
websiteIdstringnoFrom get_website. Optional with one.
Call (recorded 2026-11-18)
{
  "name": "check_website_before_publishing",
  "arguments": {
    "websiteId": "cmwhxfoj20001so9s3nl08ehk"
  }
}
Answer (summary, change and next step as recorded)
{
  "ok": true,
  "summary": "ERROR {\"ok\":false,\"code\":\"PLAN_REQUIRED\",\"message\":\"The website cannot be published yet. Publishing your website is part of Complete. Change your plan in Settings > Plan & billing.\",\"fix\":\"The draft can still be shown: https://lakeside-apartment.hostemi.site/_preview/eyJzIjoiY213aHhmb2oyMDAwMXNvOXMzbmwwOGVoayIsIm8iOiIyZjkxYjdiYi04OGQ1LTQwYTUtYThkNi01NTM5ZGRhOTdlNDAiLCJlIjoxNzk1NjUxMjAwfQ.5aN917zS2XxlHuTNFXYM8yWfq4n1bzFoCD2vOEtkClI. Tell the host; calling again will not help until the plan allows it.\",\"retry\":false}"
}

Errors it raises itself: IN_HOSTEMI, NOT_PUBLISHABLE_YET, NO_WEBSITE. Every tool can also answer the shared errors.

get_report

See results. Reads. Changes nothing.

How the business did in a period: booked nights, occupancy, revenue, average night, bookings, against the period before or last year, by platform and listing, in one currency. Use when the host asks how a month or year went. Exports (CSV, tourist tax): the Reports page it links.

PropertyValue
Kindread
HintsreadOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false
Cardreport
Built onanalytics_summary, reports_summary, reports_export
ParameterTypeRequiredDescription
periodenumnoDefault: this_month. A named month: from and to. One of: last_7_days, last_30_days, this_month, last_month, this_year, last_year.
fromstringnoFirst night, YYYY-MM-DD. Only with to.
tostringnoLast night, YYYY-MM-DD, inclusive.
listingIdstringnoOnly this listing.
compareWithenumnoDefault: previous_period. One of: previous_period, last_year.
currencystringnoWith several currencies: which.
Call (recorded 2026-11-18)
{
  "name": "get_report",
  "arguments": {}
}
Answer (structuredContent)
{
  "ok": true,
  "summary": "Sun 1 to Mon 30 Nov 2026 (30 nights): 0 booked nights, 0% occupancy, revenue €0.00.",
  "data": {
    "scope": {
      "listings": "all"
    },
    "period": {
      "from": "2026-11-01",
      "to": "2026-11-30",
      "nights": 30,
      "currency": "EUR"
    },
    "totals": {
      "bookedNights": 0,
      "availableNights": 30,
      "occupancyPercent": 0,
      "revenue": {
        "amount": "0.00",
        "currency": "EUR",
        "display": "€0.00"
      },
      "cleaningFees": {
        "amount": "0.00",
        "currency": "EUR",
        "display": "€0.00"
      },
      "averageNightlyPrice": {
        "amount": "0.00",
        "currency": "EUR",
        "display": "€0.00"
      },
      "averageNight": {
        "amount": "0.00",
        "currency": "EUR",
        "display": "€0.00"
      },
      "bookings": 0,
      "cancellations": 12,
      "platformCommission": {
        "amount": "0.00",
        "currency": "EUR",
        "display": "€0.00"
      }
    },
    "comparedWith": {
      "from": "2026-10-01",
      "to": "2026-10-31",
      "bookedNights": 0,
      "occupancyPercent": 0,
      "revenue": {
        "amount": "0.00",
        "currency": "EUR",
        "display": "€0.00"
      },
      "change": {
        "revenue": null,
        "bookedNights": null
      }
    },
    "byPlatform": [],
    "byListing": [
      {
        "listing": {
          "id": "cmwhux6y60026somfhixjmcm8",
          "name": "Lake house"
        },
        "bookedNights": 0,
        "occupancyPercent": 0,
        "revenue": {
          "amount": "0.00",
          "currency": "EUR",
          "display": "€0.00"
        }
      }
    ],
    "otherCurrencies": []
  }
}

Errors it raises itself: INVALID_DATE, INVALID_INPUT. Every tool can also answer the shared errors.

Something missing from this page? Write to [email protected], or use the form on the Help page.