Skip to main content
Glama

Update asset

update_asset
DestructiveIdempotent

Update an asset's editable metadata: title, description, tags (replaces existing), status, custom field values, or move it to a different board. Only the fields you pass are changed — omit a field to leave it as-is. fields is where custom field VALUES are set; call list_custom_fields first for the exact spelling.

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": {
      "token": "<token>"
    },
    "name": "update_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoFull set of manual tags to apply (replaces existing)
titleNoNew title
tokenYesAsset token
fieldsNoCustom field values, keyed by field name: { "Priority": "High" }. For an option field, both the field name and the value must match an existing field and one of its options EXACTLY (see list_custom_fields) — one that does not exist comes back as an error naming the valid fields or options, while the rest of the update is still saved. A multi_select field also takes a list, { "Platforms": ["Web", "iOS"] }, and then holds exactly those options; every other field takes one value. The built-in Status field is set with `status`, not here. Typed fields take a plain string instead: a date field an ISO date (YYYY-MM-DD), a person field a member token (from list_members), a url field an http(s) URL, a text field one line of at most 500 characters; an unparseable value fails the whole update. "" or [] clears any field. list_custom_fields gives each field's `field_type` and exact name. Each supplied value REPLACES the asset's previous value for that field; custom fields omitted from the map remain unchanged. A value written on a group also applies to its members.
statusNoStatus label
descriptionNoNew description
ai_generatedNoMark the asset as produced by an AI tool. Prefer setting this when you CREATE the asset: on uploads that go through upload_prepare/upload_complete it also suppresses automatic duplicate merging and grouping, and that runs once the upload finishes — setting it later records the marker but cannot undo a merge.
organizationNoWorkspace slug, as returned by list_organizations. Omit it when the account has a single workspace — it is then resolved from your token. Pass it only when the account has several, or when you mean a workspace other than the obvious one.
ai_agent_payloadNoFree-form JSON metadata stored with the asset — for example generation settings such as model and seed, or a source job id. Playbook never interprets it. Max 4096 BYTES of serialised JSON; anything larger is REJECTED, never truncated. A write REPLACES the whole object, so read the asset first if you mean to keep existing keys. You can read it back per asset (get_asset, or list/search with get_ai_payload=true) but you CANNOT search or filter on it — do not try to find assets by payload contents.
collection_tokenNoBoard token to move the asset to

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / ai_agent_payload / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / fields / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / fields / additionalProperties / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  }
      +]
    • removedInput schema / properties / fields / additionalProperties / type
      Removed value: -"string"
    • changedInput schema / properties / fields / description
      Previous value: -"Custom field values, keyed by field name: { \"Priority\": \"High\" }. For an option field, both the field name and the value must match an existing field and one of its options EXACTLY (see list_custom_fields) — one that does not exist comes back as an error naming the valid fields or options, while the rest of the update is still saved. The built-in Status field is set with `status`, not here. Typed fields take a plain string instead: a date field an ISO date (YYYY-MM-DD), a person field a member token (from list_members), a url field an http(s) URL; \"\" clears a typed field, and an unparseable value fails the whole update. list_custom_fields gives each field's `field_type` and exact name. Each supplied value REPLACES the asset's previous value for that field; custom fields omitted from the map remain unchanged. A value written on a group also applies to its members."New value: +"Custom field values, keyed by field name: { \"Priority\": \"High\" }. For an option field, both the field name and the value must match an existing field and one of its options EXACTLY (see list_custom_fields) — one that does not exist comes back as an error naming the valid fields or options, while the rest of the update is still saved. A multi_select field also takes a list, { \"Platforms\": [\"Web\", \"iOS\"] }, and then holds exactly those options; every other field takes one value. The built-in Status field is set with `status`, not here. Typed fields take a plain string instead: a date field an ISO date (YYYY-MM-DD), a person field a member token (from list_members), a url field an http(s) URL, a text field one line of at most 500 characters; an unparseable value fails the whole update. \"\" or [] clears any field. list_custom_fields gives each field's `field_type` and exact name. Each supplied value REPLACES the asset's previous value for that field; custom fields omitted from the map remain unchanged. A value written on a group also applies to its members."
  3. Changed5 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / ai_agent_payload / description
      Previous value: -"Your own scratch space on this asset — prompt, model, seed, source job id, anything you need to recognise it in a later session. Playbook never interprets it. Max 4096 BYTES of serialised JSON; anything larger is REJECTED, never truncated. A write REPLACES the whole object, so read the asset first if you mean to keep existing keys. You can read it back per asset (get_asset, or list/search with get_ai_payload=true) but you CANNOT search or filter on it — do not try to find assets by payload contents."New value: +"Free-form JSON metadata stored with the asset — for example generation settings such as model and seed, or a source job id. Playbook never interprets it. Max 4096 BYTES of serialised JSON; anything larger is REJECTED, never truncated. A write REPLACES the whole object, so read the asset first if you mean to keep existing keys. You can read it back per asset (get_asset, or list/search with get_ai_payload=true) but you CANNOT search or filter on it — do not try to find assets by payload contents."
    • removedInput schema / properties / context
      Removed value: -{
      -  "description": "Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): \"Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization.\"",
      -  "type": "string"
      -}
    • changedInput schema / properties / fields / description
      Previous value: -"Custom field values, keyed by field name: { \"Priority\": \"High\" }. For an option field, both the field name and the value must match an existing field and one of its options EXACTLY (see list_custom_fields) — the API skips anything it cannot match and still reports success, so verify the returned `fields` map. Typed fields take a plain string instead: a date field an ISO date (YYYY-MM-DD), a person field a member token (from list_members), a url field an http(s) URL; \"\" clears a typed field, and an unparseable value fails the whole update. list_custom_fields gives each field's `field_type` and exact name. Each supplied value REPLACES the asset's previous value for that field; custom fields omitted from the map remain unchanged. A value written on a group also applies to its members."New value: +"Custom field values, keyed by field name: { \"Priority\": \"High\" }. For an option field, both the field name and the value must match an existing field and one of its options EXACTLY (see list_custom_fields) — one that does not exist comes back as an error naming the valid fields or options, while the rest of the update is still saved. The built-in Status field is set with `status`, not here. Typed fields take a plain string instead: a date field an ISO date (YYYY-MM-DD), a person field a member token (from list_members), a url field an http(s) URL; \"\" clears a typed field, and an unparseable value fails the whole update. list_custom_fields gives each field's `field_type` and exact name. Each supplied value REPLACES the asset's previous value for that field; custom fields omitted from the map remain unchanged. A value written on a group also applies to its members."
    • changedInput schema / required
      Previous value: -[
      -  "token",
      -  "context"
      -]New value: +[
      +  "token"
      +]
  4. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the risk profile is covered upstream. The description adds real value with 'tags (replaces existing)' and the partial-update contract, both consistent with the destructive and idempotent hints. The heavier behavioral disclosure — 4096-byte rejection on ai_agent_payload, whole-object replacement, one-time duplicate-merge suppression via ai_generated, and partial-save on bad option values — lives in schema property text rather than the description, so the description itself carries only modest weight.

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?

