Skip to main content
Glama

Validate Wego hotel feed

validate_wego_hotel_feed
Read-onlyIdempotent

Validate a static hotel feed against Wego-oriented published requirements and data-quality checks.

Input Schema

NameRequiredDescriptionDefault
formatNoOptional input-format override. Omit or use auto to detect JSON, NDJSON, XML, CSV or TSV automatically.
contentYesFeed content. Paste the JSON, XML, CSV, TSV or NDJSON payload directly. Maximum size is 2 MB.

Output Schema

NameRequiredDescriptionDefault
scoreYes
formatYes
issuesYes
targetYesValidation target. Choose a published-contract validator, readiness checker or the generic hotel master data audit.
recordsYes
coverageYes

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 / format / description
      Added value: +"Optional input-format override. Omit or use auto to detect JSON, NDJSON, XML, CSV or TSV automatically."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "coverage": {
      +      "additionalProperties": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "missing": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "present": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "present",
      +          "missing"
      +        ],
      +        "type": "object"
      +      },
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "format": {
      +      "enum": [
      +        "JSON",
      +        "XML",
      +        "CSV",
      +        "TSV",
      +        "NDJSON"
      +      ],
      +      "type": "string"
      +    },
      +    "issues": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "type": "string"
      +          },
      +          "level": {
      +            "enum": [
      +              "error",
      +              "warning",
      +              "info"
      +            ],
      +            "type": "string"
      +          },
      +          "message": {
      +            "type": "string"
      +          },
      +          "rows": {
      +            "items": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "level",
      +          "code",
      +          "message"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "records": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "score": {
      +      "maximum": 100,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "target": {
      +      "description": "Validation target. Choose a published-contract validator, readiness checker or the generic hotel master data audit.",
      +      "enum": [
      +        "wego",
      +        "google_hotel_center",
      +        "trivago",
      +        "meta_catalog",
      +        "criteo",
      +        "hotel_master_data"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "target",
      +    "format",
      +    "records",
      +    "score",
      +    "issues",
      +    "coverage"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so safety is covered. The description adds that validation is against 'published requirements and data-quality checks' and that the feed is static, but does not disclose severity levels, whether all issues are returned or only the first, or any size/rate constraints beyond what the schema states.

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?

A single sentence, front-loaded with the verb and resource, with no filler or repetition of the title. It is efficient, though the brevity is partly what leaves the usage and behavior gaps.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With rich annotations and an output schema, return-value explanation is not needed, and the 2-parameter surface is fully described. However, 'published requirements' is left unelaborated (which spec revision, which check categories), so an agent cannot predict what kinds of problems the validator will surface.

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 description coverage is 100%, and both parameters (content, format enum) are fully documented in the schema, so the baseline is 3. The description adds only the notion that the feed is 'static' and format-agnostic; it contributes no extra syntax or constraint detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Validate a static hotel feed') and scopes it to Wego-oriented published requirements plus data-quality checks, which separates it from the Google/Trivago/Criteo validators in the sibling list. It stops short of explicitly contrasting itself with generic siblings like validate_feed or validate_hotel_master_data, so it is clear but not maximally differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no when-to-use guidance, no prerequisites, and never names an alternative such as detect_feed_format (to identify format first) or validate_feed (platform-agnostic). The reader must infer from the tool name alone that this is the Wego-specific validator.

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.