Skip to main content
Glama
Dynamics 365 MCP Server

Dynamics 365 MCP Server

by Kenny-666

d365_plugin_image_register

Destructive

Preview and register native Pre, Post, or Both plugin images with readable fields for Dataverse steps, validating stage, message, and aliases before writing with a required preview fingerprint.

Instructions

Preview/register a native Pre/Post/Both image with explicit readable fields. Supports entity-specific Create, Update, Delete, Assign and SetState steps. Validates stage/message and overlapping aliases. Preview fingerprint required to write. No assembly upload or automatic publication.

Input Schema

NameRequiredDescriptionDefault
nameNo
dryRunNoDefault true. Preview first, then use false with expected_fingerprint.
stepIdNo
dry_runNoDefault true. Preview first, then use false with expected_fingerprint.
step_idNo
imageTypeNo
attributesNo
image_typeNo
descriptionNo
entityAliasNo
entity_aliasNo
environment_profileNoOptional named environment profile for this call; omit to use the configured default.
expectedFingerprintNoFingerprint from the same operation preview, required for actual writes.
expected_fingerprintNoFingerprint from the same operation preview, required for actual writes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.2
    • addedInput schema / properties / environment_profile
      Added value: +{
      +  "description": "Optional named environment profile for this call; omit to use the configured default.",
      +  "pattern": "^[A-Za-z][A-Za-z0-9_]{0,31}$",
      +  "type": "string"
      +}
  2. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, non-idempotent, non-read-only, so the safety bar is partly covered. The description adds genuine behavioral detail beyond them: stage/message validation, overlapping-alias validation, and the two-phase preview-fingerprint gate on writes. It doesn't describe what validation failure looks like, but the added context is substantial.

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?

It is front-loaded with purpose and remains compact across five tight sentences. Almost every sentence adds a distinct constraint; only the 'Supports...' step enumeration is border-line trivia, but it does define scope.

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 destructive, alias-heavy mutation with no output schema, the description covers purpose, validation behavior, the write gate, and scope exclusions. Gaps remain around what a registered image returns and how multiple images per step interact, but core call correctness is supported.

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 low (36%) and 14 params include many camelCase aliases, so the description carries weight. It does explain the fingerprint requirement and flags alias hand-ling, but leaves key params (name, entity_alias, attributes, description) undocumented beyond the schema. It partially compensates, not fully.

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 gives a specific verb+resource: 'Preview/register a native Pre/Post/Both image,' and scopes it to entity-specific Create/Update/Delete/Assign/SetState steps. It is clearly separable from the sibling query/update/delete image tools by the 'register' verb, though it never names those siblings explicitly.

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?

It conveys the operating workflow ('Preview fingerprint required to write,' preview-before-write) and states two exclusions ('No assembly upload or automatic publication'). It stops short of explicitly routing the agent to d365_plugin_image_update or d365_plugin_images_query when the image already exists, so the when-not is only implied.

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