Skip to main content
Glama

pylon_update_team

Modify team details in Pylon customer support platform by updating the team name and member list using the team ID.

Instructions

Update an existing team

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe team ID
nameNoUpdated team name
user_idsNoUpdated list of user IDs

Implementation Reference

  • MCP tool handler for pylon_update_team: calls PylonClient.updateTeam and returns formatted JSON response.
    async ({ id, ...data }) => { const result = await client.updateTeam(id, data); return { content: [{ type: 'text', text: JSON.stringify(result.data, null, 2) }], }; },
  • Zod input schema defining parameters for updating a team: id (required), name and user_ids (optional).
    { id: z.string().describe('The team ID'), name: z.string().optional().describe('Updated team name'), user_ids: z .array(z.string()) .optional() .describe('Updated list of user IDs'), },
  • src/index.ts:632-649 (registration)
    Registration of the pylon_update_team MCP tool using server.tool().
    server.tool( 'pylon_update_team', 'Update an existing team', { id: z.string().describe('The team ID'), name: z.string().optional().describe('Updated team name'), user_ids: z .array(z.string()) .optional() .describe('Updated list of user IDs'), }, async ({ id, ...data }) => { const result = await client.updateTeam(id, data); return { content: [{ type: 'text', text: JSON.stringify(result.data, null, 2) }], }; }, );
  • PylonClient helper method that sends PATCH request to /teams/{id} to update team name and/or user_ids.
    async updateTeam( id: string, data: { name?: string; user_ids?: string[] }, ): Promise<SingleResponse<Team>> { return this.request<SingleResponse<Team>>('PATCH', `/teams/${id}`, data); } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JustinBeckwith/pylon-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server