location
Pack: clash-royale · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/location for the schema, then POST the same URL with its arguments for the data.
Clash Royale official API — details for a single location by numeric ID: name, country code, and whether it is a country or a global region.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | number | yes |
Example call
Arguments
{
"id": 57000
}
curl
curl -X POST https://gateway.pipeworx.io/clash-royale/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"location","arguments":{"id":57000}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('location', {
"id": 57000
});
Response shape
| Field | Type | Description |
|---|---|---|
id | number | Location ID |
name | string | Location name |
isCountry | boolean | Is a country |
Full JSON Schema
{
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Location ID"
},
"name": {
"type": "string",
"description": "Location name"
},
"isCountry": {
"type": "boolean",
"description": "Is a country"
}
}
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the clash-royale pack
{
"mcpServers": {
"clash-royale": {
"url": "https://gateway.pipeworx.io/clash-royale/mcp"
}
}
}
See Getting Started for client-specific install steps.