Skip to main content
Glama

Ungroup assets

ungroup_assets
Destructive

Pull assets out of the group they belong to, leaving them as standalone assets on the folder. A group is a container asset that holds other assets as variants — different formats or crops of the same thing, or a set of colour swatches, which Playbook shows as a palette. The group has no file of its own and takes its preview from its first displayable child. Requires a token with the write scope. Every token must name an asset that is currently inside a group — one that is not makes the whole call fail. IMPORTANT: a group left with fewer than two assets is dissolved — its last asset is freed too and the group asset is deleted. So ungrouping one member of a two-member group frees both, and the returned list names only the assets you asked for, not every asset that changed. Re-read the group with get_asset if you need its current state.

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": {
      "child_asset_tokens": "<child_asset_tokens>"
    },
    "name": "ungroup_assets"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
child_asset_tokensYesTokens of the grouped assets to pull out

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • 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 / required
      Previous value: -[
      -  "child_asset_tokens",
      -  "context"
      -]New value: +[
      +  "child_asset_tokens"
      +]
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the destructiveHint annotation by explaining the hidden side effect: a group left with fewer than two assets is dissolved and its last asset freed, so ungrouping one member of a pair frees both. It also discloses the write-scope requirement, the all-or-nothing failure mode, and that the returned list names only the requested assets — exactly the context an agent needs before invoking a destructive call.

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-loads the action, then the key warning. The mid-paragraph explanation of what a group is (variants, palettes, preview from first child) is slightly tangential but justifies the destructive behavior that follows. Nothing is redundant enough to cut entirely.

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?

For a destructive, non-idempotent mutation with no output schema, the description covers preconditions, authorization, failure semantics, side effects on unmentioned assets, and return-value scope. An agent can call it correctly without further inspection.

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 parameters are already documented. The description still adds meaning the schema does not: child_asset_tokens must all currently reside in a group, and the workspace/organization resolution is implicitly tied to token scope. Marginal but real added value.

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?

Opens with a concrete verb and resource: "Pull assets out of the group they belong to, leaving them as standalone assets." It then defines what a group is, which makes the operation unambiguous next to siblings like group_assets or move_assets.

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?

States a hard precondition for usage (every token must name a currently grouped asset or the whole call fails) and routes the agent to get_asset to re-read state. It stops short of explicitly contrasting with group_assets or naming alternatives for restructuring, so it is clear but not fully routing.

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