Skip to main content
Glama

Update tenant settings

cs_admin_update_tenant_settings

Update tenant-wide Copilot Studio settings from a settings file or a single setting path. Requires confirmation to apply changes; otherwise it returns a dry run.

Instructions

Change tenant-wide settings, either from a settings file or one setting at a time (for example powerPlatform.governance.disableDeveloperEnvironmentCreationByNonAdminUsers). Affects the whole tenant: requires confirm: true. Runs 'pac admin update-tenant-settings' 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)
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.
settingNameNoSingle setting path
settingValueNoValue for that setting
settingsFileNoA .json file of settings (from cs_admin_list_tenant_settings)
timeoutSecondsNoDefault 600

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A3.7/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 of behavioral disclosure. It clearly states 'Affects the whole tenant' and 'Mutates a live environment: requires confirm: true (a dry run otherwise)', which reveals the mutation risk and the dry-run safety mechanism. It also names the underlying pac command. It does not cover permission requirements or reversibility, but the key behavioral traits are disclosed.

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 three sentences long and front-loads the core purpose ('Change tenant-wide settings'). It includes a useful example and critical warnings about confirm. The only minor redundancy is repeating the confirm requirement twice, which slightly detracts from conciseness but does not waste significant space.

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?

The description covers the core behavior, mutation risk, and the command invocation. However, with 8 parameters, no output schema, and no annotations, it leaves gaps: it does not describe what happens if both settingsFile and settingName are provided, does not mention the return/output behavior, and does not discuss background execution or timeout handling beyond what the schema already states. These are meaningful gaps for a complex administrative tool.

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 baseline is 3. The description adds value beyond the schema by providing a concrete example setting path (powerPlatform.governance.disableDeveloperEnvironmentCreationByNonAdminUsers), clarifying the format for settingName, and linking settingsFile to the sibling cs_admin_list_tenant_settings. This goes beyond simple schema repetition.

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 clearly states the tool's function: 'Change tenant-wide settings' and specifies two modes: from a settings file or one setting at a time, with a concrete example path. It identifies the resource (tenant-wide settings) and the underlying pac command. However, it does not explicitly distinguish itself from sibling tools like cs_admin_set_governance_config, so it falls short of a 5.

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 provides context on when to use the tool: for tenant-wide settings changes, using either a settings file or a single setting, and notes it runs with the active pac auth profile. It does not explicitly state when not to use it or name alternative tools, so the guidance is implied rather than explicit.

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