Skip to main content
Glama

Update addon

update_addon
Destructive

[REQUIRES HUMAN APPROVAL] Change an event extra, such as merchandise or parking. Select its addonId from list_addons and supply the fields to change; returns the add-on API response.

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": {
      "addonId": "<addonId>",
      "attributes": "<attributes>"
    },
    "name": "update_addon"
  }
}

Input Schema

NameRequiredDescriptionDefault
addonIdYesAdd-on ID.
confirmNo[REQUIRES HUMAN APPROVAL] Pass `true` to execute. This is a programmatic backstop to the description tag. Destructive tools also require your approval through the client.
attributesYesAdd-on fields to update.
idempotencyKeyNoReuse the same key to replay a recorded successful request; use a new key for a different change.

Output Schema

NameRequiredDescriptionDefault
idNoAdd-on identifier.
nameNoAdd-on name.
typeNoResource type.
resultNoThe API result when it is a list, scalar or null rather than an object.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "id": {
      +      "description": "Add-on identifier.",
      +      "type": [
      +        "string",
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "name": {
      +      "description": "Add-on name.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "result": {
      +      "description": "The API result when it is a list, scalar or null rather than an object."
      +    },
      +    "type": {
      +      "description": "Resource type.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / attributes / description
      Added value: +"Add-on fields to update."
    • addedInput schema / properties / idempotencyKey / description
      Added value: +"Reuse the same key to replay a recorded successful request; use a new key for a different change."
  3. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds context beyond them: the human-approval requirement in the tag and the partial-update framing ('supply the fields to change'), which tells the agent that unspecified fields are left alone. It does not describe failure modes or what the approval flow actually entails, but with an output schema present the return-value burden is lifted.

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

Conciseness5/5

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

Two sentences, with the approval requirement front-loaded so a gate-critical warning is seen before anything else. Every clause carries information: the approval tag, the resource gloss, the discovery source, and the update semantics.

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

Completeness3/5

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

Annotations, a full-coverage schema, and an output schema mean most structured burden is already carried, so the description is close to adequate. However, 'attributes' is an unconstrained object with additionalProperties and the description never enumerates the updatable addon fields, leaving an agent without enough information to construct a correct payload.

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; the description earns an extra point by explaining where addonId comes from (list_addons) and that 'attributes' means only the fields to be changed rather than a full replacement. It still does not enumerate which keys are valid inside the free-form attributes object, which is the main remaining ambiguity.

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?

"Change an event extra, such as merchandise or parking" gives a specific verb (change) plus a plain-language gloss on what an 'addon' is, which resolves the ambiguity of the resource name. It does not explicitly differentiate itself from create_addon by name, but the 'change' verb combined with the required addonId makes the intent unambiguous.

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 clear prerequisite guidance: take the addonId from list_addons first, then supply only the fields to change. It also flags the human-approval gate up front. It stops short of stating when not to use this tool (e.g., for creating a new addon), so it falls just short of an explicit alternatives section.

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