Skip to main content
Glama
mobile-next

Mobile Next MCP Server

Official
by mobile-next

Login to Cloud Provider

mobile_login_to_cloud_provider

Starts a browser-based device-code login to authenticate this machine with the remote device cloud provider, returning a URL and one-time code for the user to complete sign-in.

Instructions

Start authenticating this machine with the remote device cloud provider. This is required once before mobile_list_remote_devices or mobile_allocate_remote_device will work; if either of those fails with an authentication error, call this tool and then retry. This starts a browser-based device-code login and returns quickly with a URL and a one-time code - it does NOT wait for the login to complete. Show the URL and code to the user verbatim and ask them to open the URL and enter the code in their own browser. The login keeps running in the background after this tool returns; once the user confirms they've completed it, retry the remote devices tool that originally failed. Only call this after the user has explicitly asked to connect to, log into, or use remote/cloud devices - never call it speculatively, since it interrupts the user to act in their browser.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.0.6
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv1.0.3

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only say openWorldHint=true, not destructive, not read-only. The description adds the critical behavioral facts the annotations cannot convey: it is asynchronous, returns quickly with a URL and one-time code, does NOT wait for completion, keeps running in the background, and requires the user to act in their own browser. This is exactly the extra context needed for an agent to act correctly.

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?

It is a long paragraph, but every sentence carries distinct operational information: purpose, prerequisite, trigger, mechanics, user instruction, and restriction. Nothing is redundant and the trigger condition is front-loaded after the purpose.

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?

There is no output schema, yet the description explains what the tool returns (URL and one-time code), how to present it (verbatim), and what to do afterwards (retry the failed tool). Nothing an agent needs to invoke it correctly is missing.

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

Parameters4/5

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

Zero parameters, so there is nothing to mis-specify; the baseline for a no-param tool applies. The description even clarifies the interaction payload is returned, not passed in.

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 specific verb+resource ('Start authenticating this machine with the remote device cloud provider') and explicitly names the two sibling tools it unblocks. An agent can distinguish it from the many device-management siblings without opening a schema.

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?

Spells out prerequisites (required once before list/allocate will work), the trigger condition (either fails with an auth error), the sequence (call this, then retry), and an explicit prohibition ('never call it speculatively'). This is about as complete as usage guidance gets.

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