Skip to main content
Glama

Postkey: Instagram DM Automation and Comment-to-DM

List connected social accounts

postkey_list_social_accounts
Read-onlyIdempotent

Postkey: Lists the active social accounts connected to this Postkey profile (Instagram, TikTok, YouTube, LinkedIn and the rest), all in one answer: id, platform, handle, name and needs_reconnect, plus how many are disconnected. A LinkedIn account also has post_as: who it can post as (itself, the company pages it manages), for linkedin_post_as. Use the ids as social_account_ids in postkey_create_post or postkey_update_post; an account that needs reconnecting cannot take posts. Connecting, reconnecting or removing an account is done by a person in Postkey.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
okYesfalse: refused (isError; code, message, guide_topic, url); no change.
noteNoA reminder of which accounts can take posts.
disconnectedNoHow many connected accounts are not active.
social_accountsNoActive accounts: id, platform, handle, name, active, needs_reconnect; LinkedIn accounts also post_as (options: value and label, note).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / social_accounts / description
      Previous value: -"Active accounts: id, platform, handle, name, active, needs_reconnect."New value: +"Active accounts: id, platform, handle, name, active, needs_reconnect; LinkedIn accounts also post_as (options: value and label, note)."
  2. Changed1 schema field changed
    • changedOutput schema / properties / ok / description
      Previous value: -"false: refused (isError true; code, message, guide_topic, url), nothing changed."New value: +"false: refused (isError; code, message, guide_topic, url); no change."
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "disconnected": {
      +      "description": "How many connected accounts are not active.",
      +      "type": "number"
      +    },
      +    "note": {
      +      "description": "A reminder of which accounts can take posts.",
      +      "type": "string"
      +    },
      +    "ok": {
      +      "description": "false: refused (isError true; code, message, guide_topic, url), nothing changed.",
      +      "type": "boolean"
      +    },
      +    "social_accounts": {
      +      "description": "Active accounts: id, platform, handle, name, active, needs_reconnect.",
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources