hltb_search
Search HowLongToBeat's public game catalogue and return one page of results: total, page, page_total, page_size, and each game's id, name, alias, type, release year, platform, popularity, aggregate review score, the four play-style completion-time aggregates (main, main_plus_extras, completionist, all_styles) in seconds with sample counts, and the public aggregate counters. Mirrors the site's own POST /api/search/site request. The site protects that JSON endpoint with a short-lived token minted by /api/search/site/init; this tool mints the token with the qualified profile, uses it immediately and refreshes it once on a 403, never logging or persisting it. All filters are the site's own controls: platform, genre, perspective, flow and year multi-selects (each with an include/exclude mode), sort and length-range categories, a min/max hour range, modifiers and the Game Pass toggle. Every accepted value is served by hltb_filters. An empty q returns the site's catalogue browse (all games). No user, review, list or account data is returned; every time is a community estimate, not a guarantee.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hltb_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Optional free-text game search terms, e.g. zelda. Empty returns the site's catalogue browse. | |
| flow | No | Comma-separated flow values from hltb_filters flows | |
| page | No | 1-based result page; default 1. | |
| size | No | Results per page, 1-25; default 20. | |
| sort | No | Sort category value from hltb/filters sort_categories; default popular. | |
| year | No | Comma-separated release years from hltb_filters years | |
| genre | No | Comma-separated genre values from hltb_filters genres | |
| modifier | No | Modifier value from hltb/filters modifiers. | |
| platform | No | Comma-separated platform values from hltb_filters platforms | |
| game_pass | No | Apply the site's Game Pass toggle. | |
| max_hours | No | Optional maximum length in whole hours. | |
| min_hours | No | Optional minimum length in whole hours. | |
| perspective | No | Comma-separated perspective values from hltb_filters perspectives | |
| range_category | No | Length range category from hltb/filters range_categories; default main. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |