country_by_code

Get a country by code from REST Countries.

Server UnClick @unclick/mcp-server
Category Read
Risk class Low
Parameters 11 required

What country_by_code does on UnClick

AI agents call country_by_code to retrieve information from UnClick without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
code string Yes

Parameters from the server's own tool schema.

Why country_by_code needs a policy

This tool retrieves country information based on a code parameter from an external REST API (REST Countries). It performs a lookup/fetch operation that queries and returns data without modifying, deleting, or executing anything.

From the tool's definition Tool name 'country_by_code' and description 'Get a country by code from REST Countries' indicate a data retrieval operation with no side effects.

Risk signalsAccepts freeform code/query input (code)

Questions about country_by_code

What does the country_by_code tool do? +

Get a country by code from REST Countries. It is categorised as a Read tool in the UnClick MCP Server, which means it retrieves data without modifying state.

What parameters does country_by_code accept? +

country_by_code accepts 1 parameter: code. Required: code. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on country_by_code? +

Register the UnClick MCP server in PolicyLayer and add a rule for country_by_code: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches UnClick. Nothing to install.

What risk level is country_by_code? +

country_by_code is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit country_by_code? +

Yes. Add a rate_limit block to the country_by_code rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block country_by_code completely? +

Set action: deny in the PolicyLayer policy for country_by_code. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides country_by_code? +

country_by_code is provided by the UnClick MCP server (@unclick/mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.