set_location
Save your country and optional city to a local-only file for location-first routing; it applies when no USER_COUNTRY environment variable is set.
Instructions
Save the user's country (and optional city) for location-first routing. Saved to a LOCAL file only (~/.config/all-mcp/ location.json) — it never leaves this machine. country: "DE" (Germany), "TR" (Türkiye) or "IR" (Iran). Takes effect when no USER_COUNTRY env var is set in the MCP config (the env var wins if both exist). Explicit place names in a question always beat the saved location.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"country": "<country>"
},
"name": "set_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | ||
| country | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |