Skip to main content
Glama

connect_linkedin_account

Get a secure sign-in url to connect a LinkedIn account to this workspace, or to reconnect one. Give the url to the user (the person whose LinkedIn it is) to open in their browser and log in to LinkedIn there; you can't do the login for them. Then call get_connect_status to see whether it connected. New account: omit account_id (optionally set timezone). Refused when the plan's account limit is used up (the limit is shared by all the owner's workspaces): the owner adds seats in the app's Billing. Also refused when this workspace has reached its own seat limit, set by the owner: then adding seats won't help, the owner raises the limit with update_workspace or on the Workspaces page. Reconnect: pass the account_id of an account whose LinkedIn session dropped (list_accounts shows status needs_reauth or disconnected). A reconnect doesn't use a seat.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "connect_linkedin_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
timezoneNoNew accounts only: IANA timezone for the sending hours, e.g. 'Asia/Kolkata'. Default UTC; change later with update_account (schedule).
account_idNoReconnect this existing account (id from list_accounts) instead of connecting a new one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / account_id
      Added value: +{
      +  "description": "Reconnect this existing account (id from list_accounts) instead of connecting a new one.",
      +  "type": "string"
      +}
    • changedInput schema / properties / timezone / description
      Previous value: -"IANA timezone for the new account's sending hours, e.g. 'Asia/Kolkata'. Default UTC; change later with update_account_schedule."New value: +"New accounts only: IANA timezone for the sending hours, e.g. 'Asia/Kolkata'. Default UTC; change later with update_account (schedule)."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false), it discloses the human-in-the-loop constraint, the two distinct refusal conditions (plan-wide seat limit vs. workspace seat limit) with the exact remedies (Billing page vs. update_workspace), and the non-obvious fact that a reconnect consumes no seat.

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 front-loaded with the action and the hand-off instruction, then branches cleanly into New account / Reconnect sections. It runs long and repeats seat-limit detail in two clauses, but nearly every sentence carries operational information an agent needs.

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 two-param, non-destructive tool with no output schema, nothing material is missing: the return value (url) is described, the follow-up call is prescribed, and both failure paths with their remedies are spelled out.

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?

Schema coverage is already 100%, so 3 is the baseline; the description adds mode-selection meaning — omitting account_id creates a new account, passing one reconnects, and reconnect does not consume a seat — plus the pointer that needs_reauth/disconnected statuses come from list_accounts.

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?

The opening clause names a specific verb and resource: 'Get a secure sign-in `url` to connect a LinkedIn account to this workspace, or to reconnect one.' It also distinguishes the two modes (new connect vs. reconnect) that separate it from siblings like get_connect_status and list_accounts.

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?

It gives explicit next-step guidance ('Give the url to the user ... you can't do the login for them. Then call get_connect_status'), names the alternative mode and the trigger for each ('New account: omit account_id'; 'Reconnect: pass the account_id of an account whose LinkedIn session dropped'), and tells the agent where to look for eligible accounts via list_accounts.

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