Skip to main content
Glama

Import a solution zip

cs_import_solution

Import a packed Copilot Studio agent solution into a target environment using Power Platform CLI. Set confirm:true to apply; otherwise it returns a dry run.

Instructions

pac solution import of a packed agent (from cs_pack) into an environment. Mutates the environment: requires confirm: true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
confirmNoRequired to actually perform a change in a live environment. Without it the tool returns a dry run.
environmentNo
forceOverwriteNo
publishChangesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.8
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.5

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the two most important traits: the tool mutates a live environment and requires confirm: true. That is genuine value. It does not cover failure/rollback behavior, whether an existing solution is overwritten by default, or the side effects of publishChanges, so the disclosure is partial.

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 short sentences with the action front-loaded and the mutation/confirm constraint placed second, which is the right priority order. It is efficient with no filler, though the telegraphic phrasing leaves the sentences doing double duty.

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

Completeness2/5

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

For a five-parameter mutation tool with no annotations and no output schema, the description is too thin. It omits what happens to a pre-existing solution, the effect of forceOverwrite and publishChanges, and any indication of the result the agent should expect.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 20% — of five parameters, only confirm is documented in the schema. The description reinforces confirm and hints that path comes from cs_pack output, but environment, forceOverwrite, and publishChanges are unexplained in both places, leaving the majority of the input surface undocumented.

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: 'pac solution import of a packed agent (from cs_pack) into an environment.' It also identifies the upstream sibling (cs_pack) that produces the input, which helps distinguish it from cs_deploy_solution or cs_push. It stops short of explicitly contrasting itself with those sibling deployment tools.

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?

The reference to 'a packed agent (from cs_pack)' implies the prerequisite that packing must happen first, and the mutation warning implies this is a live-environment action rather than a dry run. However, it never states when to prefer this over cs_deploy_solution, cs_push, or cs_sync_solution, so the routing decision is left to inference.

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

Deploy Server

Other Tools