Skip to main content
Glama

Copy all asset units

port_copy_assets

Copies pending plan assets (textures, audio, models, fonts, video) into the output project, with an optional regex filter to limit which source paths are copied.

Instructions

Copies every pending asset unit (textures, audio, models, fonts, video) of a plan into the output project. match limits it with a regex.

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": {
      "planId": "<planId>"
    },
    "name": "port_copy_assets"
  }
}

Input Schema

NameRequiredDescriptionDefault
matchNoRegex over source paths.
planIdYesPort plan id from port_plan (port_status lists them).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.25.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, and openWorldHint=false, so the safety profile is covered structurally. The description adds useful behavior beyond that: only "pending" units are copied and the scope is asset units within a specific port plan. It does not disclose overwrite behavior on conflict, what happens to already-copied units, or whether a failed copy partially mutates the output project.

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?

Two compact sentences that front-load the core action and scope, with the filter noted second. No filler or repetition; slightly more compact than ideal because the parenthetical type list, while informative, stretches the main clause.

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 two-parameter mutation tool with no output schema and full annotation coverage, the definition is close to adequate but leaves gaps: no statement of what the call returns or reports, no prerequisite about the output project existing, and no note on partial failure. These matter for a non-idempotent copy operation.

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 coverage is 100%, and the schema's planId description already points at port_plan/port_status, so the baseline is 3. The description's "match limits it with a regex" is essentially a restatement of the schema's "Regex over source paths" and adds no scoping detail (e.g. whether match applies only to source paths or to asset names).

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 ("Copies") and resource ("every pending asset unit") with an explicit asset-type enumeration (textures, audio, models, fonts, video) and destination ("the output project"). An agent can distinguish this from port_plan or port_status, though no sibling is named as an alternative.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the phrase "pending asset unit ... of a plan" tells the agent this runs after a plan exists, and "match limits it" hints at an optional narrowing step. There is no explicit when-not guidance, no prerequisite statement (e.g. plan must be drafted/verified first), and no named alternative for related operations.

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