Get Header Params Tool
get-header-paramsReturns a region value and the Mcp-Param-Region HTTP header it arrived in to verify that x-mcp-header mirrors arguments into headers.
Instructions
Returns its region argument and the Mcp-Param-Region HTTP header it arrived in. Demonstrates x-mcp-header (a 2026-07-28 Streamable HTTP client mirrors the argument into the header) and JSON Schema 2020-12 input and output schemas.
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": {
"region": "<region>"
},
"name": "get-header-params"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | Yes | A region name, e.g. eu-west. Mirrored into the Mcp-Param-Region HTTP header. | |
| repeat | No | How many times to repeat the region in the result (1-3) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | Yes | ||
| repeated | Yes | ||
| regionHeader | Yes | The Mcp-Param-Region header the request carried, if any |