Search loads only when you use it. Browse all categories below.

MCP tool

Get Organization context

sosoapi_get_organization_context

Read the live map of your Organizations, their Workspaces and Channels with ids and roles. Use it when Organization or Channel ids are needed. For Workspace posting, reuse a returned Workspace id; do not also read workspace context.

Read as Markdown

Profiles and transports

Profiles: core, full · Transports: stdio, http

Choose core or full to control which tools your client sees; this does not change its permissions. Local file upload requires stdio and is unavailable over HTTP. Set SOSOAPI_OUTPUT_SCHEMAS=1 to include output schemas in discovery. Tools return structured results with or without that setting.

Permissions and side effects

Annotations help clients describe a tool. Each call still checks the user’s authentication, role, resource access and capability grants.

{
  "readOnlyHint": true,
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false
}

Input fields

Required means required inside its parent object and selected branch. A required child does not make an optional parent required. Rules and field names below are copied from the contract.

Input fields
Field / branchType / requiredConstraints
$objectRequired in parent
  • additionalProperties: false
organization_idstringOptional / item
  • format: "uuid"
Complete JSON Schema
{
  "type": "object",
  "properties": {
    "organization_id": {
      "type": "string",
      "format": "uuid"
    }
  },
  "additionalProperties": false
}

Structured output

This schema describes structuredContent in a successful tool result. The MCP response also includes content and may set isError when a call fails. For publishing, read the post’s final result rather than treating an accepted request or text response as confirmation. The linked API operation explains permissions and retry rules.

Required means required inside its parent object and selected branch. A required child does not make an optional parent required. Rules and field names below are copied from the contract.

Structured output
Field / branchType / requiredConstraints
$objectRequired in parent
  • additionalProperties: false
contract_versionstringRequired in parent
  • const: "organization-agent-context/v1"
organizationsarrayRequired in parent
  • maxItems: 100
organizations[]objectOptional / item
  • additionalProperties: false
organizations[].idstringRequired in parent
  • format: "uuid"
organizations[].namestringRequired in parent
  • minLength: 1
  • maxLength: 200
organizations[].rolestringRequired in parent
  • enum: ["owner","admin","member"]
organizations[].statusstringRequired in parent
  • enum: ["active","deletion_pending","deleted"]
organizations[].workspacesarrayRequired in parent
  • maxItems: 100
organizations[].workspaces[]objectOptional / item
  • additionalProperties: false
organizations[].workspaces[].idstringRequired in parent
  • format: "uuid"
organizations[].workspaces[].namestringRequired in parent
  • minLength: 1
  • maxLength: 200
organizations[].workspaces[].rolestring | nullRequired in parent—
organizations[].workspaces[].roleanyOf 1stringRequired in parent
  • enum: ["owner","editor","reviewer","viewer"]
organizations[].workspaces[].roleanyOf 2nullRequired in parent—
organizations[].workspaces[].channelsarrayRequired in parent
  • maxItems: 500
organizations[].workspaces[].channels[]objectOptional / item
  • additionalProperties: false
organizations[].workspaces[].channels[].idstringRequired in parent
  • format: "uuid"
organizations[].workspaces[].channels[].organization_idstringRequired in parent
  • format: "uuid"
organizations[].workspaces[].channels[].workspace_idstringRequired in parent
  • format: "uuid"
organizations[].workspaces[].channels[].platformstringRequired in parent
  • enum: ["instagram","threads","facebook","youtube","x"]
organizations[].workspaces[].channels[].statusstringRequired in parent
  • enum: ["setup_incomplete","attached","action_required","disconnected"]
Complete JSON Schema
{
  "type": "object",
  "properties": {
    "contract_version": {
      "type": "string",
      "const": "organization-agent-context/v1"
    },
    "organizations": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "role": {
            "type": "string",
            "enum": [
              "owner",
              "admin",
              "member"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "deletion_pending",
              "deleted"
            ]
          },
          "workspaces": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "role": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "owner",
                        "editor",
                        "reviewer",
                        "viewer"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "channels": {
                  "maxItems": 500,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "organization_id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "workspace_id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "platform": {
                        "type": "string",
                        "enum": [
                          "instagram",
                          "threads",
                          "facebook",
                          "youtube",
                          "x"
                        ]
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "setup_incomplete",
                          "attached",
                          "action_required",
                          "disconnected"
                        ]
                      }
                    },
                    "required": [
                      "id",
                      "organization_id",
                      "workspace_id",
                      "platform",
                      "status"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "id",
                "name",
                "role",
                "channels"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "id",
          "name",
          "role",
          "status",
          "workspaces"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "contract_version",
    "organizations"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

Example tool call

These examples use fictional values checked against the schemas. Replace the IDs with ones you are authorized to use, the media with ready assets and the dates with your confirmed publishing time. Check the account’s eligibility before submitting a write. This page sends no API requests.

{
  "name": "sosoapi_get_organization_context",
  "arguments": {}
}

structuredContent

{
  "contract_version": "organization-agent-context/v1",
  "organizations": []
}
Install or connect MCP