Skip to main content
Glama

configure_mobile_credentials

Idempotent

Store Firebase Cloud Messaging and Apple Push Notification credentials on a specific app_id to enable native Android and iOS push delivery.

Instructions

Store native mobile push credentials—Firebase Cloud Messaging (FCM HTTP v1 service-account.json) for Android APK and Apple Push Notification service (.p8 AuthKey, Key ID, Team ID, Bundle ID) for iOS—on a specific app_id. Use this tool when enabling native Android or iOS push delivery; do not use it for standard browser Web Push (which uses auto-generated VAPID keys from create_app). Prerequisite: call list_apps first to obtain app_id. Requires PUSHNOTIF_API_KEY, costs 0 credits, and idempotently updates encrypted mobile credentials. Returns JSON { ok, app_id, android_fcm_configured, ios_apns_configured }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_idYesTarget application ID in format app_xxxx (obtain from list_apps)
apns_key_idNo10-character Apple Developer APNs Key ID (e.g., 'ABC123DEFG')
apns_p8_keyNoFull PEM text content of Apple's AuthKey_XXXX.p8 private key file
apns_team_idNo10-character Apple Developer Team ID
apns_bundle_idNoiOS application Bundle Identifier (e.g., 'id.company.app')
fcm_service_account_jsonNoRaw JSON string of the Google Firebase Service Account key file for Android FCM HTTP v1

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.1.2
    • changedInput schema / properties / apns_bundle_id / description
      Previous value: -"iOS App Bundle ID (misal: id.perusahaan.app)"New value: +"iOS application Bundle Identifier (e.g., 'id.company.app')"
    • changedInput schema / properties / apns_key_id / description
      Previous value: -"Apple APNs Key ID (10 karakter)"New value: +"10-character Apple Developer APNs Key ID (e.g., 'ABC123DEFG')"
    • changedInput schema / properties / apns_p8_key / description
      Previous value: -"Isi teks file AuthKey_XXXX.p8 dari Apple Developer"New value: +"Full PEM text content of Apple's AuthKey_XXXX.p8 private key file"
    • changedInput schema / properties / apns_team_id / description
      Previous value: -"Apple Developer Team ID (10 karakter)"New value: +"10-character Apple Developer Team ID"
    • changedInput schema / properties / app_id / description
      Previous value: -"App ID yang ingin dikonfigurasi"New value: +"Target application ID in format app_xxxx (obtain from list_apps)"
    • changedInput schema / properties / fcm_service_account_json / description
      Previous value: -"Isi teks file service-account.json Firebase untuk Android APK"New value: +"Raw JSON string of the Google Firebase Service Account key file for Android FCM HTTP v1"
  2. First observedv2.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, but the description adds real context: it requires PUSHNOTIF_API_KEY, costs 0 credits, and stores credentials encrypted. It also spells out the return shape, which matters since no output schema exists. Only minor gap is what happens on partial credential updates (one platform only).

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?

Front-loaded with the core action, then usage, prerequisite, auth/cost, and return value in a single dense paragraph with no filler. The em-dash credential enumeration makes one sentence heavy, but every clause carries information.

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

Completeness5/5

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

For a 6-parameter mutation with no output schema, the description covers purpose, platform scoping, prerequisite, auth key, cost, idempotency, and the exact JSON return shape. An agent has everything needed to invoke it correctly.

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 baseline is 3, but the description goes further by mapping the credential families to platforms — FCM service-account.json for Android, .p8 AuthKey/Key ID/Team ID/Bundle ID for iOS — clarifying which fields group together. It does not add format detail beyond the schema's own examples.

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

Purpose5/5

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

States a specific verb (store) and resource (native mobile push credentials for FCM/APNs) and explicitly scopes it to Android/iOS native push. It names the boundary against Web Push handled by create_app, so an agent can separate it from create_app and send_push_notification without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit when ('enabling native Android or iOS push delivery') and an explicit when-not ('do not use it for standard browser Web Push... from create_app'), plus the prerequisite to call list_apps first. Alternatives and selection conditions are fully spelled out.

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