Skip to main content
Glama

Publish all customizations

cs_publish_customizations

Publish all unpublished customizations in a Copilot Studio environment. Requires confirmation to apply changes; without it, performs a dry run.

Instructions

Publish every unpublished customization in the environment (the 'Publish all customizations' button). Runs 'pac solution publish' with the active pac auth profile. Mutates a live environment: requires confirm: true (a dry run otherwise).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoWorking directory for pac (for project commands: the solution project folder)
asyncNoRun the operation asynchronously
confirmNoRequired to actually perform a change in a live environment. Without it the tool returns a dry run.
profileNopac auth profile to run as: the admin account for tenant commands. Defaults to CPS_ADMIN_PROFILE for admin commands and CPS_PAC_PROFILE otherwise, then the active profile. cs_init lists the profiles.
backgroundNoRun in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status.
environmentNoEnvironment id or URL; default: the environment of the active pac auth profile
timeoutSecondsNoDefault 3600
maxAsyncWaitTimeNoMax asynchronous wait time in minutes (default 60)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It clearly discloses that the tool 'Mutates a live environment' and explains the confirm/dry-run behavior, which is essential safety information. It also names the underlying pac command and auth profile dependency, giving the agent a realistic model of what will happen. It could add more about side effects or reversibility, but the core behavioral traits are transparent.

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?

The description is compact: two sentences that lead with the core actionaine then add the critical mutation warning. The parenthetical UI reference is mildly redundant but not wasteful. It is well-structured and front-loaded, with no filler sentences.

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 an 8-parameter mutation tool with no output schema and no annotations, the description covers the essential danger and execution model, but it leaves open questions about return values, success/failure signals, and how this differs from the similar cs_publish sibling. The large sibling list and lack of exclusion guidance make the description slightly incomplete for confident tool selection.

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 baseline is 3. The description adds meaningful context about the confirm parameter ('Required to actually perform a change in a live environment') and the active pac auth profile, but these points are already reflected in the schema. It does not introduce substantial new meaning beyond the input schema.

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: 'Publish every unpublished customization in the environment' and identifies it with the 'Publish all customizations' button. It also names the underlying command ('pac solution publish'), making the purpose concrete. However, it does not explicitly differentiate itself from the sibling tool cs_publish, which could cause selection ambiguity.

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 description gives clear operational guidance: it mutates a live environment and requires confirm: true to avoid a dry run. This communicates when the destructive action will actually happen, but it does not state when to prefer this tool over cs_publish or other sibling publish/import tools. Usage context is implied rather than explicitly framed against alternatives.

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