Skip to main content
Glama

Login to Cloud Provider

mobile_login_to_cloud_provider

Authenticate this machine with a remote device cloud provider through a browser-based device-code login. Returns a URL and one-time code, and is required before listing or allocating cloud devices.

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 asked for, or agreed to, 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. First observedv0.0.1

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only cover readOnly/openWorld/destructive; the description adds substantial non-obvious behavior beyond that: it is async (returns a URL and code immediately without waiting), background login continues, it interrupts the user, and the agent must relay the URL/code verbatim. This is the kind of behavioral context annotations cannot express.

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-loads the core purpose, then the usage trigger, then the interactive behavior, then the caution. It is somewhat long, but every sentence carries actionable content (async semantics, verbatim relay, speculative-call warning), so little is wasted.

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?

For a zero-param, no-output-schema auth tool, the description covers everything an agent needs: purpose, trigger conditions, async interaction model, user-facing instructions, and the retry path. Nothing essential 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 with full schema coverage, so the baseline is 4. The description correctly implies no inputs are needed and instead explains the interactive output flow (URL + one-time code to show the user), which is meaningful beyond an empty schema.

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 (authenticating) and resource (remote device cloud provider), and clearly distinguishes this setup/auth tool from the sibling device tools it gates. An agent knows exactly what this does without opening the 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?

Explicitly states when to use it (before mobile_list_remote_devices/mobile_allocate_remote_device work, or on auth error), names the alternative path (retry the failed tool after), and adds a clear when-not (never speculatively). This is textbook routing guidance.

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