Skip to main content
Glama

Push local changes

cs_push

Upload local topic, knowledge, flow, and connection changes into a Copilot Studio agent's draft so it matches your workspace, validating YAML first and blocking on conflicts.

Instructions

Send local file changes up into the agent's draft in Copilot Studio - topics, knowledge files, flows, connection references - so the draft matches your workspace (pac copilot push). This is the tool for 'upload', 'send my changes up' and 'sync my edits'. It only moves files into the draft; cs_publish is the separate step afterwards. Validates YAML first and blocks on errors unless force. The dry run also reports components changed in Copilot Studio since the last sync (quick drift check, needs a cached cs_login); when one of those also changed locally the push is blocked unless force. Changes the agent in Copilot Studio: requires confirm: true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNoPush even if validation reports errors or portal changes conflict with local edits
confirmNoRequired to actually perform a change in a live environment. Without it the tool returns a dry run.
workspaceNoPath to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full safety burden and does so: it validates YAML and blocks on errors unless force, defaults to a dry run, blocks when portal drift overlaps local edits, notes cs_login caching is needed for the drift check, and requires confirm: true to modify a live environment. These are exactly the mutation-safety facts an agent needs.

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?

Front-loaded with purpose and routing, then behavior, then the safety gate. Sentences are dense but each carries distinct information; it runs slightly long, with the 'This is the tool for...' routing sentence and the parenthetical CLI name both somewhat redundant.

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

Completeness5/5

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

For a mutation tool with no annotations and no output schema, the description covers prerequisites (cached cs_login), validation and blocking rules, dry-run default, the confirm gate, and the follow-up step (cs_publish). Nothing an agent needs in order to call this correctly is missing.

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 baseline is 3; the description nonetheless adds real meaning by tying force to two distinct override conditions (validation errors and portal-vs-local conflicts) and confirming that confirm is what converts a dry run into a live change. It does not add anything for workspace, but that is already fully documented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Send local file changes up into the agent's draft in Copilot Studio') and enumerates the artifact types (topics, knowledge files, flows, connection references). It also draws the boundary against cs_publish ('the separate step afterwards'), so an agent can distinguish it from siblings without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly maps user phrasings ('upload', 'send my changes up', 'sync my edits') to this tool and names the alternative step (cs_publish) for publishing. The direction of movement (only into the draft) is stated, implying cs_pull is the reverse counterpart.

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