Skip to main content
Glama
Kenny-666

Dynamics 365 MCP Server

by Kenny-666

create_model_key

Destructive

Define a native alternate key on 1–16 Dataverse columns with solution, type and duplicate checks. Previews by default, then validates index size and uniqueness before execution.

Instructions

Create a native alternate-key definition on 1–16 columns with solution/publisher, type, field-security and duplicate checks. Default preview; server validates index size and existing uniqueness asynchronously. Pending/unknown is not Active. No record scan, index reactivation, save replay or implicit publication.

Input Schema

NameRequiredDescriptionDefault
dryRunNoDefault true performs reads/eligibility checks and returns a native request preview. Set false to execute.
dry_runNoDefault true performs reads/eligibility checks and returns a native request preview. Set false to execute.
schemaNameNo
displayNameNo
logicalNameNo
schema_nameNo
display_nameNo
logical_nameNo
keyAttributesNo
key_attributesNo
solutionUniqueNameNoExisting unmanaged solution; its publisher prefix is validated for new schemas.
solution_unique_nameNoExisting unmanaged solution; its publisher prefix is validated for new schemas.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and non-idempotency, but the description adds substantial context beyond them: a default preview/dry-run mode, asynchronous server-side validation of index size and existing uniqueness, and the state caveat that 'Pending/unknown is not Active'. It also draws explicit boundaries around side effects ('No record scan, index reactivation, save replay or implicit publication'), which is exactly what an agent needs before committing a destructive mutation.

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 the core action and column limit, and the following sentences are dense with distinct facts rather than repetition. The telegraphic fragment 'Pending/unknown is not Active' and the clipped negation list at the end cost some readability but still carry information.

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, non-idempotent create tool with no output schema and only 33% schema coverage, the description does solid work on side-effect boundaries, async validation and preview semantics. The main gap is that it never clarifies the effectively-required parameter set (all five logical fields, in either casing) or what the preview payload actually contains.

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 33%, so the description must compensate and it only partly does: '1–16 columns' maps to key_attributes' maxItems, 'solution/publisher' maps to solution_unique_name, and 'type, field-security and duplicate checks' gesture at validation behavior. It says nothing about the five logical parameters (logical_name, schema_name, display_name, key_attributes, solution_unique_name), their dual snake_case/camelCase aliasing, or which are effectively required.

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?

States a specific verb and resource: 'Create a native alternate-key definition on 1–16 columns', which clearly separates it from create_model_column, create_model_relationship and create_model_table. The clause 'No ... index reactivation' implicitly distinguishes it from reactivate_model_key, but no sibling is named explicitly, so it stops short of the top score.

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?

'Default preview' and 'No ... save replay or implicit publication' imply the intended workflow (dry-run first, publish separately), which is useful context. However, it never states when to prefer this tool over reactivate_model_key or get_model_key, nor does it spell out prerequisites such as an existing unmanaged solution, so usage 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