We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/akiojin/playfab-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { Tool } from "@modelcontextprotocol/sdk/types.js";
export const UPDATE_USER_DATA_TOOL: Tool = {
name: "update_user_data",
description:
"Updates custom data for a player. " +
"Can set multiple key-value pairs at once.",
inputSchema: {
type: "object",
properties: {
PlayFabId: {
type: "string",
description: "The PlayFab ID of the player."
},
Data: {
type: "object",
description: "Key-value pairs of data to update.",
additionalProperties: { type: "string" }
},
Permission: {
type: "string",
enum: ["Private", "Public"],
description: "Data permission level. Default is 'Private'."
}
},
required: ["PlayFabId", "Data"],
},
}