Cache-Control header parser
cache_control_parseParse a Cache-Control header into structured directives (max-age, no-store, immutable...) and optionally estimate remaining freshness from Age or Date. Free: 10 calls/day; then $0.001/call via x402 (MCP params._meta["x402/payment"] or HTTP) or X-API-Key credits. [served by tools.moneytools.dev]
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": {
"header": "<header>"
},
"name": "cache_control_parse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | No | Age header seconds | |
| date | No | Date header (HTTP date or ISO) | |
| etag | No | optional ETag to echo | |
| header | Yes | Cache-Control header value |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||