Skip to main content
Glama

Connect this session to the user's account

connect_account

Connect this keyless session to the user's own account, the way gh auth login works. Ask for their email first and pass it (it prefills the page). Returns a one-time url and a code: open the url in their browser yourself and tell them the code. They sign up or log in ON THE PAGE (never ask for a password in chat), check the code matches, and press Connect. From then on this session acts as their account and the games built so far move in. The link lasts 10 minutes.

Input Schema

NameRequiredDescriptionDefault
emailNoThe user's email, to prefill the sign-in page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: returns a one-time url plus a matching code, the link expires in 10 minutes, the session's identity changes afterwards, and previously built games migrate in. That is exactly the side-effect context an agent needs, and it is consistent with readOnlyHint=false and destructiveHint=false.

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?

It is dense but nearly every clause is actionable (who does what, expiration, security rule), and the purpose is front-loaded in the first sentence. The procedural steps in the middle could be tightened slightly.

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 single-param, no-output-schema tool, the description covers return shape (url + code), lifetime, required user interaction, and the post-call state change. Nothing essential for correct invocation 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?

With 100% schema coverage the baseline is 3, but the description adds real meaning: the email is optional prefill that should be collected from the user *first* as part of the flow, which the schema field text alone does not convey.

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 and resource — connect a keyless session to the user's own account — and anchors it with the `gh auth login` analogy, which immediately tells an agent how this differs from siblings like get_connection_info or claim_studio.

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

Usage Guidelines4/5

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

Gives a clear ordered procedure (ask for email, open url, relay code, user presses Connect) and a hard rule (never ask for a password in chat). It lacks an explicit 'use this only when the session is keyless / prefer get_connection_info if already linked' exclusion, so it falls short of full when/when-not guidance.

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.