Skip to main content
Glama
Dynamics 365 MCP Server

Dynamics 365 MCP Server

by Kenny-666

create_new_record

Destructive

Create native Dataverse/Dynamics 365 records using validated entity sets, with optional dry_run preview to check targets, changes, and write blockers before saving.

Instructions

Create a native record. Accepts returned entity/ID headers or a supplied primary key, reports confirmed save separately from ID availability. dry_run previews without writing.

Input Schema

NameRequiredDescriptionDefault
dataYesNative JSON attribute data. Related bindings must stay inside the configured organization API. Local JSON limit 10 MiB.
dryRunNoCompatibility alias for dry_run. Conflicting aliases are rejected.
dry_runNoRead-only preview of environment, target, changes and write blockers. Default false; sensitive fields are masked.
collectionNameNoCompatibility alias for collection_name. Conflicting aliases are rejected.
collection_nameNoNative EntitySetName, such as accounts. Validated against table metadata.
environment_profileNoOptional named environment profile for this call; omit to use the configured default.

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

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and idempotentHint=false, so the agent knows this is a non-repeatable write. The description adds some value by clarifying that a confirmed save is reported separately from ID availability and that dry_run performs a non-writing preview, but it never acknowledges the destructive nature of the write, what happens on partial failure, or whether retries duplicate records.

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?

Three short sentences, front-loaded with the operation and followed by the two notable behaviors. The middle sentence ("reports confirmed save separately from ID availability") is densely worded and slightly obscure, but nothing is padded or redundant.

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 mutation marked destructive with no output schema, the definition covers the preview mode and ID-confirmation behavior, which are the right things to surface. It is still thin on what a failed or partial write leaves behind and on permission/ownership requirements for the target data, which matter given destructiveHint=true.

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 100%, so every parameter including the alias fields, collection_name validation and dry_run masking behavior is already documented in structured data. The description's line about dry_run previewing without writing largely restates that schema text rather than adding new meaning, so the baseline of 3 applies.

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 opens with a specific verb and resource ("Create a native record"), so the operation is unambiguous. It does not, however, distinguish itself from close siblings like upsert_record_by_key or update_existing_record, which an agent must resolve on its own.

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 context is implied through "dry_run previews without writing" and the note about supplying a primary key versus returned entity/ID headers, which hints at when the preview path applies. There is no explicit when-to-use versus when-to-choose-an-alternative guidance, and no mention of prerequisites or required permissions.

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