screens.guide is an MCP server published by io.github.modaal-agent, hosted at screens.guide. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 5 tools, including list_devices, get_device, compare_devices, check_layout, convert_units.
Measured screen sizes, safe areas, corner radii and system bars of iOS and Android devices.
3 connections through 5 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
Lists every device screens.guide measured: iPhones, iPads and Android phones, tablets and foldables. Each row gives the id the other tools take, the unit (pt or dp), each screen with its portrait window size, the runtime builds read, and the current one. Filter by platform or kind.
| Parameter | Type | Description |
|---|---|---|
| kind | string | one of ["phone","tablet","foldable"] |
| platform | string | one of ["ios","android"] |
{
"name": "list_devices",
"title": "List the measured devices",
"description": "Lists every device screens.guide measured: iPhones, iPads and Android phones, tablets and foldables. Each row gives the id the other tools take, the unit (pt or dp), each screen with its portrait window size, the runtime builds read, and the current one. Filter by platform or kind.",
"inputSchema": {
"type": "object",
"properties": {
"kind": {
"enum": [
"phone",
"tablet",
"foldable"
],
"type": "string"
},
"platform": {
"enum": [
"ios",
"android"
],
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$defs": {
"size": {
"type": "object",
"required": [
"width",
"height"
],
"properties": {
"width": {
"type": "number",
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"runtime": {
"type": "object",
"required": [
"os",
"version",
"build",
"prerelease"
],
"properties": {
"os": {
"enum": [
"iOS",
"Android"
]
},
"api": {
"type": "integer",
"description": "Android's API level."
},
"build": {
"type": "string",
"minLength": 1
},
"version": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)*$"
},
"prerelease": {
"type": "boolean",
"description": "A pre-release build; never a device's `current`."
}
},
"additionalProperties": false
}
},
"required": [
"dataset",
"devices"
],
"properties": {
"dataset": {
"type": "object",
"required": [
"version",
"updated"
],
"properties": {
"updated": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"devices": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"platform",
"kind",
"unit",
"screens",
"runtimes",
"current"
],
"properties": {
"id": {
"type": "string"
},
"kind": {
"enum": [
"phone",
"tablet",
"foldable"
],
"type": "string"
},
"name": {
"type": "string"
},
"unit": {
"enum": [
"pt",
"dp"
],
"type": "string"
},
"current": {
"type": "object",
"required": [
"version",
"build"
],
"properties": {
"build": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"screens": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"window"
],
"properties": {
"id": {
"enum": [
"main",
"closed",
"open",
"half-open",
"tent"
],
"type": "string",
"description": "A foldable's pose: closed, open, half-open or tent; every other device has main only."
},
"window": {
"$ref": "#/$defs/size"
}
}
}
},
"platform": {
"enum": [
"ios",
"android"
],
"type": "string"
},
"runtimes": {
"type": "array",
"items": {
"$ref": "#/$defs/runtime"
}
}
}
}
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Returns a device's measured readings: window, pixels, safe-area insets, corner radii, size classes, status, navigation and tab bars, content margin, reserved regions and fold, one reading per screen and rotation. Gives the current runtime's readings unless a runtime is named; narrow them by screen, orientation or rotation. A null value has its reason in the reading's `missing`.
| Parameter | Type | Description |
|---|---|---|
| id * | string | A device id from list_devices, such as iphone-17 or pixel-8. |
| screen | string | A foldable's pose: closed, open, half-open or tent; every other device has main only. |
| runtime | string | A runtime build such as 24A434, or a version such as 27.2; the device's current build when omitted. |
| rotation | integer | The device's rotation; 90 puts its top edge on the window's left. |
| orientation | string | one of ["portrait","landscape"] |
{
"name": "get_device",
"title": "Get a device's readings",
"description": "Returns a device's measured readings: window, pixels, safe-area insets, corner radii, size classes, status, navigation and tab bars, content margin, reserved regions and fold, one reading per screen and rotation. Gives the current runtime's readings unless a runtime is named; narrow them by screen, orientation or rotation. A null value has its reason in the reading's `missing`.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "A device id from list_devices, such as iphone-17 or pixel-8."
},
"screen": {
"enum": [
"main",
"closed",
"open",
"half-open",
"tent"
],
"type": "string",
"description": "A foldable's pose: closed, open, half-open or tent; every other device has main only."
},
"runtime": {
"type": "string",
"minLength": 1,
"description": "A runtime build such as 24A434, or a version such as 27.2; the device's current build when omitted."
},
"rotation": {
"enum": [
0,
90,
180,
270
],
"type": "integer",
"description": "The device's rotation; 90 puts its top edge on the window's left."
},
"orientation": {
"enum": [
"portrait",
"landscape"
],
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$defs": {
"bar": {
"type": [
"object",
"null"
],
"required": [
"top",
"height"
],
"properties": {
"top": {
"type": "number"
},
"height": {
"$ref": "#/$defs/length"
}
},
"description": "A bar's top edge and height in window coordinates.",
"additionalProperties": false
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"rect": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"$ref": "#/$defs/length"
},
"height": {
"$ref": "#/$defs/length"
}
},
"description": "A frame in the reading's window coordinates: origin at the window's top left, in the device's unit.",
"additionalProperties": false
},
"size": {
"type": "object",
"required": [
"width",
"height"
],
"properties": {
"width": {
"type": "number",
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"insets": {
"type": "object",
"required": [
"top",
"bottom",
"left",
"right"
],
"properties": {
"top": {
"$ref": "#/$defs/length"
},
"left": {
"$ref": "#/$defs/length"
},
"right": {
"$ref": "#/$defs/length"
},
"bottom": {
"$ref": "#/$defs/length"
}
},
"additionalProperties": false
},
"length": {
"type": "number",
"minimum": 0
},
"pixels": {
"type": "object",
"required": [
"width",
"height"
],
"properties": {
"width": {
"type": "integer",
"minimum": 1
},
"height": {
"type": "integer",
"minimum": 1
}
},
"additionalProperties": false
},
"corners": {
"type": "object",
"required": [
"topLeft",
"topRight",
"bottomRight",
"bottomLeft",
"source"
],
"properties": {
"source": {
"type": "string",
"minLength": 1
},
"topLeft": {
"$ref": "#/$defs/length"
},
"topRight": {
"$ref": "#/$defs/length"
},
"bottomLeft": {
"$ref": "#/$defs/length"
},
"bottomRight": {
"$ref": "#/$defs/length"
}
},
"description": "Corner radii for the reading's orientation, with where they come from.",
"additionalProperties": false
},
"display": {
"type": "object",
"required": [
"width",
"height",
"pixels",
"cutout"
],
"properties": {
"scale": {
"type": "number",
"description": "iOS: pixels per point.",
"exclusiveMinimum": 0
},
"width": {
"type": "number",
"description": "In the device's unit, in the display's natural orientation.",
"exclusiveMinimum": 0
},
"cutout": {
"enum": [
"none",
"notch",
"island",
"strip",
"hole",
null
],
"description": "The cutout's kind, where a run recorded it: none, notch, island (Dynamic Island), strip (the iPhone Duo's camera strip), hole (a hole punch)."
},
"height": {
"type": "number",
"exclusiveMinimum": 0
},
"pixels": {
"$ref": "#/$defs/pixels"
},
"density": {
"type": "integer",
"minimum": 1,
"description": "Android: dots per inch; dp = px × 160 ÷ density."
}
},
"additionalProperties": false
},
"reading": {
"type": "object",
"required": [
"runtime",
"measured",
"screen",
"orientation",
"rotation",
"window",
"pixels",
"safeAreaInsets",
"cornerRadii",
"sizeClass",
"statusBar",
"navigationBar",
"tabBar",
"contentMargin",
"regions",
"fold",
"missing"
],
"properties": {
"fold": {
"type": [
"object",
"null"
],
"required": [
"axis",
"frame",
"margin",
"separates"
],
"properties": {
"axis": {
"enum": [
"vertical",
"horizontal"
]
},
"frame": {
"$ref": "#/$defs/rect"
},
"margin": {
"type": [
"number",
"null"
],
"minimum": 0
},
"separates": {
"type": "boolean"
}
},
"description": "The hinge across the screen: its axis, its frame (a band on iOS, a line on Android), the margins either side (iOS) and whether it separates the window.",
"additionalProperties": false
},
"pixels": {
"$ref": "#/$defs/pixels"
},
"screen": {
"enum": [
"main",
"closed",
"open",
"half-open",
"tent"
],
"description": "`main`, or a foldable's pose: closed, open, half-open, tent."
},
"tabBar": {
"type": [
"object",
"null"
],
"required": [
"style",
"frame",
"bottom",
"height",
"sideGap"
],
"properties": {
"frame": {
"$ref": "#/$defs/rect",
"description": "With three tabs."
},
"style": {
"enum": [
"capsule",
"bar",
"column"
],
"description": "capsule (iOS 26 and later), bar (iOS 18, Android's NavigationBar), column (the iPhone Duo, in a side inset)."
},
"bottom": {
"type": "number",
"description": "The gap from the frame's bottom to the window's bottom edge."
},
"height": {
"$ref": "#/$defs/length"
},
"sideGap": {
"type": [
"number",
"null"
],
"description": "The smallest gap to a side edge with five tabs with long titles (iOS); the frame's gap on Android."
}
},
"additionalProperties": false
},
"window": {
"$ref": "#/$defs/size"
},
"missing": {
"type": "object",
"description": "The reason per field path that is null: not read on this device, runtime, pose or orientation, or why the platform has no such value.",
"propertyNames": {
"pattern": "^[a-zA-Z][a-zA-Z0-9]*(\\.[a-zA-Z][a-zA-Z0-9]*)?$"
},
"additionalProperties": {
"type": "string",
"minLength": 1
}
},
"regions": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"required": [
"kind",
"frame",
"active"
],
"properties": {
"kind": {
"enum": [
"occlusion",
"cutout"
]
},
"frame": {
"$ref": "#/$defs/rect"
},
"active": {
"type": "boolean"
}
},
"additionalProperties": false
},
"description": "Occlusion regions UIKit reports, and Android's display cutout."
},
"runtime": {
"$ref": "#/$defs/runtime"
},
"measured": {
"type": "object",
"required": [
"on",
"date",
"runs"
],
"properties": {
"on": {
"enum": [
"simulator",
"emulator"
]
},
"date": {
"$ref": "#/$defs/date",
"description": "The newest date of the runs the reading's values come from."
},
"runs": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
}
},
"additionalProperties": false
},
"rotation": {
"enum": [
0,
90,
180,
270
],
"description": "Degrees from the display's natural orientation (iOS: UIKit's portrait). At 90 the device's top edge is on the window's left: UIKit's landscapeRight, Android's ROTATION_90."
},
"sizeClass": {
"$ref": "#/$defs/sizeClass"
},
"statusBar": {
"type": [
"object",
"null"
],
"required": [
"placement",
"frame"
],
"properties": {
"frame": {
"oneOf": [
{
"$ref": "#/$defs/rect"
},
{
"type": "null"
}
]
},
"placement": {
"enum": [
"top",
"hidden",
"left",
"right",
"navigation-bar"
],
"description": "top; hidden; left or right (a column in a side inset); navigation-bar (the time in the navigation bar's row)."
}
},
"additionalProperties": false
},
"cornerRadii": {
"type": "object",
"required": [
"profile",
"measured"
],
"properties": {
"profile": {
"oneOf": [
{
"$ref": "#/$defs/corners"
},
{
"type": "null"
}
],
"description": "The display's corners from the simulator's device profile (iOS) or the emulator's display configuration (Android)."
},
"measured": {
"oneOf": [
{
"$ref": "#/$defs/corners"
},
{
"type": "null"
}
],
"description": "SwiftUI's concentricCornerRadii for a view that fills the window; on iOS 18.6, the corners of the view behind a full-screen sheet."
}
},
"additionalProperties": false
},
"orientation": {
"enum": [
"portrait",
"landscape"
],
"description": "The window's shape."
},
"sizeClassV2": {
"$ref": "#/$defs/sizeClass"
},
"cutoutInsets": {
"oneOf": [
{
"$ref": "#/$defs/insets"
},
{
"type": "null"
}
],
"description": "Android: WindowInsets.displayCutout."
},
"contentMargin": {
"type": [
"number",
"null"
],
"minimum": 0,
"description": "SwiftUI's contentMargins(for: .container) on the sides of a view that spans the window."
},
"navigationBar": {
"type": "object",
"required": [
"inline",
"large"
],
"properties": {
"large": {
"$ref": "#/$defs/bar"
},
"inline": {
"$ref": "#/$defs/bar"
}
},
"description": "iOS: UINavigationBar with an inline title and with a large title. Android: Material 3's TopAppBar inside the safe area as `inline`.",
"additionalProperties": false
},
"safeAreaInsets": {
"oneOf": [
{
"$ref": "#/$defs/insets"
},
{
"type": "null"
}
],
"description": "iOS: the window's safeAreaInsets. Android: WindowInsets.safeDrawing, the larger of the system bars and the display cutout per side."
},
"systemBarInsets": {
"oneOf": [
{
"$ref": "#/$defs/insets"
},
{
"type": "null"
}
],
"description": "Android: WindowInsets.systemBars."
}
},
"additionalProperties": false
},
"runtime": {
"type": "object",
"required": [
"os",
"version",
"build",
"prerelease"
],
"properties": {
"os": {
"enum": [
"iOS",
"Android"
]
},
"api": {
"type": "integer",
"description": "Android's API level."
},
"build": {
"type": "string",
"minLength": 1
},
"version": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)*$"
},
"prerelease": {
"type": "boolean",
"description": "A pre-release build; never a device's `current`."
}
},
"additionalProperties": false
},
"sizeClass": {
"type": [
"object",
"null"
],
"required": [
"width",
"height"
],
"properties": {
"width": {
"enum": [
"compact",
"regular",
"medium",
"expanded",
"large",
"extra-large"
]
},
"height": {
"enum": [
"compact",
"regular",
"medium",
"expanded"
]
}
},
"description": "UIKit's size classes on iOS; on Android the window size classes, V1 in `sizeClass` and V2 in `sizeClassV2`.",
"additionalProperties": false
}
},
"required": [
"dataset",
"device",
"runtime",
"readings"
],
"properties": {
"device": {
"type": "object",
"required": [
"id",
"name",
"platform",
"kind",
"unit",
"displays",
"current"
],
"properties": {
"id": {
"type": "string"
},
"kind": {
"enum": [
"phone",
"tablet",
"foldable"
],
"type": "string"
},
"name": {
"type": "string"
},
"unit": {
"type": "string"
},
"current": {
"type": "object"
},
"screens": {
"type": "array"
},
"displays": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/display"
}
},
"platform": {
"enum": [
"ios",
"android"
],
"type": "string"
}
}
},
"dataset": {
"type": "object",
"required": [
"version",
"updated"
],
"properties": {
"updated": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"runtime": {
"$ref": "#/$defs/runtime"
},
"readings": {
"type": "array",
"items": {
"$ref": "#/$defs/reading"
}
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Compares 2 to 8 devices side by side, one row per device and screen: window size, pixels, pixels per unit, safe-area insets, the safe area's rectangle and corner radii. Uses each device's current runtime and natural orientation unless an orientation or runtime is named.
| Parameter | Type | Description |
|---|---|---|
| ids * | array | |
| runtime | string | A runtime build such as 24A434, or a version such as 27.2; the device's current build when omitted. |
| orientation | string | one of ["portrait","landscape"] |
{
"name": "compare_devices",
"title": "Compare devices",
"description": "Compares 2 to 8 devices side by side, one row per device and screen: window size, pixels, pixels per unit, safe-area insets, the safe area's rectangle and corner radii. Uses each device's current runtime and natural orientation unless an orientation or runtime is named.",
"inputSchema": {
"type": "object",
"required": [
"ids"
],
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"description": "A device id from list_devices, such as iphone-17 or pixel-8."
},
"maxItems": 8,
"minItems": 2
},
"runtime": {
"type": "string",
"minLength": 1,
"description": "A runtime build such as 24A434, or a version such as 27.2; the device's current build when omitted."
},
"orientation": {
"enum": [
"portrait",
"landscape"
],
"type": "string"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$defs": {
"rect": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"$ref": "#/$defs/length"
},
"height": {
"$ref": "#/$defs/length"
}
},
"description": "A frame in the reading's window coordinates: origin at the window's top left, in the device's unit.",
"additionalProperties": false
},
"size": {
"type": "object",
"required": [
"width",
"height"
],
"properties": {
"width": {
"type": "number",
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"insets": {
"type": "object",
"required": [
"top",
"bottom",
"left",
"right"
],
"properties": {
"top": {
"$ref": "#/$defs/length"
},
"left": {
"$ref": "#/$defs/length"
},
"right": {
"$ref": "#/$defs/length"
},
"bottom": {
"$ref": "#/$defs/length"
}
},
"additionalProperties": false
},
"length": {
"type": "number",
"minimum": 0
},
"pixels": {
"type": "object",
"required": [
"width",
"height"
],
"properties": {
"width": {
"type": "integer",
"minimum": 1
},
"height": {
"type": "integer",
"minimum": 1
}
},
"additionalProperties": false
},
"corners": {
"type": "object",
"required": [
"topLeft",
"topRight",
"bottomRight",
"bottomLeft",
"source"
],
"properties": {
"source": {
"type": "string",
"minLength": 1
},
"topLeft": {
"$ref": "#/$defs/length"
},
"topRight": {
"$ref": "#/$defs/length"
},
"bottomLeft": {
"$ref": "#/$defs/length"
},
"bottomRight": {
"$ref": "#/$defs/length"
}
},
"description": "Corner radii for the reading's orientation, with where they come from.",
"additionalProperties": false
},
"runtime": {
"type": "object",
"required": [
"os",
"version",
"build",
"prerelease"
],
"properties": {
"os": {
"enum": [
"iOS",
"Android"
]
},
"api": {
"type": "integer",
"description": "Android's API level."
},
"build": {
"type": "string",
"minLength": 1
},
"version": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)*$"
},
"prerelease": {
"type": "boolean",
"description": "A pre-release build; never a device's `current`."
}
},
"additionalProperties": false
}
},
"required": [
"dataset",
"rows",
"missing"
],
"properties": {
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"unit",
"screen",
"orientation",
"rotation",
"runtime",
"window",
"pixels",
"pixelsPerUnit",
"safeAreaInsets",
"safeArea",
"cornerRadii"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"unit": {
"type": "string"
},
"pixels": {
"$ref": "#/$defs/pixels"
},
"screen": {
"enum": [
"main",
"closed",
"open",
"half-open",
"tent"
],
"type": "string",
"description": "A foldable's pose: closed, open, half-open or tent; every other device has main only."
},
"window": {
"$ref": "#/$defs/size"
},
"runtime": {
"$ref": "#/$defs/runtime"
},
"rotation": {
"type": "integer"
},
"safeArea": {
"anyOf": [
{
"$ref": "#/$defs/rect"
},
{
"type": "null"
}
]
},
"cornerRadii": {
"type": "object",
"properties": {
"profile": {
"anyOf": [
{
"$ref": "#/$defs/corners"
},
{
"type": "null"
}
]
},
"measured": {
"anyOf": [
{
"$ref": "#/$defs/corners"
},
{
"type": "null"
}
]
}
}
},
"orientation": {
"enum": [
"portrait",
"landscape"
],
"type": "string"
},
"pixelsPerUnit": {
"type": "number"
},
"safeAreaInsets": {
"anyOf": [
{
"$ref": "#/$defs/insets"
},
{
"type": "null"
}
]
}
}
}
},
"dataset": {
"type": "object",
"required": [
"version",
"updated"
],
"properties": {
"updated": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"missing": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"reason"
],
"properties": {
"id": {
"type": "string"
},
"reason": {
"type": "string"
}
}
},
"description": "Devices or screens with no reading for the runtime or orientation asked, and why."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Checks up to 200 frames of a screen's layout against a device's measured window: whether each frame reaches outside the window, into a safe-area inset, past the display's rounded corner, under the status, navigation or tab bar, across a foldable's fold, or into a reserved region such as a camera. Each finding gives its numbers; a frame near a rounded corner gets the concentric radius. Frames are in the device's unit, in window coordinates from the top left.
| Parameter | Type | Description |
|---|---|---|
| device * | string | A device id from list_devices, such as iphone-17 or pixel-8. |
| frames * | array | |
| screen | string | A foldable's pose: closed, open, half-open or tent; every other device has main only. |
| runtime | string | A runtime build such as 24A434, or a version such as 27.2; the device's current build when omitted. |
| rotation | integer | The device's rotation; 90 puts its top edge on the window's left. |
| orientation | string | The window shape; the reading at rotation 0 when neither this nor rotation is given. |
{
"name": "check_layout",
"title": "Check a layout against a device",
"description": "Checks up to 200 frames of a screen's layout against a device's measured window: whether each frame reaches outside the window, into a safe-area inset, past the display's rounded corner, under the status, navigation or tab bar, across a foldable's fold, or into a reserved region such as a camera. Each finding gives its numbers; a frame near a rounded corner gets the concentric radius. Frames are in the device's unit, in window coordinates from the top left.",
"inputSchema": {
"type": "object",
"required": [
"device",
"frames"
],
"properties": {
"device": {
"type": "string",
"minLength": 1,
"description": "A device id from list_devices, such as iphone-17 or pixel-8."
},
"frames": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"name": {
"type": "string",
"maxLength": 200
},
"width": {
"type": "number",
"minimum": 0
},
"height": {
"type": "number",
"minimum": 0
},
"cornerRadius": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 200,
"minItems": 1
},
"screen": {
"enum": [
"main",
"closed",
"open",
"half-open",
"tent"
],
"type": "string",
"description": "A foldable's pose: closed, open, half-open or tent; every other device has main only."
},
"runtime": {
"type": "string",
"minLength": 1,
"description": "A runtime build such as 24A434, or a version such as 27.2; the device's current build when omitted."
},
"rotation": {
"enum": [
0,
90,
180,
270
],
"type": "integer",
"description": "The device's rotation; 90 puts its top edge on the window's left."
},
"orientation": {
"enum": [
"portrait",
"landscape"
],
"type": "string",
"description": "The window shape; the reading at rotation 0 when neither this nor rotation is given."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$defs": {
"size": {
"type": "object",
"required": [
"width",
"height"
],
"properties": {
"width": {
"type": "number",
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"insets": {
"type": "object",
"required": [
"top",
"bottom",
"left",
"right"
],
"properties": {
"top": {
"$ref": "#/$defs/length"
},
"left": {
"$ref": "#/$defs/length"
},
"right": {
"$ref": "#/$defs/length"
},
"bottom": {
"$ref": "#/$defs/length"
}
},
"additionalProperties": false
},
"length": {
"type": "number",
"minimum": 0
},
"corners": {
"type": "object",
"required": [
"topLeft",
"topRight",
"bottomRight",
"bottomLeft",
"source"
],
"properties": {
"source": {
"type": "string",
"minLength": 1
},
"topLeft": {
"$ref": "#/$defs/length"
},
"topRight": {
"$ref": "#/$defs/length"
},
"bottomLeft": {
"$ref": "#/$defs/length"
},
"bottomRight": {
"$ref": "#/$defs/length"
}
},
"description": "Corner radii for the reading's orientation, with where they come from.",
"additionalProperties": false
},
"runtime": {
"type": "object",
"required": [
"os",
"version",
"build",
"prerelease"
],
"properties": {
"os": {
"enum": [
"iOS",
"Android"
]
},
"api": {
"type": "integer",
"description": "Android's API level."
},
"build": {
"type": "string",
"minLength": 1
},
"version": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)*$"
},
"prerelease": {
"type": "boolean",
"description": "A pre-release build; never a device's `current`."
}
},
"additionalProperties": false
}
},
"required": [
"dataset",
"device",
"screen",
"orientation",
"rotation",
"runtime",
"window",
"safeAreaInsets",
"frames"
],
"properties": {
"device": {
"type": "string"
},
"frames": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"findings"
],
"properties": {
"name": {
"type": "string"
},
"findings": {
"type": "array",
"items": {
"type": "object",
"required": [
"type"
],
"properties": {
"bar": {
"enum": [
"status",
"navigation",
"tab"
],
"type": "string"
},
"gap": {
"type": "number",
"description": "The frame corner's distance inside the display's curve."
},
"axis": {
"enum": [
"vertical",
"horizontal"
],
"type": "string"
},
"edge": {
"enum": [
"top",
"bottom",
"left",
"right"
],
"type": "string"
},
"kind": {
"type": "string"
},
"type": {
"enum": [
"outside-window",
"in-inset",
"cut-by-corner",
"near-corner",
"under-system-bar",
"crosses-fold",
"in-occlusion-region"
],
"type": "string"
},
"depth": {
"type": "number",
"description": "How far the frame reaches into the inset, past the curve, or under the bar."
},
"active": {
"type": "boolean"
},
"corner": {
"enum": [
"topLeft",
"topRight",
"bottomRight",
"bottomLeft"
],
"type": "string"
},
"overlap": {
"type": "object",
"properties": {
"width": {
"type": "number"
},
"height": {
"type": "number"
}
}
},
"overhang": {
"type": "object",
"properties": {
"top": {
"type": "number"
},
"left": {
"type": "number"
},
"right": {
"type": "number"
},
"bottom": {
"type": "number"
}
}
},
"separates": {
"type": "boolean"
},
"concentricRadius": {
"type": "number",
"description": "The corner radius that keeps an even gap to the display's corner: its radius minus the frame's larger distance from the two edges."
}
}
}
}
}
}
},
"screen": {
"enum": [
"main",
"closed",
"open",
"half-open",
"tent"
],
"type": "string",
"description": "A foldable's pose: closed, open, half-open or tent; every other device has main only."
},
"window": {
"$ref": "#/$defs/size"
},
"dataset": {
"type": "object",
"required": [
"version",
"updated"
],
"properties": {
"updated": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"runtime": {
"$ref": "#/$defs/runtime"
},
"rotation": {
"type": "integer"
},
"cornerRadii": {
"anyOf": [
{
"$ref": "#/$defs/corners"
},
{
"type": "null"
}
]
},
"orientation": {
"enum": [
"portrait",
"landscape"
],
"type": "string"
},
"safeAreaInsets": {
"anyOf": [
{
"$ref": "#/$defs/insets"
},
{
"type": "null"
}
]
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Converts lengths on one device between its layout unit (pt on iOS, dp on Android) and physical pixels (px), at the device's measured scale or density. For dp to px on Android it also gives the whole pixel Compose's Dp.roundToPx() returns.
| Parameter | Type | Description |
|---|---|---|
| to * | string | one of ["pt","dp","px"] |
| from * | string | one of ["pt","dp","px"] |
| device * | string | A device id from list_devices, such as iphone-17 or pixel-8. |
| values * | array |
{
"name": "convert_units",
"title": "Convert between pt, dp and px",
"description": "Converts lengths on one device between its layout unit (pt on iOS, dp on Android) and physical pixels (px), at the device's measured scale or density. For dp to px on Android it also gives the whole pixel Compose's Dp.roundToPx() returns.",
"inputSchema": {
"type": "object",
"required": [
"device",
"values",
"from",
"to"
],
"properties": {
"to": {
"enum": [
"pt",
"dp",
"px"
],
"type": "string"
},
"from": {
"enum": [
"pt",
"dp",
"px"
],
"type": "string"
},
"device": {
"type": "string",
"minLength": 1,
"description": "A device id from list_devices, such as iphone-17 or pixel-8."
},
"values": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 1000,
"minItems": 1
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"dataset",
"device",
"unit",
"pixelsPerUnit",
"values"
],
"properties": {
"unit": {
"type": "string"
},
"device": {
"type": "string"
},
"values": {
"type": "array",
"items": {
"type": "object",
"required": [
"value",
"result"
],
"properties": {
"value": {
"type": "number"
},
"result": {
"type": "number"
},
"roundToPx": {
"type": "integer"
}
}
}
},
"dataset": {
"type": "object",
"required": [
"version",
"updated"
],
"properties": {
"updated": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"pixelsPerUnit": {
"type": "number"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}screens.guide: measured screen sizes, safe-area insets, corner radii, system bars, margins and folds of iPhones, iPads and Android devices, read on Xcode simulators and Android emulators. Lengths are in the device's unit: points (pt) on iOS, density-independent pixels (dp) on Android; px are physical pixels. Positions are window coordinates from the window's top left. A value no run measured is null, with its reason in the reading's `missing`; never fill it from another device. Tools: list_devices gives the device ids; get_device a device's readings; compare_devices several devices side by side; check_layout checks frames against a device's safe area, corners, bars and fold; convert_units converts between pt or dp and px. Dataset 1.0.0 of 2026-11-17, licensed CC BY 4.0: credit "screens.guide, measured by Modaal".
Names, descriptions and schemas were written by the server and are shown as data.