Skip to main content
Glama

apple_update_device

Modify device name or enable/disable status for Apple app testing in App Store Connect.

Instructions

Update device name or status

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceIdYesDevice ID
nameNoNew device name
statusNoNew status

Implementation Reference

  • Implementation of the apple_update_device tool, including its schema and handler logic for PATCHing device details.
    const updateDevice: ToolDef = {
      name: 'apple_update_device',
      description: 'Update device name or status',
      schema: z.object({
        deviceId: z.string().describe('Device ID'),
        name: z.string().optional().describe('New device name'),
        status: z.enum(['ENABLED', 'DISABLED']).optional().describe('New status'),
      }),
      handler: async (client, args) => {
        const { deviceId, ...attributes } = args;
        return client.request(`/devices/${deviceId}`, {
          method: 'PATCH',
          body: {
            data: {
              type: 'devices',
              id: deviceId,
              attributes,
            },
          },
        });
      },
Install Server

Other Tools

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/mikusnuz/app-publish-mcp'

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