Skip to main content
Glama

Update app settings

update_app_settings
DestructiveIdempotent

Change App Settings in the current version's draft, like the dashboard's App Settings screen. Send only the options to change. The defaults suit most apps: explain an option when the merchant asks about it, and change one only when they ask. portrait_mode locks every screen upright; prevent_sleep keeps the screen awake while the app is open (scanners, kiosks); webview_zoom lets customers pinch-zoom the site (leave off for responsive sites). These three can reach installed apps over the air, without a build. ipad_support publishes a tablet-ready iOS app (off removes it from iPad) and needs a new iOS build. min_android_version is the lowest Android API level the app installs on and needs a new Android build. A refusal saying a newer app version is needed: offer a new version, asking the merchant for its number, then call create_app_version and this tool again. Always relay the reply's message. When the reply has a next_step, first ask whether there's anything else to change, since one publish or build covers every change so far. Then for publish, offer publish_changes; for build, offer start_build; for subscribe, relay the message and offer neither. If you made a change earlier in this conversation that needs a build, offer a build instead of a publish. Never call publish_changes or start_build unprompted. If this project's Twinr section (replit.md on Replit, otherwise AGENTS.md) has no application_id, call list_apps, show the merchant every organization and its apps, and ask which app this project is. Never choose one yourself, and never infer it from the project's name or URL. Then record it in the project's Twinr section. Before calling this tool, tell the merchant which app you are changing by name, e.g. "Updating the icon for Shop Name…".

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>"
    },
    "name": "update_app_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesThe application_id recorded in this project's Twinr section.
ipad_supportNoLeave out to keep it.
webview_zoomNoLeave out to keep it.
portrait_modeNoLeave out to keep it.
prevent_sleepNoLeave out to keep it.
min_android_versionNoLowest Android API level, e.g. 24 for Android 7. Leave out to keep it.

Output Schema

NameRequiredDescriptionDefault
messageYes
settingsYes
next_stepYes
version_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations, it discloses that edits land in the current version's draft, that portrait_mode/prevent_sleep/webview_zoom propagate to installed apps over the air without a build, while ipad_support and min_android_version require new builds. It also covers the refusal path, next_step handling, and the pre-call requirement to name the app being changed — context the annotations cannot convey.

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?

Purpose and per-option semantics are front-loaded before the workflow rules, and nearly every sentence carries operational weight. It is dense and runs long for a six-parameter tool, with the tail-end app_id resolution and naming ritual slightly crowding the core option guidance.

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 destructive, partially-OTA mutation with an output schema present, the description covers impact, draft semantics, build-vs-publish routing, error recovery, and the app_id discovery prerequisite. Nothing an agent needs to call it correctly is missing.

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

Parameters5/5

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

Schema coverage is 100%, so the baseline would be 3, but the description adds real meaning the schema lacks: what portrait_mode locks, the kiosk/scanner use case for prevent_sleep, the responsive-site caveat for webview_zoom, and the build consequences of ipad_support and min_android_version. This goes well past 'Leave out to keep it'.

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?

The first sentence names a specific verb and resource ('Change App Settings in the current version's draft') and anchors it to a concrete analogue ('the dashboard's App Settings screen'), which separates it from siblings like update_app_icon or update_app_permissions. An agent can identify the tool 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 Guidelines5/5

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

It states the default posture ('The defaults suit most apps... change one only when they ask'), names the alternatives to offer in each branch (create_app_version, publish_changes, start_build, list_apps), and adds explicit exclusions ('Never call publish_changes or start_build unprompted', 'Never choose one yourself'). The when/when-not/alternative structure is fully present.

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