Skip to main content
Glama

Compare city safety

compare_city_safety
Read-only

Search MyLatinLife's city Safety Index by country or city. City scores start with the country index plus documented city adjustments; they are comparative editorial estimates, not real-time crime data or a neighborhood-level guarantee.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "compare_city_safety"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum rows. Defaults to 25.
queryNoCity-name words to match.
countryNoCountry name or slug, e.g. "Panama" or "costa-rica".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so safety is covered. The description still adds genuine value by disclosing the data's provenance and limits: scores are the country index plus documented city adjustments, are comparative editorial estimates, and are explicitly not real-time crime data or a neighborhood-level guarantee. That caveat materially changes how an agent should present results, though it says nothing about result volume or ordering.

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 sentences, front-loaded with the action and resource, no filler or marketing language. The second sentence is long and carries several clauses (derivation plus two disclaimers), but each clause does real work, so trimming would cost useful context.

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 three-parameter read-only search with full schema coverage and no output schema, the definition covers what the tool does and, unusually, what the returned scores mean and do not mean. The remaining gap is operational: no sense of ordering, ranking, or how limit and country combine, which an agent may need to interpret results.

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%, with limit, query, and country each described in the schema including an example slug, so the baseline is 3. The description restates the country-or-city targeting but adds no new semantics such as match behavior for query or how limit interacts with country filtering.

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 gives a specific verb and resource ('Search MyLatinLife's city Safety Index') and scopes it to country or city lookups, which clearly separates it from broad country-level work. It stops short of naming the closest sibling (compare_countries), so an agent must still infer how the city-level view differs in output from the country-level one.

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

Usage Guidelines3/5

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

Usage is only implied through the 'by country or city' phrasing; the agent can infer it accepts either a city text query or a country filter, but there is no explicit when-to-use, when-not-to-use, or named alternative. Nothing tells the agent whether to reach for this or compare_countries when both could answer a question.

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.