Skip to main content
Glama

Propose a policy change

propose_policy_change

Propose one change to an existing policy: pass policyId and exactly one of the parts below; for changes of several kinds, call it once per part. Parts: settings (the restrictions, security, connectivity, location, reporting and Play Store settings get_policy_settings lists); apps (add, remove or change how apps are installed); homeScreen (kiosk mode, the Nomid launcher or the device's own home screen, and the dock); wallpaper (the wallpaper of the devices' home and lock screen: an image by URL or uploaded in the chat, the company default or none); details (the description, tags or policy group); edits (anything else, such as Wi-Fi, passwords or fences, as JSON Pointer edits of get_policy_document).

settings: Propose changing settings of an existing policy (restrictions, security, connectivity, location, reporting, Play Store mode). Nothing changes yet: this returns a proposal with the change list (current -> new value), the number of devices on the policy and its impact. Show the change list to the user and get their explicit approval. Read get_policy_settings first for the ids, current and allowed values. Change only the settings the user asked for: one setting can cover several words of the request (DEVELOPER_SETTINGS is developer options and USB debugging), and a setting with a similar name is not part of it (USB_DATA_ACCESS is file transfer over USB, not debugging). Apps are changed with the apps part; Wi-Fi and other networks, fences, the launcher look and everything else with the edits part.

apps: Propose adding apps to an existing policy (a Google Play or Nomid Store app by package name, or a Nomid secure web app for a URL), removing them, or changing how they are installed. Nothing changes yet: this returns a proposal with the change list, the number of devices on the policy and its impact. Show it to the user and get their explicit approval. find_app says whether an app is already in the policy, in the Library, on Google Play or installed on a device; get_policy_settings lists the policy's apps. Nomid's own apps and the kiosk app can't be changed here, nor can an app be made the kiosk app: kiosk mode, the kiosk app and the dock are set with the homeScreen part. In a kiosk that opens a single app, an added app is installed but not shown.

homeScreen: Propose switching the home screen of an existing policy, as the portal's Launcher section does: kiosk mode on or off (Nomid Kiosk, multi-app or locked to a single app), the Nomid launcher, or the device's own home screen, and which apps sit in the launcher's dock. Nothing changes yet: this returns a proposal with the change list, the number of devices on the policy and its impact (HIGH whenever devices are on it). Show it to the user and get their explicit approval. The Nomid launcher can also show the device's own built-in apps (addSystemApps: PHONE, CONTACTS, CAMERA, MESSAGES, SETTINGS, BROWSER), which open whatever app fills that role on the device: this is how a preinstalled dialer or contacts app that isn't on Google Play gets on the home screen, with no package name. Nomid Kiosk doesn't offer them: it opens only the policy's own apps. Which other installed apps the launcher and the multi-app kiosk also show is appsOutsidePolicy (by default every installed app, preinstalled ones included): only when the user says the kiosk or launcher shows apps they didn't choose, or asks to hide or show such apps, propose the current mode with appsOutsidePolicy POLICY_ONLY; on any other change leave it out. The kiosk app and the other dock apps must already be in the policy: add them with the apps part first, and propose this only once that change is applied (applied with apply_policy_proposal; never while it is still pending). Read the current mode with get_policy_document (its overview says it) before saying what the policy has. Once in kiosk, its controls (status bar, navigation buttons, power button, device settings) are edited with the edits part at /kioskCustomization.

wallpaper: Propose the wallpaper of an existing policy's devices, as the portal's Apps & experience > Home screen > Appearance > Wallpaper sets it. The Nomid Settings app applies it to the home and the lock screen of every device, whatever the home screen (the device's own, the Nomid launcher or a kiosk), and puts it back when someone changes it; the policy needs that app (tech.nomid.emm.settings.fastup01). A logo or picture the user sends in the chat can be the wallpaper (CHAT_IMAGE with its imageId): it is published for the devices only once the change is applied. A capture of the portal page can't. The current wallpaper is under nomidSettings.wallpaper in get_policy_document. Nothing changes yet: this returns a proposal with the change list.

details: Propose changing how an existing policy is organized in the portal: its description, its tags or the policy group it belongs to. Devices are not affected. Nothing changes yet: this returns a proposal with the change list. Show it to the user and get their explicit approval. Tags replace the current list: read them with get_policy_document first and send the whole new list. A group must be one the user can move policies into; when it isn't, the answer names the groups they can use.

edits: Propose changes to any editable part of an existing policy - Wi-Fi networks, password rules, restrictions, system updates, launcher look, time and geo fences, an app's managed configuration - as JSON Pointer edits of the document get_policy_document returns (read it first and follow its field names and shapes). Nothing changes yet: this returns a proposal with each field's old and new value, the number of devices on the policy and its impact. Show it to the user and get their explicit approval. Prefer the settings part for the settings get_policy_settings lists, and the apps part to add or remove apps, the homeScreen part to switch kiosk mode or the launcher, and the details part for the description, tags or group. Contact lists, library files and the VR environment are attached by id: read /phoneContacts, /libraryFiles or /vr with get_policy_document, pick from the items it lists under attachable, then append {"phoneContactsUuid": ...} to /phoneContacts/-, {"libraryFileUuid": ...} to /libraryFiles/- or SET /vr/pico/vrEnvironmentId; REMOVE detaches one. A Wi-Fi network is added by appending {"Name": ..., "Type": "WiFi", "WiFi": {"SSID": ..., "Security": "WPA-PSK" (or "None", "WEP-PSK"), "Passphrase": ..., "AutoConnect": true}} to /openNetworkConfigurations/NetworkConfigurations/-; ask the user for a password the network needs, never invent one. A field the document doesn't show yet can still be SET: an app becomes the always-on VPN with /alwaysOnVpn set to {"packageName": ..., "lockdownEnabled": false} (true blocks the network until the VPN connects), once the app is in the policy (add it with the apps part first, and propose this only once that change is applied: applied with apply_policy_proposal; never while it is still pending); /personalUsagePolicies/maxDaysWithWorkOff is how many days the work profile of a company-owned device can stay off; /shortSupportMessage/message (and /longSupportMessage/message) is the support message devices show where a setting is blocked by the policy. strongUnlock in a /passwordPolicies entry (e.g. /passwordPolicies/0/strongUnlock, the entry of the scope the user means) set to EVERY_DAY makes the device ask for the PIN, pattern or password at least once every 24 hours, so it can't keep unlocking with fingerprint or face alone; DEFAULT_DEVICE_TIMEOUT keeps the device's own default (72 hours on stock Android). A schedule (time fence) is appended to /timeFence/rules/- as {"packages": [...], "availabilities": [{"dayOfWeek": "MONDAY", "startOpen": "08:00", "endClosed": "18:00"}, ...]}: the apps open only inside those windows, and not at all on a day without one. Enum values are Nomid's names as get_policy_document shows them (DEVICE, EVERY_DAY), not Google's (SCOPE_DEVICE, REQUIRE_EVERY_DAY); a refusal lists the accepted ones.

Once the user approves, apply it with apply_policy_proposal (a person approves a HIGH impact one in the Nomid portal instead: give the user its approvalUrl).

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": {
      "policyId": "<policyId>"
    },
    "name": "propose_policy_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
