Skip to main content
Glama

Create or update deployment settings

cs_create_deployment_settings

Create deployment-settings.json for a solution, mapping connection references, environment variables, and agent security groups to target-environment values.

Instructions

pac solution create-settings: the JSON that maps every connection reference (to a connection id in the target environment) and environment variable (to a target value). Pass connectionReferences / environmentVariables to fill values; the result lists what is still unmapped.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zipNoSolution zip (or use solutionDir from cs_pull_solution)
regenerateNoRecreate the file even if it exists (mappings are lost)
solutionDirNoDirectory written by cs_pull_solution
settingsFileNoDefault <solutionDir>/deployment-settings.json or next to the zip
copilotAgentsNoagent schema name -> Entra security group id allowed to use the agent in the target
connectionReferencesNologicalName -> connectionId in the target environment
environmentVariablesNoschemaName -> value for the target

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It does reveal that the result lists still-unmapped values, which is useful. However, it does not clearly disclose overwrite behavior, side effects on existing settings files, or potential data loss beyond what is already stated in the regenerate parameter schema. The mutation aspect is implied by 'create or update' but not fully elaborated.

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 and front-loaded with the command name and primary purpose. It avoids unnecessary words, though the single-sentence structure with semicolons is a bit dense. Each clause adds useful information: what the file contains, how to fill values, and what the result reports.

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?

Given the tool's complexity (7 parameters, nested objects, no annotations, no output schema), the description provides a good starting point but is not fully complete. It explains the core mapping function and output, but does not mention copilotAgents, the settings file default, or how to obtain the solution zip/solutionDir beyond what the schema already states. The schema fills many gaps, but the description alone would leave an agent uncertain about the full workflow.

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 description coverage is 100%, so the baseline is 3. The description adds semantic value by explaining what the settings JSON contains (maps connection references to connection IDs and environment variables to target values), which complements the schema's field descriptions. It also clarifies that passing connectionReferences/environmentVariables fills values, giving the agent a clearer mental model of the parameters.

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: creating or updating deployment settings by mapping connection references and environment variables. The title and description use a specific verb and resource ('create/update deployment settings', 'pac solution create-settings'). It does not explicitly differentiate from sibling tools like cs_create_solution, but the deployment-settings scope is fairly distinct.

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 some how-to guidance ('Pass connectionReferences / environmentVariables to fill values') and hints at the tool's role in solution deployment. However, it does not state when to use this tool versus alternatives, nor does it describe prerequisites or exclusions. Usage is implied rather than explicitly framed.

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