Skip to main content

Team Directory Upsert

Snapshot Catalog Entry

This page is generated from broker tools/list snapshot data.

POSTghl.team_directory_upsert

Create or update a team directory entry.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-team-directory-upsert-example",
"method": "tools/call",
"params": {
"name": "ghl.team_directory_upsert",
"arguments": {
"discordId": "discordId_123",
"discordHandle": "discordHandle_example",
"name": "name_example",
"role": "role_example",
"ghlUserId": "ghlUserId_123",
"email": "email_example",
"notes": "notes_example"
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"discordId": {
"type": "string"
},
"discordHandle": {
"type": "string"
},
"name": {
"type": "string"
},
"role": {
"type": "string"
},
"ghlUserId": {
"type": "string"
},
"email": {
"type": "string"
},
"notes": {
"type": "string"
}
},
"required": [
"discordId"
],
"additionalProperties": false
}

Code Examples

curl -X POST 'https://madpanda3d.com/lab/mad-mcps/portal/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ghl-team-directory-upsert-example",
"method": "tools/call",
"params": {
"name": "ghl.team_directory_upsert",
"arguments": {
"discordId": "discordId_123",
"discordHandle": "discordHandle_example",
"name": "name_example",
"role": "role_example",
"ghlUserId": "ghlUserId_123",
"email": "email_example",
"notes": "notes_example"
}
}
}'

Example Responses

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