Skip to main content
Glama

get_linkedin_chat_by_url

Read-only

Find the existing chat between a connected LinkedIn account (accountId) and a person, by the person's LinkedIn profile URL. Each call looks the profile up live on LinkedIn through that account (no profile-visit notification is sent) and counts against LinkedIn's rate limits. Returns FuseAI's stored copy of the chat with its chatId and messages, or chatId null and no messages when there is no chat yet. It sends no message or invitation and does not change the chat or mark it as read; if the account's LinkedIn session has expired, the call returns an error and does not mark the account disconnected, pause its campaigns or notify the owner.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "accountId": "<accountId>",
      "linkedinUrl": "<linkedinUrl>"
    },
    "name": "get_linkedin_chat_by_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountIdYes
linkedinUrlYes

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?

Goes well beyond the readOnly/non-destructive/openWorld annotations: live profile lookup per call, no profile-visit notification, rate-limit consumption, stored-copy semantics with a null-chatId no-chat case, and expired-session error behavior that does not disconnect the account, pause campaigns or notify the owner.

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 action and lookup key, then behavior, then return shape, then side-effect guarantees. Dense but every sentence carries information; the final sentence is long and packs several error-behavior clauses together.

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?

No output schema exists, and the description fully covers the return contract (stored chat with chatId and messages, or null chatId with no messages) plus failure and side-effect behavior. Nothing an agent needs to call this 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?

Schema description coverage is 0%, so the description carries the burden; it explains accountId as the connected LinkedIn account used for the live lookup and linkedinUrl as the person's profile URL. It stops short of giving URL format expectations or how to obtain a valid accountId.

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 ('Find the existing chat'), the exact lookup key ('by the person's LinkedIn profile URL') and the account scope ('connected LinkedIn account (accountId)'), which implicitly separates it from the chatId-based get_linkedin_chat and from chat-creating tools.

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?

Makes the use case clear: use it when you have a profile URL and want the existing chat without creating one. It also rules out chat-creation side effects ('sends no message or invitation'), which points the agent toward start_linkedin_chat when a new chat is wanted, but no sibling is named explicitly and there is no explicit 'when not to use' statement.

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.