Skip to main content
Glama

Normalize hotel feed

normalize_hotel_feed
Read-onlyIdempotent

Parse a hotel feed and normalize common supplier or platform aliases into a canonical hotel-record shape without changing the source payload.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoOptional input-format override. Omit or use auto to detect JSON, NDJSON, XML, CSV or TSV automatically.
targetNoOptional target whose parser conventions should be used while normalizing the feed. Defaults to generic hotel master data.
contentYesFeed content. Paste the JSON, XML, CSV, TSV or NDJSON payload directly. Maximum size is 2 MB.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatYes
recordsYes
truncatedYes
recordCountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / content / description
      Previous value: -"Feed content. Paste the JSON, XML, CSV, TSV or NDJSON payload directly."New value: +"Feed content. Paste the JSON, XML, CSV, TSV or NDJSON payload directly. Maximum size is 2 MB."
    • addedInput schema / properties / format / description
      Added value: +"Optional input-format override. Omit or use auto to detect JSON, NDJSON, XML, CSV or TSV automatically."
    • addedInput schema / properties / target / description
      Added value: +"Optional target whose parser conventions should be used while normalizing the feed. Defaults to generic hotel master data."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "format": {
      +      "enum": [
      +        "JSON",
      +        "XML",
      +        "CSV",
      +        "TSV",
      +        "NDJSON"
      +      ],
      +      "type": "string"
      +    },
      +    "recordCount": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "records": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "address": {},
      +          "amenities": {},
      +          "availability": {},
      +          "brand": {},
      +          "category": {},
      +          "city": {},
      +          "country": {},
      +          "currency": {},
      +          "description": {},
      +          "id": {},
      +          "image": {},
      +          "latitude": {},
      +          "link": {},
      +          "longitude": {},
      +          "name": {},
      +          "phone": {},
      +          "postalCode": {},
      +          "price": {},
      +          "province": {},
      +          "sourceIndex": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "starRating": {}
      +        },
      +        "required": [
      +          "sourceIndex"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "truncated": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "format",
      +    "records",
      +    "recordCount",
      +    "truncated"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.