Skip to main content
Glama

Search destinations

search_countries
Read-onlyIdempotent

Search Tipping Rules destinations by name or region. Returns matching destinations with status and canonical page URLs.

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": {
      "query": "<query>"
    },
    "name": "search_countries"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesCountry name, alias, or region fragment to search.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "count": {
      -        "description": "Number of destinations returned (max 8).",
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "methodologyUrl": {
      -        "description": "How Tipping Rules reviews and sources guidance.",
      -        "format": "uri",
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": true,
      -        "description": "True when search completed successfully.",
      -        "type": "boolean"
      -      },
      -      "query": {
      -        "description": "Echo of the submitted search query.",
      -        "type": "string"
      -      },
      -      "results": {
      -        "description": "Matching destinations ordered by relevance.",
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "canonicalUrl": {
      -              "description": "Canonical country page URL on tippingrules.com.",
      -              "format": "uri",
      -              "type": "string"
      -            },
      -            "name": {
      -              "description": "Display name of the destination.",
      -              "type": "string"
      -            },
      -            "region": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Region label from the catalog, when available."
      -            },
      -            "slug": {
      -              "description": "Country slug for follow-up tool calls.",
      -              "type": "string"
      -            },
      -            "status": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Tipping expectation label, when available."
      -            }
      -          },
      -          "required": [
      -            "slug",
      -            "name",
      -            "status",
      -            "region",
      -            "canonicalUrl"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "source": {
      -        "const": "Tipping Rules",
      -        "description": "Attribution for downstream citations.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "query",
      -      "count",
      -      "results",
      -      "methodologyUrl",
      -      "source"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "code": {
      -        "description": "Machine-readable error code (e.g. NOT_FOUND, VALIDATION, TIMEOUT).",
      -        "type": "string"
      -      },
      -      "message": {
      -        "description": "Short, agent-safe error message.",
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": false,
      -        "description": "False when the tool could not complete successfully.",
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "code",
      -      "message"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "count": {
      +        "description": "Number of destinations returned (max 8).",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "methodologyUrl": {
      +        "description": "How Tipping Rules reviews and sources guidance.",
      +        "format": "uri",
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": true,
      +        "description": "True when search completed successfully.",
      +        "type": "boolean"
      +      },
      +      "query": {
      +        "description": "Echo of the submitted search query.",
      +        "type": "string"
      +      },
      +      "results": {
      +        "description": "Matching destinations ordered by relevance.",
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "canonicalUrl": {
      +              "description": "Canonical country page URL on tippingrules.com.",
      +              "format": "uri",
      +              "type": "string"
      +            },
      +            "name": {
      +              "description": "Display name of the destination.",
      +              "type": "string"
      +            },
      +            "region": {
      +              "description": "Region label from the catalog, when available.",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "slug": {
      +              "description": "Country slug for follow-up tool calls.",
      +              "type": "string"
      +            },
      +            "status": {
      +              "description": "Tipping expectation label, when available.",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "slug",
      +            "name",
      +            "status",
      +            "region",
      +            "canonicalUrl"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "source": {
      +        "const": "Tipping Rules",
      +        "description": "Attribution for downstream citations.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "query",
      +      "count",
      +      "results",
      +      "methodologyUrl",
      +      "source"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "description": "Machine-readable error code (e.g. NOT_FOUND, VALIDATION, TIMEOUT).",
      +        "type": "string"
      +      },
      +      "message": {
      +        "description": "Short, agent-safe error message.",
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": false,
      +        "description": "False when the tool could not complete successfully.",
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "code",
      +      "message"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "count": {
      +          "description": "Number of destinations returned (max 8).",
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "methodologyUrl": {
      +          "description": "How Tipping Rules reviews and sources guidance.",
      +          "format": "uri",
      +          "type": "string"
      +        },
      +        "ok": {
      +          "const": true,
      +          "description": "True when search completed successfully.",
      +          "type": "boolean"
      +        },
      +        "query": {
      +          "description": "Echo of the submitted search query.",
      +          "type": "string"
      +        },
      +        "results": {
      +          "description": "Matching destinations ordered by relevance.",
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "canonicalUrl": {
      +                "description": "Canonical country page URL on tippingrules.com.",
      +                "format": "uri",
      +                "type": "string"
      +              },
      +              "name": {
      +                "description": "Display name of the destination.",
      +                "type": "string"
      +              },
      +              "region": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "Region label from the catalog, when available."
      +              },
      +              "slug": {
      +                "description": "Country slug for follow-up tool calls.",
      +                "type": "string"
      +              },
      +              "status": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "Tipping expectation label, when available."
      +              }
      +            },
      +            "required": [
      +              "slug",
      +              "name",
      +              "status",
      +              "region",
      +              "canonicalUrl"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "source": {
      +          "const": "Tipping Rules",
      +          "description": "Attribution for downstream citations.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "ok",
      +        "query",
      +        "count",
      +        "results",
      +        "methodologyUrl",
      +        "source"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "code": {
      +          "description": "Machine-readable error code (e.g. NOT_FOUND, VALIDATION, TIMEOUT).",
      +          "type": "string"
      +        },
      +        "message": {
      +          "description": "Short, agent-safe error message.",
      +          "type": "string"
      +        },
      +        "ok": {
      +          "const": false,
      +          "description": "False when the tool could not complete successfully.",
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "ok",
      +        "code",
      +        "message"
      +      ],
      +      "type": "object"
      +    }
      +  ],
      +  "description": "Search results or a structured error.",
      +  "type": "object"
      +}
  3. 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=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds that results carry status and canonical page URLs, but contributes nothing about matching behavior (fuzzy vs exact), result limits, or empty-result handling.

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?

Two tight sentences with the search scope front-loaded and the return shape second. No filler, though it is short enough that it could afford one more clarifying clause without bloat.

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

Completeness4/5

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

For a one-parameter read tool with an output schema present, the description covers purpose, scope, and result shape adequately. The only real gap is routing guidance relative to its siblings, which is otherwise the biggest omission.

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 coverage is 100% for the single 'query' parameter and already documents 'Country name, alias, or region fragment'. The description's 'by name or region' largely restates the schema, so no meaning is added beyond it; baseline 3 applies.

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 (Search) and resource (Tipping Rules destinations) and adds what the results contain (status, canonical page URLs). It is distinguishable from calculate_tip and get_tipping_rules, though the name/title mismatch ('countries' vs 'destinations') adds mild ambiguity that the description resolves.

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?

No explicit when-to-use guidance or relationship to the siblings calculate_tip and get_tipping_rules is given. Usage is only implied by 'Search ... by name or region' — an agent must infer that this is the lookup step before fetching rules.

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