Skip to main content
Glama

Assign tag to asset

assign_asset_tag
Destructive

Assign a tag to an asset by tag ID and request or vector ID, resolving unresolved references before tag state is added.

Instructions

Assign a tag to an asset. Provide a request ID or vector ID; unresolved references are materialized before tag state is added.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tag_idYesTag ID
accountNoExact private account key profile label, not an authenticated provider owner ID.
confirmNoSet true only when the user asked for exactly this action.
payloadNoComplete native JSON body, mutually exclusive with flat body flags and payload_file. Use schema for union bodies.
vector_idNoVector ID to save as an asset before mutating
request_idNoRequest ID to save as an asset before mutating
payload_fileNoAbsolute regular non-symlink private JSON file, at most 1 MiB. Cannot mix with other body inputs.
Idempotency_KeyNoOptional idempotency key for safe request retries

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.1
    • changedInput schema / properties / confirm / description
      Previous value: -"Must be true for the requested mutation, paid work or private output file."New value: +"Set true only when the user asked for exactly this action."
  2. First observedv2.0.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety profile is covered structurally. The description adds genuine behavioral context beyond them: unresolved request/vector references are materialized (a persisted asset is created) before the tag state is added, warning the agent of an extra side effect.

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, zero filler, with the core action front-loaded before the reference-handling caveat. Every clause carries information an agent needs.

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?

For a destructive, non-idempotent mutation with 8 parameters, nested payload objects and no output schema, the description is thin: it omits the confirm guard semantics and retry behavior tied to Idempotency_Key, relying on the schema to carry that load. It is adequate but leaves meaningful gaps for a high-risk write.

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 schema already documents all 8 parameters including confirm, Idempotency_Key, payload and payload_file. The description echoes only the vector_id/request_id path and adds no syntax or format detail beyond what the schema provides, so the baseline 3 applies.

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?

The description states a specific verb and resource ("Assign a tag to an asset"), which is clear and distinct from the obvious inverse sibling unassign_asset_tag. However, it never differentiates itself from set_asset_tags_for_asset or create_asset_tag, so sibling routing remains partly inferential.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, and no alternative tool is named despite several overlapping tag siblings (set_asset_tags_for_asset, create_asset_tag, unassign_asset_tag). The second sentence addresses how to supply inputs, not when to select this tool over another.

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