Skip to main content
Glama

Find countries by legal approach

find_countries
Read-onlyIdempotent

Lists the countries that match a legal model and/or a status on one question, optionally within a region. For questions like "Where is prostitution legal?" (model), "Where is buying sex a crime?" (topic buying, status illegal) or "Where are brothels legal in Europe?" (topic brothels, status legal and regulated, region europe).

Input Schema

NameRequiredDescriptionDefault
modelNoLegal models to match (any of): decriminalisation (Decriminalisation), regulation (Regulation (legal & licensed)), abolitionism (Legal, organisation banned), neo-abolitionism (Buying criminalised (Nordic model)), prohibition (Selling and buying prohibited).
topicNoThe question `status` refers to: selling (selling sexual services), buying (buying sexual services), brothels (brothels and managed venues), sharedPremises (sex workers sharing premises), procuring (third parties profiting (procuring / pimping)), advertising (advertising sexual services), platforms (online platforms and ad sites), street (street-based sex work and soliciting), registration (registration, licensing and health checks), tax (tax and social security), migrants (migrant sex workers).
regionNoLimit to one region: europe (Europe), north-america (North America), latin-america (Latin America & Caribbean), middle-east (Middle East & North Africa), africa (Sub-Saharan Africa), asia (Asia), oceania (Oceania).
statusNoStatuses to match on `topic` (any of): legal (Legal), regulated (Legal under licence / registration), restricted (Legal with restrictions), illegal (Illegal), varies (Varies by region). Requires `topic`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already establish that this is a read-only, idempotent, non-destructive, non-open-world operation. The description adds useful matching semantics with 'and/or' and parameter examples, but it does not describe ordering, pagination, or behavior when no filters are supplied.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is two tightly written sentences with the core purpose front-loaded and examples that directly clarify usage. Every sentence earns its place.

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 four-parameter filtered-list tool with rich annotations and full schema coverage, the description is largely complete. It could say more about the result shape or what happens when no filters are provided, but it gives enough context to call the tool correctly.

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 each parameter thoroughly. The description still adds value by showing concrete combinations, such as topic buying with status illegal and region europe, which helps an agent map natural-language questions to parameter usage.

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?

The description uses a specific verb and resource: it lists countries matching a legal model and/or status on a topic, optionally within a region. The purpose is clear, but it does not explicitly differentiate itself from sibling tools such as list_countries or compare_countries.

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

Usage Guidelines4/5

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

The example questions clearly indicate when to use the tool, covering model-only, topic/status, and region-filtered cases. However, it does not explicitly state when not to use it or name alternatives like list_countries or get_country_law.

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