Skip to main content
Glama
Dynamics 365 MCP Server

Dynamics 365 MCP Server

by Kenny-666

create_cloud_flow

Creates a stopped cloud flow in an existing unmanaged solution from a validated local flow spec; use a preview hash to verify the spec before creation.

Instructions

Preview and create a stopped cloud flow in an existing unmanaged solution using a validated local flow spec. Requires preview hash; readback and solution membership are reported separately.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "solution_unique_name": "<solution_unique_name>",
      "spec": "<spec>"
    },
    "name": "create_cloud_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYes
dry_runNo
expected_hashNo
environment_profileNoOptional named environment profile for this call; omit to use the configured default.
solution_unique_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish this is a non-read-only, non-idempotent, non-destructive write. The description adds genuine value beyond them: the created flow is left in a stopped state rather than activated, a preview hash is mandatory as a guard, and readback plus solution membership are reported separately, which warns the agent that verification is a distinct step. Missing are permission requirements and whether re-invocation with a stale hash fails hard.

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?

Two tight sentences with no filler, and the create/preview action is front-loaded before the prerequisites. The final clause about readback and solution membership is a little dense but still earns its place as a behavioral warning.

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?

For a create tool with five parameters, a nested free-form spec object, and no output schema, the definition covers the workflow and the hash guard but leaves the spec contract and environment_profile purpose opaque. An agent could invoke it correctly in outline, but not confidently with respect to what the spec must contain.

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 only 20% — just environment_profile is documented in the schema — so the description has to carry weight. It implies expected_hash ('Requires preview hash'), dry_run ('Preview'), and spec ('validated local flow spec'), but gives no format or content guidance for the nested spec object or what solution_unique_name accepts. That is helpful but not compensating for the coverage gap.

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 states a specific verb pair and resource: preview and create a stopped cloud flow inside an existing unmanaged solution, driven by a validated local flow spec. That is far more informative than the bare name. It stops short of 5 because it never names the closely related sibling (prepare_cloud_flow) that an agent would otherwise 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 Guidelines3/5

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

Usage is implied rather than stated: 'using a validated local flow spec' and 'Requires preview hash' together signal that a preview/prepare step must happen first. However, no sibling is named as the prerequisite, and there is no explicit when-not guidance (e.g., use update_cloud_flow for existing flows, set_cloud_flow_state to activate).

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