Skip to main content
Glama

sync_git_to_workspace

Sync a local Git repository containing PBIP projects to a Fabric workspace. Deploy or update workspace items from a branch or commit, with conflict handling.

Instructions

Deploy a local Git repository with PBIP projects to a Fabric workspace.

Use this tool when the user asks to:

  • Synchronize or publish a local Git repository or branch to a Fabric workspace.

  • Update workspace items based on version-controlled PBIP files.

Args: repo_path: Path to the local Git repository. workspace_id: Target Fabric workspace ID (UUID). branch_or_commit: Git ref to sync (default: "HEAD"). conflict_resolution: Conflict handling strategy ("manual", etc.). dry_run: If True, calculate changes without publishing.

Returns: Dict with synchronized items, skipped items, and deployment results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNo
repo_pathYes
workspace_idYes
branch_or_commitNoHEAD
conflict_resolutionNomanual

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose that dry_run calculates changes without publishing and that conflict_resolution governs conflict handling, and it outlines the return shape. However, it never states that publishing overwrites existing workspace items, what permissions are required, or whether the operation is reversible, which are the key behavioral facts for a mutating deploy tool.

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 a one-line purpose, then scannable 'when to use', Args, and Returns sections. Well organized and mostly earning its space, though the Returns block is largely redundant given that an output schema exists.

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 mutating deploy tool with no annotations, the description covers the action, the trigger conditions, every parameter, and the dry-run safety path. Missing pieces are secondary details like overwrite semantics and auth prerequisites, and the return-values block is unnecessary since an output schema is present.

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 0%, so the description must compensate, and it documents all five parameters: repo_path, workspace_id (as a UUID), branch_or_commit (default HEAD), conflict_resolution (e.g. 'manual'), and dry_run (compute without publishing). It does not enumerate the allowed conflict_resolution values beyond 'manual', which is the only real gap.

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: deploying a local Git repo with PBIP projects into a Fabric workspace. This clearly distinguishes it from the reverse-direction sibling commit_workspace_to_git and from deploy_to_workspace. An agent can identify the operation without opening the schema.

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?

Provides explicit 'Use this tool when the user asks to' bullets covering synchronization/publishing and updating items from version-controlled PBIP files. It gives clear positive triggers but never names alternatives (e.g. commit_workspace_to_git for the opposite direction) or states when NOT to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.