Skip to main content

Search Social Posts

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

READghl.search_social_posts
  • Contract tier: agent_ready
  • Risk: read
  • Catalog version: 2026-07-12.2
  • Descriptor hash: 6ef0c537b30fe798bd645220ac755c65c09d0bc3908a6f11556f209ec6878c20

Search and filter social media posts across all platforms GHL category: Marketing. This is a read-only GHL API operation.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-search-social-posts-example",
"method": "tools/call",
"params": {
"name": "ghl.search_social_posts",
"arguments": {
"fromDate": "fromDate_example",
"toDate": "toDate_example",
"skip": 1,
"type": "recent",
"limit": 1,
"accounts": "accounts_example",
"postType": "post",
"tenantId": "tenantId_123",
"includeUsers": false,
"includeProviderResponse": false
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"fromDate",
"toDate"
],
"properties": {
"skip": {
"type": "number",
"default": 0,
"description": "Number of posts to skip"
},
"type": {
"enum": [
"recent",
"all",
"scheduled",
"draft",
"failed",
"in_review",
"published",
"in_progress",
"deleted"
],
"type": "string",
"default": "all",
"description": "Filter posts by status"
},
"limit": {
"type": "number",
"default": 10,
"description": "Number of posts to return"
},
"toDate": {
"type": "string",
"description": "End date (ISO format)"
},
"accounts": {
"type": "string",
"description": "Comma-separated account IDs to filter by"
},
"fromDate": {
"type": "string",
"description": "Start date (ISO format)"
},
"postType": {
"enum": [
"post",
"story",
"reel"
],
"type": "string",
"description": "Type of post to search for"
},
"tenantId": {
"type": "string",
"description": "Tenant ID from list_tenants."
},
"includeUsers": {
"type": "boolean",
"default": true,
"description": "Include user data in response"
},
"includeProviderResponse": {
"type": "boolean",
"default": false,
"description": "Include compact provider response shape/debug data for audits. Leave false for normal agent use."
}
}
}

Output Schema

{
"type": "object",
"required": [
"ok",
"data",
"error",
"meta"
],
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the GHL MCP operation completed successfully."
},
"data": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "array",
"items": {}
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "Tool-specific GHL or local navigation result when ok is true."
},
"meta": {
"type": "object",
"description": "Safe execution, routing, and timing metadata.",
"additionalProperties": true
},
"error": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"description": "Safe error details when ok is false; credential values are never returned."
}
},
"description": "Normalized GHL MCP response envelope.",
"additionalProperties": false
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ghl-search-social-posts-example",
"method": "tools/call",
"params": {
"name": "ghl.search_social_posts",
"arguments": {
"fromDate": "fromDate_example",
"toDate": "toDate_example",
"skip": 1,
"type": "recent",
"limit": 1,
"accounts": "accounts_example",
"postType": "post",
"tenantId": "tenantId_123",
"includeUsers": false,
"includeProviderResponse": false
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool ghl.search_social_posts executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}