Skip to main content
Glama

Update status bar

update_status_bar
DestructiveIdempotent

Change the Status Bar in the current version's draft, like the dashboard's Status Bar screen: its background color as a hex value and whether its text is dark or light. Call get_app_theme first and send only what changes; what you leave out stays. 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. A refusal about the merchant's plan: relay it and don't retry. 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_status_bar"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesThe application_id recorded in this project's Twinr section.
text_colorNoLeave out to keep it.
background_colorNoHex color like #FFFFFF. Leave out to keep it.

Output Schema

NameRequiredDescriptionDefault
messageYes
next_stepYes
status_barYes
version_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Although annotations already mark this as destructive and idempotent, the description adds substantial behavioral context: draft-only scope, partial-update semantics, refusal handling, next_step branching, app-version creation, and the requirement to relay reply messages. These details go well beyond what the annotations provide.

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?

The purpose and partial-update rule are front-loaded, and most of the long workflow narrative is operationally necessary for safe invocation. However, phrases like 'like the dashboard's Status Bar screen' and the final example saying 'Updating the icon' for a status-bar tool add avoidable noise and could be trimmed or corrected.

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 complex mutation tool, the description covers prerequisites, app-id resolution, refusal paths, next_step follow-ups, and merchant communication. Since an output schema exists, it does not need to explain return values, and no material invocation gap remains.

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 description coverage is 100%, and the schema already documents app_id, the text_color enum, the background_color hex pattern, and that omitted optional fields are kept. The description repeats the hex/dark-light and leave-out semantics rather than adding materially new parameter meaning, so the high-coverage baseline of 3 applies.

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 description opens with 'Change the Status Bar in the current version's draft' and names the two settings it controls: background color as a hex value and whether text is dark or light. The verb, resource, and scope are explicit, and it is clearly distinguishable from sibling bar-update tools such as update_navigation_bar and update_tab_bar.

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 explicitly directs the agent to call get_app_theme first, send only changed values, handle app-version and plan refusals differently, branch on next_step, resolve missing application_id via list_apps, and announce the app by name. It also names alternatives like publish_changes and start_build and explicitly says never to call them unprompted.

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