Three tight sentences with no filler: the capability list is front-loaded, the patch contract follows, then the one non-obvious parameter routing hint. Every sentence carries information an agent needs before calling.

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 a nested object and no output schema, the description covers the shape of the operation and the key footgun (tags replacement) plus the custom-field lookup path. The remaining risk areas (payload size limit, payload whole-object replacement, overwriting ai_generated post-upload) are documented in the schema, so completeness is reasonable but not fully self-contained.

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%, so the baseline is 3. The description's only increment is clarifying that `fields` holds custom field VALUES and pointing at list_custom_fields for exact naming — useful disambiguation, but list_custom_fields is already referenced inside the `fields` schema text, so the added meaning over structured data is thin.

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?

States a specific verb and resource and enumerates the editable surface (title, description, tags, status, custom fields, board move), which is more than the title alone conveys. It does not differentiate from close siblings such as update_asset_status, change_asset_tags, or move_assets, which overlap with several of the listed capabilities, so the agent cannot tell from the description alone which entry point is canonical.

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 explicit context for correct invocation: patch semantics ('omit a field to leave it as-is') and a prerequisite with a named helper ('call list_custom_fields first for the exact spelling'). It stops short of exclusion guidance — nothing says when to prefer update_asset_status or change_asset_tags over this tool, or when a board move should go through move_assets.

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