Check the page on phone sizes
check_phone_fitChecks a page at phone screen sizes to find mobile layout problems such as sideways scrolling, cut-off text, tiny tap targets, and blocking sticky bars.
Instructions
Loads one page at phone sizes from 320×568 to 430×932 (or the sizes given) in the Chrome or Edge on this computer, as a touch phone, and reports: anything wider than the screen (the page scrolls sideways) and which element; text cut off or drawn over other text; tap targets under 24×24 px without room around them (WCAG 2.5.8) and how many are under 44×44 px; text under 12 px; whether the main heading and a first button are on the first screen; fixed or sticky bars covering much of the screen.
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": {
"url": "<url>"
},
"name": "check_phone_fit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page to check, for example https://example.com | |
| kind | No | Show only this kind of problem, with every example. Use a `kind` name from an earlier answer; for 15 minutes the same arguments re-read that check instead of checking again. | |
| sizes | No | Phone sizes as WIDTHxHEIGHT in CSS pixels. Default: 320x568, 360x640, 375x667, 390x844, 412x915, 430x932. | |
| delay_ms | No | Pause between two requests to the site, in milliseconds (one request at a time). | |
| ignore_robots_txt | No | Read pages even where the site's robots.txt disallows crawling. Pass true only when the user has said the site is theirs or that they may test it (staging sites usually disallow everything). The report then says at the top that robots.txt was ignored. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| facts | Yes | ||
| notes | Yes | ||
| passed | Yes | ||
| target | Yes | ||
| reading | Yes | How to read this answer: the same lines end the text form | |
| findings | Yes | ||
| headline | Yes | ||
| checked_at | Yes | ||
| robots_txt | Yes | "ignored" only when the caller passed ignore_robots_txt | |
| from_earlier_check | Yes | True when this answer re-reads an earlier check (because `kind` was given) |