Skip to main content
Glama

Send connection request

relationships_connect

Send connection request

Invites a profile to connect with the account link. Needs profile:connect.

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": {
      "target": "<target>"
    },
    "name": "relationships_connect"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
targetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $defs / Platform / description
      Previous value: -"The platform. Every team can use twitter, linkedin, whatsapp; a team may have others enabled."New value: +"The platform. Every team can use twitter, linkedin, whatsapp, telegram; a team may have others enabled."
    • changedInput schema / $defs / Platform / examples
      Previous value: -[
      -  "twitter",
      -  "linkedin",
      -  "whatsapp"
      -]New value: +[
      +  "twitter",
      +  "linkedin",
      +  "whatsapp",
      +  "telegram"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / target / type
      Added value: +"object"
  3. Changed2 schema fields changed
    • changedInput schema / $defs / Platform / description
      Previous value: -"The platform. Every team can use twitter, linkedin; a team may have others enabled."New value: +"The platform. Every team can use twitter, linkedin, whatsapp; a team may have others enabled."
    • changedInput schema / $defs / Platform / examples
      Previous value: -[
      -  "twitter",
      -  "linkedin"
      -]New value: +[
      +  "twitter",
      +  "linkedin",
      +  "whatsapp"
      +]
  4. Changed2 schema fields changed
    • changedInput schema / $defs / Platform / description
      Previous value: -"The platform. Every team can use twitter; a team may have others enabled."New value: +"The platform. Every team can use twitter, linkedin; a team may have others enabled."
    • changedInput schema / $defs / Platform / examples
      Previous value: -[
      -  "twitter"
      -]New value: +[
      +  "twitter",
      +  "linkedin"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / target / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "The profile of an existing one-to-one thread, from the thread's account link.",
      -    "properties": {
      -      "threadId": {
      -        "$ref": "#/$defs/Cuid2"
      -      },
      -      "type": {
      -        "enum": [
      -          "thread"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "threadId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "The contact's profile on the account link's platform. Fails with `recipientUnavailable` when the contact has none there, and `profileAmbiguous` when it has several.",
      -    "properties": {
      -      "accountLinkId": {
      -        "allOf": [
      -          {
      -            "$ref": "#/$defs/Cuid2"
      -          },
      -          {
      -            "description": "The account link to send the request from."
      -          }
      -        ]
      -      },
      -      "contactId": {
      -        "$ref": "#/$defs/Cuid2"
      -      },
      -      "type": {
      -        "enum": [
      -          "contact"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "accountLinkId",
      -      "contactId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "A platform user. Without the Advanced API add-on, the profile must already belong to one of the team's contacts.",
      -    "properties": {
      -      "accountLinkId": {
      -        "allOf": [
      -          {
      -            "$ref": "#/$defs/Cuid2"
      -          },
      -          {
      -            "description": "The account link to send the request from."
      -          }
      -        ]
      -      },
      -      "platform": {
      -        "allOf": [
      -          {
      -            "$ref": "#/$defs/Platform"
      -          },
      -          {
      -            "description": "Must be the account link's platform."
      -          }
      -        ]
      -      },
      -      "platformId": {
      -        "description": "The ID the platform gives this object. Only meaningful next to its `platform`.",
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "type": {
      -        "enum": [
      -          "profile"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "accountLinkId",
      -      "platform",
      -      "platformId"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "The profile of an existing one-to-one thread, from the thread's account link.",
      +    "properties": {
      +      "threadId": {
      +        "$ref": "#/$defs/Cuid2"
      +      },
      +      "type": {
      +        "enum": [
      +          "thread"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "threadId"
      +    ],
      +    "title": "Thread",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "The contact's profile on the account link's platform. Fails with `recipientUnavailable` when the contact has none there, and `profileAmbiguous` when it has several.",
      +    "properties": {
      +      "accountLinkId": {
      +        "allOf": [
      +          {
      +            "$ref": "#/$defs/Cuid2"
      +          },
      +          {
      +            "description": "The account link to send the request from."
      +          }
      +        ]
      +      },
      +      "contactId": {
      +        "$ref": "#/$defs/Cuid2"
      +      },
      +      "type": {
      +        "enum": [
      +          "contact"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "accountLinkId",
      +      "contactId"
      +    ],
      +    "title": "Contact",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "A platform user. Without the Advanced API add-on, the profile must already belong to one of the team's contacts.",
      +    "properties": {
      +      "accountLinkId": {
      +        "allOf": [
      +          {
      +            "$ref": "#/$defs/Cuid2"
      +          },
      +          {
      +            "description": "The account link to send the request from."
      +          }
      +        ]
      +      },
      +      "platform": {
      +        "allOf": [
      +          {
      +            "$ref": "#/$defs/Platform"
      +          },
      +          {
      +            "description": "Must be the account link's platform."
      +          }
      +        ]
      +      },
      +      "platformId": {
      +        "description": "The person's ID on the platform. Reaching someone Inboxapp hasn't stored needs the account link's `profile:resolve:id`.",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "type": {
      +        "enum": [
      +          "profile"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "accountLinkId",
      +      "platform",
      +      "platformId"
      +    ],
      +    "title": "Profile by platform ID",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "A platform user. Without the Advanced API add-on, the profile must already belong to one of the team's contacts.",
      +    "properties": {
      +      "accountLinkId": {
      +        "allOf": [
      +          {
      +            "$ref": "#/$defs/Cuid2"
      +          },
      +          {
      +            "description": "The account link to send the request from."
      +          }
      +        ]
      +      },
      +      "platform": {
      +        "allOf": [
      +          {
      +            "$ref": "#/$defs/Platform"
      +          },
      +          {
      +            "description": "Must be the account link's platform."
      +          }
      +        ]
      +      },
      +      "type": {
      +        "enum": [
      +          "profile"
      +        ],
      +        "type": "string"
      +      },
      +      "username": {
      +        "description": "The person's username on the platform, without a display prefix such as `@`. On LinkedIn, what follows `/in/` in their profile URL: the vanity name or the `ACoA…` profile ID. Reaching someone Inboxapp hasn't stored needs the account link's `profile:resolve:username`.",
      +        "examples": [
      +          "jane",
      +          "ACoAABcdEfGh1234567890"
      +        ],
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "accountLinkId",
      +      "platform",
      +      "username"
      +    ],
      +    "title": "Profile by username",
      +    "type": "object"
      +  }
      +]
  6. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false), so the bar is lower. The description usefully adds the required permission scope `profile:connect`, but says nothing itself about the note-credit consumption, non-idempotency, or the failure modes (connectionRefused, recipientUnavailable, profileAmbiguous) that live only in the schema.

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?

Two short sentences, front-loaded with the action, with no redundant wording. It is efficient, though the brevity edges toward under-specification rather than crispness.

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

Completeness3/5

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

For an outward-facing, non-idempotent mutation whose `target` is a four-way union, the description is minimal: it omits note-credit depletion, add-on/contact-matching constraints, and any mention of what a successful call yields (no output schema exists). The rich schema covers much of this, but the definition itself does not.

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?

The description adds no parameter meaning at all — no explanation of `target` variants or the `note` field. However, the input schema is unusually self-documenting at the nested level, describing each target variant, its error outcomes, and the note-length/credit constraints, which roughly offsets the thin description.

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 pairs a specific verb ('Send') with a specific resource ('connection request') and clarifies the mechanism as 'Invites a profile to connect with the account link.' That is enough to distinguish it from messaging tools like messages_send, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

Usage is only implied by the nature of the operation; there is no explicit statement of when to prefer this over alternatives (e.g. messaging an existing contact) or when not to call it. The prerequisite 'Needs `profile:connect`' gives a necessary condition but is not selection 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.

Resources