Skip to main content
Glama

Check a website on a phone

check_website_on_phone
Read-onlyIdempotent

Opens a website's pages in a real browser at a phone's size (390 by 844, as an iPhone) and says, page by page, what a phone visitor would hit: sideways scrolling and what is too wide, pictures that do not load, text under 12px, links and buttons under 24px to tap, a missing or zoom-blocking viewport line, bars that cover the screen, and a main heading pushed below the first screen. Each page gets fine and findings in plain words. It changes nothing. Checks every page up to 5 (or the pages named), a few seconds each, up to 40 pages a day per website. With picture true it also returns a screenshot of the first page checked, for an app that can look at images. Fix what it finds with edit_website_file or save_website_files, then check those pages again. Fails with check_limit when the day's checks are used.

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": {
      "websiteId": "<websiteId>"
    },
    "name": "check_website_on_phone"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagesNoOptional: up to 5 saved pages to check, such as ["index.html", "menu.html"]. Leave it out to check every page, home page first, up to 5.
editKeyNoThe editKey start_website returned, which proves the website is the caller's. Leave it out for a website in the connected account.
pictureNotrue to also get a screenshot of the first page checked, as a phone shows it. Leave it out if your app cannot look at images.
websiteIdYesThe websiteId start_website returned, or one list_sites shows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, open-world and non-destructive, but the description adds genuinely new behavioral facts: nothing is changed, each page takes a few seconds, the cap is 40 pages a day per website, and exhaustion surfaces as check_limit. It also discloses that the screenshot only covers the first page checked and only helps image-capable apps. It does not describe what happens on partial failures within a multi-page check, which keeps it off a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with what it does and what it reports, then constraints, then the follow-up workflow. Nearly every clause carries information, though the long enumeration of findings and the mid-sentence asides make it dense enough that a reader has to work through it once.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the return-value burden and does: each page yields 'fine' plus findings in plain words, and picture adds a screenshot. Combined with the quota, timing, and failure mode, an agent has everything needed to call it and interpret results correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all four parameters, including the pages array and editKey, are already documented in structured data. The description restates the default (every page, home first, up to 5) and the picture behavior without adding syntax or format detail beyond the schema, so it sits at the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource (opens a website's pages in a real browser at phone size) plus the exact scope of what it reports. The reporting detail (sideways scrolling, images that fail, sub-12px text, sub-24px tap targets, viewport line, overlay bars, heading pushed below the fold) makes it unmistakable next to siblings like read_website_file or list_website_files.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent: use it to verify phone rendering, then fix with edit_website_file or save_website_files and re-check those pages. It also gives the fallback condition (check_limit when the day's quota is gone) and the daily ceiling, so the agent knows when to stop or choose another approach.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.