Skip to main content
Glama

check_mobile_friendly

Read-only

Test any URL for mobile-friendliness and identify viewport, font, tap-target, and content-width issues. Get a mobile Lighthouse score and a clear list of problems to fix.

Instructions

Check whether a URL is mobile-friendly. Returns viewport configuration, font legibility, tap target sizing, content width checks, a mobile Lighthouse score, and a list of mobile-specific issues.

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_mobile_friendly"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe fully-qualified URL to test for mobile-friendliness.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety profile is covered. The description adds genuine value by disclosing the return contents (viewport configuration, font legibility, tap target sizing, content width, Lighthouse score, issue list) in the absence of an output schema. It omits operational traits such as the latency cost of running a Lighthouse pass or what happens for unreachable or non-HTML URLs.

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

Conciseness5/5

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

Two sentences, both earning their place: the first states the decision the tool supports, the second front-loads exactly what comes back. No filler, no repetition of the tool name, and the output inventory is compactly enumerated.

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

Completeness4/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 return-value disclosure and does so adequately by listing all check categories. For a one-parameter read-only tool the definition is close to self-sufficient, with only error/latency behavior left unstated.

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?

There is a single parameter with 100% schema description coverage, so the schema already defines url as the fully-qualified URL to test. The description adds no extra semantics about accepted formats, redirects, or validation behavior. Baseline 3 applies.

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

Purpose4/5

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

"Check whether a URL is mobile-friendly" gives a specific verb and resource that an agent can distinguish from siblings like audit_accessibility or check_core_web_vitals. The follow-up sentence enumerates the exact checks performed, reinforcing the purpose. It stops short of explicitly contrasting itself with any named alternative.

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

Usage Guidelines3/5

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

Usage is only implied by the stated purpose: an agent can infer this is the tool for mobile-friendliness evaluation. There is no explicit when-to-use/when-not-to-use guidance, no mention of prerequisites such as the URL being publicly reachable, and no routing to related siblings for broader accessibility or performance questions.

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