Skip to main content
Glama

apple_update_age_rating

Update age rating declarations for App Store Connect apps by modifying content descriptors like violence, sexual content, gambling, and other categories to meet store requirements.

Instructions

Update age rating declaration

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ageRatingIdYesAge Rating Declaration ID
alcoholTobaccoOrDrugUseOrReferencesNo
gamblingSimulatedNo
medicalOrTreatmentInformationNo
profanityOrCrudeHumorNo
sexualContentOrNudityNo
horrorOrFearThemesNo
violenceCartoonOrFantasyNo
violenceRealisticNo
gamblingAndContestsNo
unrestrictedWebAccessNo

Implementation Reference

  • The handler function for 'apple_update_age_rating' that performs a PATCH request to update the age rating declaration.
    handler: async (client, args) => {
      const { ageRatingId, ...attributes } = args;
      return client.request(`/ageRatingDeclarations/${ageRatingId}`, {
        method: 'PATCH',
        body: {
          data: {
            type: 'ageRatingDeclarations',
            id: ageRatingId,
            attributes,
          },
        },
      });
  • The Zod schema validation for the 'apple_update_age_rating' tool inputs.
    schema: z.object({
      ageRatingId: z.string().describe('Age Rating Declaration ID'),
      alcoholTobaccoOrDrugUseOrReferences: z.enum(['NONE', 'INFREQUENT_OR_MILD', 'FREQUENT_OR_INTENSE']).optional(),
      gamblingSimulated: z.enum(['NONE', 'INFREQUENT_OR_MILD', 'FREQUENT_OR_INTENSE']).optional(),
      medicalOrTreatmentInformation: z.enum(['NONE', 'INFREQUENT_OR_MILD', 'FREQUENT_OR_INTENSE']).optional(),
      profanityOrCrudeHumor: z.enum(['NONE', 'INFREQUENT_OR_MILD', 'FREQUENT_OR_INTENSE']).optional(),
      sexualContentOrNudity: z.enum(['NONE', 'INFREQUENT_OR_MILD', 'FREQUENT_OR_INTENSE']).optional(),
      horrorOrFearThemes: z.enum(['NONE', 'INFREQUENT_OR_MILD', 'FREQUENT_OR_INTENSE']).optional(),
      violenceCartoonOrFantasy: z.enum(['NONE', 'INFREQUENT_OR_MILD', 'FREQUENT_OR_INTENSE']).optional(),
      violenceRealistic: z.enum(['NONE', 'INFREQUENT_OR_MILD', 'FREQUENT_OR_INTENSE']).optional(),
      gamblingAndContests: z.boolean().optional(),
      unrestrictedWebAccess: z.boolean().optional(),
    }),
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