Skip to main content
Glama

apple_add_beta_testers_to_group

Add beta testers to an existing beta group using their IDs. Specify the beta group ID and an array of tester IDs to assign them to that group for testing.

Instructions

Add beta testers to a group

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
betaGroupIdYesBeta Group ID
betaTesterIdsYesArray of beta tester IDs

Implementation Reference

  • The main implementation of the 'apple_add_beta_testers_to_group' tool. Defines the ToolDef with name, description, schema, and handler that makes a POST request to /betaGroups/{betaGroupId}/relationships/betaTesters to add beta testers.
    const addBetaTestersToGroup: ToolDef = {
      name: 'apple_add_beta_testers_to_group',
      description: 'Add beta testers to a group',
      schema: z.object({
        betaGroupId: z.string().describe('Beta Group ID'),
        betaTesterIds: z.array(z.string()).describe('Array of beta tester IDs'),
      }),
      handler: async (client, args) => {
        return client.request(`/betaGroups/${args.betaGroupId}/relationships/betaTesters`, {
          method: 'POST',
          body: {
            data: args.betaTesterIds.map((id: string) => ({ type: 'betaTesters', id })),
          },
        });
      },
    };
  • Schema validation for the tool: requires betaGroupId (string) and betaTesterIds (array of strings).
    schema: z.object({
      betaGroupId: z.string().describe('Beta Group ID'),
      betaTesterIds: z.array(z.string()).describe('Array of beta tester IDs'),
    }),
  • The tool is registered in the exported appleTools array (line 1245: addBetaTestersToGroup is included in the list of all Apple tools).
    export const appleTools: ToolDef[] = [
      // App Management
      listApps, getApp, getAppInfo, updateAppInfoCategory,
      // Bundle IDs
      listBundleIds, createBundleId,
      // Versions & Localizations
      listVersions, createVersion,
      listVersionLocalizations, createVersionLocalization, updateVersionLocalization,
      // App Info Localizations (name, subtitle)
      listAppInfoLocalizations, updateAppInfoLocalization,
      // Screenshots
      listScreenshotSets, createScreenshotSet, uploadScreenshot, deleteScreenshot,
      // Builds
      listBuilds, assignBuild,
      // Age Rating & Review Info
      getAgeRating, updateAgeRating, updateReviewDetail,
      // Submission
      submitForReview, cancelSubmission,
      // Pricing & Availability
      getAppPricing, setAppPrice, listTerritoryAvailability,
      // Customer Reviews
      listCustomerReviews, respondToReview,
      // Bundle ID Capabilities
      listBundleIdCapabilities, enableCapability, disableCapability,
      // Certificates
      listCertificates, createCertificate, revokeCertificate,
      // Provisioning Profiles
      listProfiles, createProfile, deleteProfile,
      // Devices
      listDevices, registerDevice, updateDevice,
      // TestFlight - Beta Groups
      listBetaGroups, createBetaGroup, deleteBetaGroup,
      addBetaTestersToGroup, removeBetaTestersFromGroup,
      // TestFlight - Beta Testers
      listBetaTesters, inviteBetaTester, deleteBetaTester,
      // In-App Purchases
      listIAP, createIAP, getIAP, deleteIAP,
      // Subscription Groups
      listSubscriptionGroups, createSubscriptionGroup, deleteSubscriptionGroup,
    ];
  • The ToolDef interface definition used to type the tool constant.
    interface ToolDef {
      name: string;
      description: string;
      schema: z.ZodObject<any>;
      handler: (client: AppleClient, args: any) => Promise<any>;
    }
Behavior2/5

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

No annotations provided, so the description must disclose behavioral traits. It only states the action without revealing if testers are appended or replaced, required permissions, or side effects. This is insufficient for a read-mutation operation.

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

Conciseness4/5

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

One clear and concise sentence, no redundant information. It is appropriately brief for a simple action, though it could include more context without harming conciseness.

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

Completeness3/5

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

Given no output schema and zero annotations, the description is minimally complete. It states the action but lacks context about prerequisites, effects, or typical use cases. Adequate but not informative.

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

Parameters3/5

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

Schema coverage is 100% with descriptions for both parameters. The description adds no additional meaning beyond 'betaGroupId' and 'betaTesterIds'. Baseline score of 3 is appropriate since schema already clarifies the parameters.

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 clearly states 'Add beta testers to a group', specifying the verb and resource. It distinguishes from siblings like apple_remove_beta_testers_from_group, but could be more specific about the type of testers (existing vs. new).

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

Usage Guidelines2/5

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

No guidance on when to use this tool, prerequisites (e.g., testers must exist, group must exist), or alternatives like apple_invite_beta_tester. The description is too minimal for a usage guideline.

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

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