Skip to main content
Glama

Update application

update_application
DestructiveIdempotent

Queue the backend-selected newer release for an owned managed application, then confirm and poll events for the update result. Requires exact advertised blueprint and upstream versions.

Instructions

Queue the backend-selected newer immutable release for an owned managed application. First read get_application_installation and copy the exact advertised blueprint_version and upstream_version as execution preconditions; these are not caller-selected targets. Confirm the update, then poll installation and events for the final result. Requires applications:manage.

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": {
      "orderNo": "<orderNo>",
      "installation_id": "<installation_id>",
      "idempotencyKey": "<idempotencyKey>",
      "confirmed": "<confirmed>",
      "expected_blueprint_version": "<expected_blueprint_version>",
      "expected_upstream_version": "<expected_upstream_version>"
    },
    "name": "update_application"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1
confirmedYesTrue only after the user confirms this exact action
idempotencyKeyYesClient-global unique key for this exact lifecycle request. Reuse only for an unchanged retry.
installation_idYesManaged application installation UUID
expected_upstream_versionYesExact upstream_version from the current available_actions update capability
expected_blueprint_versionYesExact blueprint_version from the current available_actions update capability

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.3.21
    • addedInput schema / properties / installation_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
  2. First observedv2.3.16

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true; the description adds real context beyond them: the operation is queued asynchronously, requires the applications:manage permission, and that the version values are execution preconditions rather than requested targets. It stops short of stating whether the queued update can be rolled back or what happens on a failed precondition, which matters for a destructive mutation.

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?

Four sentences, front-loaded with purpose first, then precondition source, workflow, and permissions — no filler. "Confirm the update" mildly duplicates the schema's confirmed const:true constraint, which keeps it from a perfect score.

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 destructive, open-world mutation with no output schema, the description covers the essentials: prerequisite read, precondition values, idempotency intent, confirmation, and how to observe the outcome via polling. Missing are failure/retry semantics and rollback expectations, which an agent would need for a destructive operation.

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 coverage is 100%, so the schema already documents all six parameters, establishing the baseline of 3. The description does add genuine meaning for expected_blueprint_version and expected_upstream_version by framing them as preconditions sourced from a prior read rather than caller-selected values, but it says nothing about orderNo, idempotencyKey reuse, or the confirmed flag beyond 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?

The description opens with a specific verb and resource: "Queue the backend-selected newer immutable release for an owned managed application." It distinguishes the operation from sibling actions like install_application or cancel_application_action by emphasizing that the release is backend-selected and immutable, not an arbitrary target chosen by the caller.

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 prescribes a concrete prerequisite (read get_application_installation first and copy the advertised versions) and a post-call step (confirm, then poll installation and events). What's missing is explicit negative guidance — e.g., when to prefer cancel_application_action or what to do if no newer release is advertised — so it is strong context without full when-not coverage.

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

Deploy Server

Other Tools