Skip to main content
Glama

LinkedIn: List user relations

linkedin_list_user_relations
Read-onlyIdempotent

List a LinkedIn user's visible relations by provider user ID. Use when network graph context is requested for a known profile.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cursorNo
searchNo
user_idYesStable LinkedIn system user ID returned by a profile/person resolver. Never pass a name or linkedin.com/in/... URL. LinkedIn system user ID: Stable LinkedIn/Unipile user id, commonly ACo... for Classic profiles. Obtain with: linkedin_get_profile_from_url(profile_url) -> result.id; linkedin_get_profile(user_id_or_public_identifier) -> result.id; linkedin_search_people(...) -> selected result.id Never pass: full linkedin.com/in/... URL, person name, company ID.
account_idNoOptional Nilyo connection ID (unipile_account_id from list_connected_accounts). Omit when the user has one account for this provider. When several exist, Nilyo never guesses: list them (display name, identifier, provider user ID), choose the one the user named or ask, and pass its ID here.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the scoping constraint ('visible relations by provider user ID') and the 'known profile' prerequisite, which is useful. It doesn't disclose pagination or rate-limit behavior, but with annotations covering safety, a 3 is appropriate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no filler. The core action and scope are front-loaded, and the usage context is stated in the second sentence. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only list tool with strong annotations and a rich user_id schema description, the description is nearly complete. It doesn't explain return values, but there is no output schema and the tool is simple enough that an agent can infer the list of relations. The main gap is not mentioning pagination via cursor, but the schema covers that parameter.

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 50%, and the description adds meaning by clarifying that user_id is a 'provider user ID' and that the tool operates on 'visible relations.' The user_id parameter description in the schema is already rich, but the tool description reinforces the ID-type requirement and the 'known profile' context, compensating for the cursor/search parameters that lack schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('List') and resource ('a LinkedIn user's visible relations by provider user ID'), which clearly identifies the operation. It distinguishes from siblings like linkedin_list_connections and linkedin_list_following by focusing on 'relations' and 'provider user ID', though it doesn't explicitly name those alternatives.

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?

The description says 'Use when network graph context is requested for a known profile,' which gives clear context. It doesn't explicitly state when not to use it or name alternatives like linkedin_list_connections, but the context is specific enough for an agent to select it appropriately.

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.