Skip to main content
Glama

UK Data for Agents

travel_advice_safety

Read-onlyIdempotent

Is there a terror threat, how bad is crime, and which local laws catch visitors out? Returns the FCDO 'Safety and security' section for one country as headed plain-text subsections: terrorism, protests, crime and scams, laws and cultural differences, outdoor activities and transport risks. Live from the GOV.UK Content API. Region-by-region detail for some countries sits in a separate 'Regional risks' section; this tool does not return its text, but gives its link in also_see when it exists. (cost: 1 credit)

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": "travel_advice_safety"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNostring, required, country name, alternative name (city, island) or GOV.UK slug, e.g. "france"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, openWorld and non-destructive, so the bar is lower, and the description still adds real value: live source is the GOV.UK Content API, output is headed plain-text subsections, a known content gap ('does not return Regional risks text') is disclosed with the workaround (link in also_see), and the cost is stated as 1 credit. That preempts the two most likely failure modes (missing regional detail, unexpected billing).

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 user-facing question the tool answers, then the return shape, then the important caveat about regional risks, then cost. Information-dense with no filler, though the 'Regional risks' caveat runs a sentence long and the leading rhetorical question delays the literal statement of what is returned.

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?

With no output schema, the description usefully describes the return format (headed plain-text subsections, plus an also_see field), and it notes live sourcing and cost. It is nearly complete for a one-parameter read tool; only the required-ness of the country argument and any pagination/truncation behavior for long pages go unstated.

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?

There is only one parameter and schema description coverage is 100%, with the schema already explaining that a country name, alternative name (city, island) or GOV.UK slug is acceptable and giving an example. The description adds no format or normalization guidance beyond the phrase 'for one country', so the baseline 3 applies.

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?

The description names a concrete verb+resource combo — returning the FCDO 'Safety and security' section for one country — and enumerates the subsections returned (terrorism, protests, crime and scams, laws, outdoor activities, transport). This makes it trivially distinguishable from siblings like travel_advice_health, travel_advice_entry_requirements and travel_advice_warnings_insurance without opening any schema.

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 implied by the content boundary: the agent can infer this is the pick for crime/terrorism/local-law questions. However, it never explicitly says when to choose this over travel_advice_country or travel_advice_warnings_insurance, nor does it state exclusions in tool terms — the only explicit boundary is against an internal section ('Regional risks'), not a sibling tool.

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