Skip to main content
Glama

Tipping norms

get_tipping_norms
Read-onlyIdempotent

Tipping customs for one country: data.norms.value {overall_context, situations {: {expectation, guidance_type, percent_min, percent_max}}}; percentages only where a source states them. Use it for "should I tip, and how much?"; get_country_facts for several facts, get_trip_brief for a whole trip. Custom, not law: confidence reflects that. Each fact is cited: sources[] (url, license), last_verified, confidence. Parameters: omit situation for all; one situation returns only that (no data gives empty situations, not an error). Examples: {"country":"US"}, {"country":"JP","situation":"taxi"}. Read-only; keyless (free key or x402 lifts limits: https://citedtravel.com/pricing/); errors RFC 9457.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "country": "<country>"
    },
    "name": "get_tipping_norms"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage for localized names (BCP 47). Supported: en, ja, zh-Hans, zh-Hant; aliases such as zh, zh-CN, zh-TW and zh-HK are mapped, and anything else falls back to English. Only names are localized; verbatim official quotes stay in their original language.en
countryYesCountry as an ISO 3166-1 alpha-2 or alpha-3 code, case-insensitive (e.g. JP, jp or JPN). Names are not accepted: resolve them with resolve_country first.
situationNoReturn only this situation. A situation with no data gives an empty situations object (not an error). Omit for all situations.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / country / description
      Previous value: -"Country where the tip would be given as an ISO 3166-1 alpha-2 or alpha-3 code, case-insensitive (e.g. JP, jp or JPN). Names are not accepted: resolve them with resolve_country first."New value: +"Country as an ISO 3166-1 alpha-2 or alpha-3 code, case-insensitive (e.g. JP, jp or JPN). Names are not accepted: resolve them with resolve_country first."
  2. Changed2 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"Country as an ISO 3166-1 alpha-2 or alpha-3 code, case-insensitive (e.g. JP, jp or JPN). Names are not accepted: resolve them with resolve_country first."New value: +"Country where the tip would be given as an ISO 3166-1 alpha-2 or alpha-3 code, case-insensitive (e.g. JP, jp or JPN). Names are not accepted: resolve them with resolve_country first."
    • addedInput schema / properties / situation / examples
      Added value: +[
      +  "taxi"
      +]
  3. Changed9 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"Country as ISO 3166-1 alpha-2 or alpha-3 code, e.g. JP or JPN. Use resolve_country for names."New value: +"Country as an ISO 3166-1 alpha-2 or alpha-3 code, case-insensitive (e.g. JP, jp or JPN). Names are not accepted: resolve them with resolve_country first."
    • addedInput schema / properties / country / examples
      Added value: +[
      +  "JP",
      +  "GB",
      +  "USA"
      +]
    • addedInput schema / properties / country / pattern
      Added value: +"^[A-Za-z]{2,3}$"
    • addedInput schema / properties / lang / default
      Added value: +"en"
    • changedInput schema / properties / lang / description
      Previous value: -"Response language (BCP 47). Supported: en, ja, zh-Hans, zh-Hant; falls back to English. Verbatim official quotes always stay in their original language."New value: +"Language for localized names (BCP 47). Supported: en, ja, zh-Hans, zh-Hant; aliases such as zh, zh-CN, zh-TW and zh-HK are mapped, and anything else falls back to English. Only names are localized; verbatim official quotes stay in their original language."
    • addedInput schema / properties / lang / examples
      Added value: +[
      +  "en",
      +  "ja",
      +  "zh-Hans",
      +  "zh-Hant"
      +]
    • addedInput schema / properties / situation / description
      Added value: +"Return only this situation. A situation with no data gives an empty situations object (not an error). Omit for all situations."
    • changedInput schema / properties / situation / enum
      Previous value: -[
      -  "restaurant",
      -  "taxi",
      -  "hotel_staff",
      -  "bar"
      -]New value: +[
      +  "restaurant",
      +  "taxi",
      +  "hotel_staff",
      +  "tour_guides",
      +  "bar"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "attribution": {
      +          "description": "Attribution strings to show to users when you display these facts.",
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "category": {
      +          "const": "tipping"
      +        },
      +        "country": {
      +          "description": "Country (ISO codes and name, localized to lang).",
      +          "properties": {
      +            "iso2": {
      +              "type": "string"
      +            },
      +            "iso3": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "name_lang": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "iso2"
      +          ],
      +          "type": "object"
      +        },
      +        "data": {
      +          "additionalProperties": {
      +            "description": "One cited fact.",
      +            "properties": {
      +              "attribution": {
      +                "description": "Attribution strings required by the source licenses.",
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "confidence": {
      +                "description": "Deterministic confidence: score from 0 to 1, a level, and the reasons (source kind, cross-checks, staleness...).",
      +                "properties": {
      +                  "level": {
      +                    "examples": [
      +                      "high",
      +                      "medium",
      +                      "low"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "reasons": {
      +                    "description": "Why the score is what it is.",
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "score": {
      +                    "maximum": 1,
      +                    "minimum": 0,
      +                    "type": "number"
      +                  }
      +                },
      +                "required": [
      +                  "score",
      +                  "level"
      +                ],
      +                "type": "object"
      +              },
      +              "cross_checks": {
      +                "description": "Independent datasets the value was checked against, with the result.",
      +                "type": "array"
      +              },
      +              "field": {
      +                "type": "string"
      +              },
      +              "id": {
      +                "type": "string"
      +              },
      +              "last_verified": {
      +                "description": "Date the value was last verified (YYYY-MM-DD).",
      +                "type": "string"
      +              },
      +              "localization": {
      +                "type": "object"
      +              },
      +              "next_review_due": {
      +                "description": "Date of the next scheduled review (YYYY-MM-DD).",
      +                "type": "string"
      +              },
      +              "sources": {
      +                "description": "Cited sources for this fact.",
      +                "items": {
      +                  "description": "One cited source.",
      +                  "properties": {
      +                    "license": {
      +                      "description": "License of the source, e.g. CC0-1.0, OGL-UK-3.0, MIT.",
      +                      "type": "string"
      +                    },
      +                    "publisher": {
      +                      "type": "string"
      +                    },
      +                    "quote": {
      +                      "description": "Verbatim text from the source, when quoted.",
      +                      "type": "string"
      +                    },
      +                    "retrieved_at": {
      +                      "description": "When the source was fetched (ISO 8601).",
      +                      "type": "string"
      +                    },
      +                    "source_id": {
      +                      "type": "string"
      +                    },
      +                    "source_value": {
      +                      "description": "The raw value as given by the source, when not quoted."
      +                    },
      +                    "url": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "publisher",
      +                    "url",
      +                    "license"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "unit": {
      +                "type": "string"
      +              },
      +              "value": {
      +                "description": "The fact value; its shape depends on the field."
      +              }
      +            },
      +            "required": [
      +              "value",
      +              "sources",
      +              "last_verified",
      +              "confidence"
      +            ],
      +            "type": "object"
      +          },
      +          "description": "Tipping facts. Keys are field names, each value is a cited fact.",
      +          "properties": {
      +            "norms": {
      +              "description": "overall_context and situations: {<situation>: {display, expectation, guidance_type, percent_min, percent_max}}.",
      +              "properties": {
      +                "attribution": {
      +                  "description": "Attribution strings required by the source licenses.",
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "confidence": {
      +                  "description": "Deterministic confidence: score from 0 to 1, a level, and the reasons (source kind, cross-checks, staleness...).",
      +                  "properties": {
      +                    "level": {
      +                      "examples": [
      +                        "high",
      +                        "medium",
      +                        "low"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "reasons": {
      +                      "description": "Why the score is what it is.",
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "score": {
      +                      "maximum": 1,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    }
      +                  },
      +                  "required": [
      +                    "score",
      +                    "level"
      +                  ],
      +                  "type": "object"
      +                },
      +                "cross_checks": {
      +                  "description": "Independent datasets the value was checked against, with the result.",
      +                  "type": "array"
      +                },
      +                "field": {
      +                  "type": "string"
      +                },
      +                "id": {
      +                  "type": "string"
      +                },
      +                "last_verified": {
      +                  "description": "Date the value was last verified (YYYY-MM-DD).",
      +                  "type": "string"
      +                },
      +                "localization": {
      +                  "type": "object"
      +                },
      +                "next_review_due": {
      +                  "description": "Date of the next scheduled review (YYYY-MM-DD).",
      +                  "type": "string"
      +                },
      +                "sources": {
      +                  "description": "Cited sources for this fact.",
      +                  "items": {
      +                    "description": "One cited source.",
      +                    "properties": {
      +                      "license": {
      +                        "description": "License of the source, e.g. CC0-1.0, OGL-UK-3.0, MIT.",
      +                        "type": "string"
      +                      },
      +                      "publisher": {
      +                        "type": "string"
      +                      },
      +                      "quote": {
      +                        "description": "Verbatim text from the source, when quoted.",
      +                        "type": "string"
      +                      },
      +                      "retrieved_at": {
      +                        "description": "When the source was fetched (ISO 8601).",
      +                        "type": "string"
      +                      },
      +                      "source_id": {
      +                        "type": "string"
      +                      },
      +                      "source_value": {
      +                        "description": "The raw value as given by the source, when not quoted."
      +                      },
      +                      "url": {
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "publisher",
      +                      "url",
      +                      "license"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "unit": {
      +                  "type": "string"
      +                },
      +                "value": {
      +                  "description": "The fact value; its shape depends on the field."
      +                }
      +              },
      +              "required": [
      +                "value",
      +                "sources",
      +                "last_verified",
      +                "confidence"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "dataset_version": {
      +          "description": "Version of the dataset that answered.",
      +          "type": "string"
      +        },
      +        "disclaimer": {
      +          "description": "Informational-use disclaimer.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "country",
      +        "data",
      +        "attribution"
      +      ],
      +      "title": "Result",
      +      "type": "object"
      +    },
      +    {
      +      "description": "Only on error results (isError: true): RFC 9457 problem, e.g. unknown country, no data, key required, rate limited, sanctions block.",
      +      "properties": {
      +        "detail": {
      +          "type": "string"
      +        },
      +        "status": {
      +          "type": "integer"
      +        },
      +        "title": {
      +          "type": "string"
      +        },
      +        "type": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "type",
      +        "title",
      +        "status"
      +      ],
      +      "title": "Error (problem details)",
      +      "type": "object"
      +    },
      +    {
      +      "description": "Only on error results (isError: true): x402 v2 payment requirements. Pay and retry with _meta[\"x402/payment\"].",
      +      "properties": {
      +        "accepts": {
      +          "type": "array"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "extensions": {
      +          "type": "object"
      +        },
      +        "resource": {
      +          "type": "object"
      +        },
      +        "x402Version": {
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "x402Version",
      +        "accepts"
      +      ],
      +      "title": "Error (x402 payment request)",
      +      "type": "object"
      +    }
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent safety, and the description adds real operational context beyond them: percentages appear only where a source states them, results carry sources[] with license, last_verified and confidence, custom-not-law framing, keyless access with a pricing URL for higher limits, and RFC 9457 errors.

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-loaded with the response shape, then usage, then parameter and operational notes; every sentence carries information. It is dense to the point of being telegraphic, but nothing is wasted.

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?

Given three parameters, an enum-restricted situation, and a full output schema, the description supplies everything an agent needs: scope, alternatives, edge-case behavior for missing data, citation/confidence semantics, and error/auth framing.

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 schema already documents country, lang and situation in detail; the description's restatement that omitting situation returns all is partly redundant. It still adds value with concrete invocations ({"country":"US"}, {"country":"JP","situation":"taxi"}) and the explicit "empty situations, not an error" guarantee.

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 and resource — tipping customs for one country — and even sketches the payload shape (data.norms.value, situations, expectation, percent_min/max). It distinguishes itself from get_country_facts and get_trip_brief by naming both and their respective scopes.

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 an explicit use case ("should I tip, and how much?") plus explicit sibling routing: get_country_facts for several facts, get_trip_brief for a whole trip. It also spells out the situation parameter's behavior (omit for all, one returns only that), leaving nothing to inference.

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