Skip to main content
Glama

Get a link to connect an account

accounts_connect
Read-only

Links the user opens to connect their social accounts, one per network, with what is already connected on each. A link opens their account page on that network: they press Connect and sign in on the network’s own page, so you never see a password (Bluesky instead takes a handle and an app password on that page; its link says so in how). Give them the link for each network they use, then call accounts_list to see what arrived. A network that cannot be connected yet answers ready: false and no link; say so instead of sending the user to it. Where there is a guide to opening an account on a network (a Google Business Profile, a Facebook Page, an Instagram professional account), open names it: read it with help_get for a user who has no account there yet. Use it for a first connection and for one that needs reconnecting. Changes nothing.

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": "accounts_connect"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandIdNoThe brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.
networkNoOne network by its key in capabilities, such as "instagram". Leave it out for every network that can be connected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / brandId
      Added value: +{
      +  "description": "The brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.",
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare readOnlyHint=true and destructiveHint=false; the description goes well beyond that by explaining the interaction model (the user presses Connect and signs in on the network's own page, so no password is ever seen), the Bluesky exception (handle plus app password, flagged in `how`), and the ready:false failure mode. 'Changes nothing' merely echoes the annotations, but the rest is substantive behavioral context the schema cannot convey.

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?

The purpose and the primary action are front-loaded, and every clause about `how`, `ready`, and `open` carries information. It is somewhat overlong and nests parentheses within a narrative flow, and the closing 'Changes nothing' repeats what the annotations already state.

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?

There is no output schema, and the description fills that gap by naming the returned fields and their meaning (`how`, `ready: false`, `open`) and by describing the full round trip from link to accounts_list. For a two-parameter, non-destructive read tool, an agent has everything needed to call it and interpret the result.

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%, so both parameters are already documented, and the description adds only modest framing: it implies omitting `network` yields links for every usable network and reinforces 'one per network.' brandId is not discussed at all in the description, so it neither compensates for nor improves on the schema beyond baseline.

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 resource and outcome: links the user opens to connect their social accounts, one per network, plus what is already connected. It distinguishes itself from siblings by naming the follow-up (accounts_list) and the guide-reading path (help_get), so an agent can tell what this tool does and does not do without opening the schema.

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?

Explicit when-to-use: 'Use it for a first connection and for one that needs reconnecting,' plus the sequencing rule 'give them the link for each network they use, then call accounts_list to see what arrived.' It also names an exclusion case (a network that answers ready: false gets no link and the user should not be sent there) and routes to help_get when the user has no account on that network.

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.