Skip to main content
Glama

Get the Interactive Login Link for an Account

li_login_link
Read-only

Return the dashboard link that opens a REAL LinkedIn login for an account, in a browser running on the server inside that account's own profile and behind its own proxy. Use this whenever an account is blocked, has expired cookies, or is being connected for the first time — it is strictly better than asking the user for cookies. A pasted li_at + JSESSIONID is 2 of the ~15 cookies a real login issues (no li_rm, so LinkedIn cannot re-establish the session and bounces to the login page) and it is born on the user's own IP rather than the sending IP. The user opens the link, logs in, and the full session is captured automatically. A human must complete it — you cannot log in for them, and never ask them for their password.

Input Schema

NameRequiredDescriptionDefault
sessionIdNoSending account id (or use sessionLabel)
sessionLabelNoSending account label, e.g. "daaud"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld=false/destructive=false, so the safety profile is covered; the description adds the operational facts the annotations cannot: the link runs in a server-side browser inside the account's own profile and proxy, the full session is auto-captured after the human logs in, a human must complete it, and the agent must never request the password. That is exactly the extra behavioral context this dimension rewards.

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 the purpose in sentence one, then progressively adds rationale and constraints. It is fairly long and slightly repetitive (the cookie/password advice is restated twice), but every sentence carries real decision-relevant information, so the density justifies the length.

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?

Covers what the tool returns conceptually (a link), what happens after it is opened, who must act (a human), and what the agent must not do. With no output schema, this is complete enough for an agent to invoke and follow up 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% and both parameters (sessionId, sessionLabel) are documented inline, so the baseline is 3. The description never mentions either parameter or explains the id-vs-label choice, so it adds no meaning beyond the 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?

Opens with a specific verb and resource ('Return the dashboard link that opens a REAL LinkedIn login for an account') and immediately qualifies it with the operating environment (server-side browser, account's own profile, its own proxy). An agent can distinguish this from sibling tools like li_session_status or li_verify_account without opening any schema.

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?

Explicitly names the triggering conditions — account blocked, expired cookies, or first-time connection — and rules out the alternative approach ('strictly better than asking the user for cookies', with a concrete rationale about li_at/JSESSIONID). It does not name a specific sibling tool to prefer or avoid, so it stops just short of a 5.

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.

Resources