Skip to main content
Glama

CodePress Sites

Update app

update_app
Destructive

Updates an App: rename, publish/unpublish, access mode, status. On an agent artifact (origin 'artifacts') only name, description, access mode and is_published apply: is_published=false unpublishes it (its public and team share links, edge copy and share image stop serving, while members still reach it in the dashboard; sharing settings are kept; reversible) and is_published=true publishes it again, bringing its share link back if sharing was on. Compact metadata by default; verbose=true returns full authorized App metadata.

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"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
slugNo
app_idYesApp UUID.
verboseNo
access_modeNo
descriptionNo
widget_pathNoPath inside the App's bundle (e.g. 'widget/index.html') that renders a compact widget for collection panels; relative, no '..'. '' clears it.
badge_sourceNoWhere the sidebar reads a count for this App's pinned icon (unread items, say): {server_name: a build server linked to the App, path: a relative GET path on it such as '/api/badge'}, answering {count: int} or an int; 0 shows no badge. null clears it.
is_publishedNo
organizationNoOrg slug or id to act in; the default organization when omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the destructiveHint/openWorldHint annotations, the description spells out the concrete consequences of unpublishing: share links, edge copy and share image stop serving, members still reach it in the dashboard, sharing settings are preserved, and the action is reversible. That materially softens the destructive flag and is exactly the kind of context annotations cannot convey. It does not address permission requirements, what happens to fields not mentioned, or why the operation is non-idempotent.

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 tool's core scope is front-loaded in one short clause, followed by the artifact-specific rules and then the return-format default. The middle sentence is long and heavily parenthesized but every clause carries distinct operational information, so little could be cut without losing meaning.

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

Completeness4/5

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

For a 10-parameter mutation tool with no output schema and a destructive annotation, the description covers the highest-risk behavior (unpublish/publish) and the return-format default well. The main remaining gap is whether omitted parameters leave existing values untouched, plus permission prerequisites, which an agent would need to call this confidently.

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 only 40% across 10 parameters, so there is room to compensate. The description does add real meaning for is_published (true vs false semantics and reversibility) and verbose (compact vs full metadata), and it clarifies which parameters are meaningful on agent artifacts. However, slug versus name, the access_mode enum values, and partial-update behavior for omitted fields remain unexplained.

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 names a specific verb (updates) and resource (an App) and enumerates the editable facets: rename, publish/unpublish, access mode, status. It implicitly scopes itself to app metadata rather than app content, but never names update_app_content as the sibling to use for content edits, so an agent must infer that boundary.

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

Usage Guidelines4/5

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

It gives a strong conditional rule: on an artifact with origin 'artifacts' only name, description, access mode and is_published apply, which steers the agent away from passing irrelevant fields. It also explains when to set verbose. It stops short of stating when to prefer update_app_content or update_app over this tool for overlapping work.

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.