Skip to main content
Glama

Set the age rating

set_age_rating
Destructive

Set an app's age-rating declarations in App Store Connect so Apple can compute the correct 4+/9+/13+/16+/18+ rating.

Instructions

Set the app's age-rating content declarations (Apple computes 4+/9+/13+/16+/18+; the reply lists every value written, including defaults for keys you did not pass). Pass a declarations map, e.g. { medicalOrTreatmentInformation: "INFREQUENT_OR_MILD" }. Pro feature.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "app_id": "<app_id>",
      "declarations": "<declarations>"
    },
    "name": "set_age_rating"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesApp Store Connect app ID
declarationsYesMap of declaration key to value. Frequency keys take NONE/INFREQUENT_OR_MILD/FREQUENT_OR_INTENSE (also INFREQUENT/FREQUENT for the few keys Apple uses those on); capability keys take true/false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.9.14
    • removedInput schema / properties / declarations / additionalProperties / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "boolean"
      -  }
      -]
    • addedInput schema / properties / declarations / additionalProperties / type
      Added value: +[
      +  "string",
      +  "boolean"
      +]
  2. Added

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=false and destructiveHint=true, and the description adds real value on top: it discloses that Apple computes the final 4+/9+/13+/16+/18+ rating, and that the reply lists every value written including defaults for keys not passed — an important side effect implying existing declarations are overwritten. It does not explicitly warn that omitted keys get reset to defaults, which would strengthen it further.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action, followed by the outcome/return behavior and a concrete example. The parenthetical is dense but every clause (computed rating bands, echo of written values, defaults) earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 2-parameter destructive mutation with a nested map and no output schema, the description covers purpose, value domains, an example, the return behavior, and the Pro gating. The remaining gap is the absence of an explicit overwrite/'omitted keys revert to defaults' warning and any permission requirements beyond the Pro flag.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description goes slightly beyond by supplying a concrete example of the nested declarations map ('{ medicalOrTreatmentInformation: "INFREQUENT_OR_MILD" }') and noting its role in what gets written back. It doesn't explain app_id at all, but the schema already labels it as the App Store Connect app ID.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource — 'Set the app's age-rating content declarations' — which is clearly distinct from siblings like set_app_availability, set_app_metadata, and set_privacy_nutrition. It stops short of naming any alternative tool, but the resource is unambiguous enough that an agent can route here without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: 'Pro feature' signals a gating prerequisite, but there is no explicit when-to-use vs when-not guidance and no mention of when the age rating should be updated relative to other metadata tools (e.g. before or after create_version). An agent must infer the context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.