Skip to main content
Glama

Update brand asset details

update_brand_asset
DestructiveIdempotent

Changes the description or tags of one stored brand image and returns the updated asset; at least one of the two is needed. The image file itself is not replaced or analyzed.

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": {
      "asset_id": "<asset_id>"
    },
    "name": "update_brand_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoReplacement list of up to 20 short tags for this image.
asset_idYesBrand image id from list_brand_assets.
descriptionNoNew description of what the image shows, up to 2,000 characters; null clears it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "https://json-schema.org/draft/2020-12/schema",
      -  "additionalProperties": false,
      -  "properties": {
      -    "asset": {
      -      "anyOf": [
      -        {
      -          "additionalProperties": false,
      -          "description": "asset value in this response.",
      -          "properties": {
      -            "asset_type": {
      -              "anyOf": [
      -                {
      -                  "description": "asset type value in this response.",
      -                  "enum": [
      -                    "product",
      -                    "lifestyle",
      -                    "model",
      -                    "logo",
      -                    "reference"
      -                  ],
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "asset type value in this response."
      -            },
      -            "brand_id": {
      -              "anyOf": [
      -                {
      -                  "description": "Reference for the selected brand.",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Reference for the selected brand."
      -            },
      -            "created_at": {
      -              "anyOf": [
      -                {
      -                  "description": "created at value in this response.",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "created at value in this response."
      -            },
      -            "description": {
      -              "anyOf": [
      -                {
      -                  "description": "description value in this response.",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "description value in this response."
      -            },
      -            "id": {
      -              "anyOf": [
      -                {
      -                  "description": "id value in this response.",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "id value in this response."
      -            },
      -            "is_primary": {
      -              "anyOf": [
      -                {
      -                  "description": "is primary value in this response.",
      -                  "type": "boolean"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "is primary value in this response."
      -            },
      -            "metadata": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": false,
      -                  "description": "metadata value in this response.",
      -                  "properties": {
      -                    "content_type": {
      -                      "anyOf": [
      -                        {
      -                          "description": "content type value in this response.",
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "content type value in this response."
      -                    },
      -                    "file_size": {
      -                      "anyOf": [
      -                        {
      -                          "description": "file size value in this response.",
      -                          "type": "number"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "file size value in this response."
      -                    },
      -                    "original_name": {
      -                      "anyOf": [
      -                        {
      -                          "description": "original name value in this response.",
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ],
      -                      "description": "original name value in this response."
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "metadata value in this response."
      -            },
      -            "tags": {
      -              "anyOf": [
      -                {
      -                  "description": "tags value in this response.",
      -                  "items": {
      -                    "description": "tags value in this response.",
      -                    "type": "string"
      -                  },
      -                  "type": "array"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "tags value in this response."
      -            },
      -            "updated_at": {
      -              "anyOf": [
      -                {
      -                  "description": "updated at value in this response.",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "updated at value in this response."
      -            },
      -            "url": {
      -              "anyOf": [
      -                {
      -                  "description": "url value in this response.",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "url value in this response."
      -            }
      -          },
      -          "type": "object"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "description": "asset value in this response."
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Changed3 schema fields changed
    • changedInput schema / properties / asset_id / description
      Previous value: -"Brand image reference from list_brand_assets."New value: +"Brand image id from list_brand_assets."
    • changedInput schema / properties / description / description
      Previous value: -"Short description of this item."New value: +"New description of what the image shows, up to 2,000 characters; null clears it."
    • changedInput schema / properties / tags / description
      Previous value: -"Short labels for organizing this image."New value: +"Replacement list of up to 20 short tags for this image."
  3. First observed

TDQS

A4.4/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=false, so the safety profile is largely covered. The description adds real context beyond them: what is returned (the updated asset), what is untouched (the image file, no analysis), and the at-least-one-field requirement. It does not spell out that supplied tags fully overwrite the existing list, which is the main thing that makes the operation destructive.

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, both load-bearing. The core action and the at-least-one rule lead, and the scope-limiting clause follows, with no filler.

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 three-parameter metadata update with a fully described schema and no output schema, the description covers the action, the return value, the field requirement, and the blast radius. Only the tag-replacement-overwrite behavior and any error condition for an unknown asset_id are left unstated.

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 baseline is 3; the description earns extra credit by stating a cross-parameter constraint the schema cannot express — at least one of description or tags must be supplied even though only asset_id is required. Null-clears and tag caps are already documented in the schema, so no further detail is added there.

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?

States a specific verb and resource ("Changes the description or tags of one stored brand image") plus the return value, and explicitly bounds scope with "The image file itself is not replaced or analyzed," which separates it from upload_brand_asset and register_brand_asset_url. An agent can identify this as a metadata-only edit 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 Guidelines4/5

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

Gives a concrete precondition ("at least one of the two is needed") and implicitly excludes file-replacement work via the negative scope sentence. It does not name a sibling alternative or state when to prefer another tool, so it falls short of a full routing statement.

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.