Skip to main content
Glama

Detect feed format

detect_feed_format
Read-onlyIdempotent

Detect whether a supplied hotel or catalog feed payload is JSON, NDJSON, XML, CSV or TSV before parsing or validation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesFeed content. Paste the JSON, XML, CSV, TSV or NDJSON payload directly. Maximum size is 2 MB.
formatHintNoOptional expected format hint. Omit or use auto when the format should be detected from the payload.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 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 / formatHint / description
      Added value: +"Optional expected format hint. Omit or use auto when the format should be detected from the payload."
    • 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"
      +    }
      +  },
      +  "required": [
      +    "format"
      +  ],
      +  "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.