Skip to main content
Glama

Read or set the online solution version

cs_solution_online_version

Reads or sets the online version of a Copilot Studio solution via pac CLI. With solutionVersion, it updates the version and requires confirm: true to change a live environment; omit it to read the current version.

Instructions

Without solutionVersion: read the version of a solution in the environment. With it: set that version (mutating). Runs 'pac solution online-version' with the active pac auth profile. Mutates a live environment: requires confirm: true (a dry run otherwise). Only some inputs mutate; see the parameter descriptions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoWorking directory for pac (for project commands: the solution project folder)
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
solutionNameYesSolution unique name
timeoutSecondsNoDefault 600
solutionVersionNoNew version to set; omit to read

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

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses that the tool mutates a live environment, that confirm: true is required to actually mutate (dry run otherwise), that only some inputs mutate, and that it runs under the active pac auth profile. It does not discuss reversibility or what happens to concurrent versions, but the core safety profile is 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?

Four short sentences, front-loaded with the read/set distinction and the mutation caveat before the pac command detail. Slightly redundant tail ('Only some inputs mutate; see the parameter descriptions') points the reader back to the schema, but overall it is tight and well ordered.

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

Completeness4/5

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

For a dual-mode tool with no annotations and no output schema, the description covers the critical decision points: which mode is triggered by which input and the confirm-gated mutation behavior. It does not describe return values or pagination, but that is secondary compared to the mutation safety it does disclose.

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 eight parameters in detail (confirm, background, profile, environment, etc.). The description mainly reinforces the solutionVersion semantics and the confirm/dry-run rule; it is accurate but largely additive rather than meaningfully expanding on what the schema already provides.

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+resource ('read the version of a solution' vs 'set that version') and explains the switch condition (presence of solutionVersion). It clearly separates the two modes, but does not differentiate itself from close siblings such as cs_set_solution_version or cs_upgrade_solution, which an agent could easily confuse it with.

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?

Gives explicit context for both modes: omit solutionVersion to read, provide it to set; and it states that mutation requires confirm: true or a dry run results. However, it names no alternative tool despite cs_set_solution_version existing as a near-identical sibling, so an agent gets no routing guidance between the two.

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