Skip to main content
Glama

tag_asset

DestructiveIdempotent

Add, remove, or replace tags on a single asset so you can find it again with list_assets(tag); returns the asset's updated full tag list.

Instructions

Add, remove or replace the tags on one asset, so it can be found again with list_assets(tag). To tag a single clip or edit inside an asset use tag_frame instead. Free; only the tags change, but mode 'replace' or 'remove' drops existing tags, and repeating a call gives the same result. Returns the asset's full tag list after the change.

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": {
      "id": "<id>",
      "tags": "<tags>"
    },
    "name": "tag_asset"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesAsset ID (from list_assets / get_asset or a previous result)
modeNoadd = keep existing tags and add these, remove = drop these, replace = set exactly theseadd
tagsYesTags, e.g. ['player', 'level-1']. Case-insensitive duplicates are merged

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing cost ('Free'), the blast radius ('only the tags change'), and the destructive nuance that 'replace' or 'remove' drops existing tags — more precise than the generic destructiveHint=true. It also states the return value (full tag list after the change). Idempotency is restated rather than newly explained, which keeps it just short of a 5.

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?

Front-loaded with the core action and kept to four sentences, each carrying information. The semicolon-chained sentence ('Free; only the tags change, but...') is slightly dense and could be split for readability, but there is no filler.

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

Completeness5/5

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

Covers everything an agent needs for a 3-parameter mutation with no output schema: cost, scope of mutation, destructive mode behavior, idempotency, and the shape of the return value. Nothing material is left to inference.

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, but the description adds consequence-level meaning for the mode enum ('replace' or 'remove' drops existing tags') that the schema's one-line mode descriptions only imply. The id parameter is not elaborated, but its schema description already points to list_assets/get_asset.

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 set (add/remove/replace) on a specific resource (tags on one asset), and immediately names the sibling it is not: 'To tag a single clip or edit inside an asset use tag_frame instead.' An agent can distinguish this from tag_frame and list_assets without opening a schema.

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

Usage Guidelines5/5

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

Gives the reason to use it ('so it can be found again with list_assets(tag)') and the explicit alternative for the adjacent case (tag_frame for clips/edits inside an asset). The routing decision between the two tag tools is unambiguous.

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