appsNoPart apps: add, remove or change how apps are installed. App changes, each app at most once.
editsNoPart edits: anything else, such as Wi-Fi, passwords or fences, as JSON Pointer edits of get_policy_document. Edits applied in order, each path at most once.
companyNoOptional: a `company` value from list_companies to run this in. Omit it for the connection's own company.
detailsNoPart details: the description, tags or policy group.
policyIdYesThe policy's path name - the unique identifier returned by list_policies as "pathName".
settingsNoPart settings: the restrictions, security, connectivity, location, reporting and Play Store settings get_policy_settings lists. Settings to change, each at most once. Ids and allowed values come from get_policy_settings (the same for every policy).
wallpaperNoPart wallpaper: the wallpaper of the devices' home and lock screen: an image by URL or uploaded in the chat, the company default or none.
homeScreenNoPart homeScreen: kiosk mode, the Nomid launcher or the device's own home screen, and the dock.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / wallpaper
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Part wallpaper: the wallpaper of the devices' home and lock screen: an image by URL or uploaded in the chat, the company default or none.",
      +  "properties": {
      +    "imageId": {
      +      "description": "source CHAT_IMAGE only: the imageId shown with the image the user uploaded.",
      +      "type": "string"
      +    },
      +    "source": {
      +      "description": "URL: an image on the web (url). CHAT_IMAGE: an image the user uploaded in this chat (imageId; the portal chat only). COMPANY_DEFAULT: the company's branding wallpapers, one per screen shape. NONE: Nomid sets no wallpaper, the device keeps its own.",
      +      "enum": [
      +        "URL",
      +        "CHAT_IMAGE",
      +        "COMPANY_DEFAULT",
      +        "NONE"
      +      ],
      +      "type": "string"
      +    },
      +    "url": {
      +      "description": "source URL only: the https address of the image itself (PNG or JPEG), not of a page showing it.",
      +      "maxLength": 2048,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "source"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations it discloses the key behavior: nothing changes yet, the call returns a proposal with change list, device count and impact, HIGH impact ones need a person to approve in the portal via approvalUrl, and the user must give explicit approval. It also surfaces dependencies (wallpaper needs tech.nomid.emm.settings.fastup01, chat images only published on apply) and side effects of the underlying change (REMOVE uninstalls from devices). Since destructiveHint=false is defensible for a propose-only tool, nothing here contradicts the annotations.

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

Conciseness3/5

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

It is front-loaded with a useful summary sentence followed by clearly labelled per-part sections, which is good structure. However it runs to roughly 1,200 words and repeats the same boilerplate ("Nothing changes yet: this returns a proposal with the change list... Show it to the user and get their explicit approval") in nearly every part section, and the parts are already implied by the schema's part descriptions. The density of genuinely useful detail offsets much of the length, but the duplication is real waste.

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-way mutually-exclusive, nested-object tool with 8 parameters and no output schema, the description covers everything an agent needs: which part to use, prerequisite reads, ordering, what the return contains, how impact and portal approval work, and the handoff to apply_policy_proposal. Nothing operationally necessary is missing.

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, but the description adds real meaning on top: it explains setting-ID ambiguity (DEVELOPER_SETTINGS covers developer options and USB debugging; USB_DATA_ACCESS is not), that Nomid enum names differ from Google's (DEVICE vs SCOPE_DEVICE), and that a field absent from the document can still be SET. It adds context to the edits part's JSON Pointer workflow and the append-vs-SET conventions rather than restating the schema.

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?

Opens with a precise verb+resource+shape: "Propose one change to an existing policy: pass policyId and exactly one of the parts below", then enumerates the six parts. It separates itself cleanly from apply_policy_proposal (the thing that actually applies), get_policy_document/get_policy_settings (the readers), and find_app, so an agent knows exactly what class of operation this is.

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 explicit routing rules between parts (settings for get_policy_settings ids, apps for add/remove, homeScreen for kiosk/launcher/dock, edits for everything else), names the prerequisites to call first (get_policy_settings, get_policy_document, find_app), and states hard ordering constraints: the kiosk app and dock apps must already be in the policy and applied via apply_policy_proposal, "never while it is still pending". It also gives when-not guidance, e.g. appsOutsidePolicy "only when the user says...; on any other change leave it out".

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources