Skip to main content
Glama
Kenny-666

Dynamics 365 MCP Server

by Kenny-666

edit_ribbon_solution

Modify one entity's classic RibbonDiffXml in an unmanaged solution ZIP to add, update, or hide custom ribbon buttons. Preview changes and write a separate new ZIP without overwriting the input.

Instructions

Preview by default; edit only one entity classic RibbonDiffXml in an ordinary unmanaged local ZIP. Add standalone custom JS buttons with publisher-scoped IDs, explicit current-table insertion location, ordered parameters, multilingual labels and packaged JS/raster icons; update labels/sequence; hide/unhide via a dedicated contradictory client display rule on an unshared custom command. Preserve other languages/rules/handlers, all other archive payloads and outside-Ribbon XML semantics. Execute with current planHash to write an exclusive NEW ZIP; never overwrite input, import, publish or run code. Built-in replacements, arbitrary rules, handler updates, modern commands and deployment remain separate workflows.

Input Schema

NameRequiredDescriptionDefault
dryRunNoDefault true; preview writes no file.
changesNo
dry_runNoDefault true; preview writes no file.
filePathNoAbsolute local solution ZIP path; no network/device paths.
file_pathNoAbsolute local solution ZIP path; no network/device paths.
outputPathNoAbsolute new .zip destination, required for preview and execution.
logicalNameNo
output_pathNoAbsolute new .zip destination, required for preview and execution.
expectedHashNo
logical_nameNo
contentBase64NoCanonical base64 ZIP <=32 MiB. Supply exactly one input source.
expected_hashNo
content_base64NoCanonical base64 ZIP <=32 MiB. Supply exactly one input source.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: dry-run defaults to preview with no file written, execution writes an exclusive NEW ZIP and never overwrites the input, and preservation guarantees for other languages/rules/handlers and other archive payloads are spelled out. Consistent with destructiveHint=false and readOnlyHint=false since the input archive is never mutated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loading is good ('Preview by default') and every clause carries real content, but the body is three very long run-on sentences packed with comma-chained constraints. It is dense to the point that an agent must parse carefully to extract the operational rules.

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?

With 13 parameters, 62% schema coverage, no output schema and a mutation workflow, the description covers safety, idempotency/hash flow, preservation semantics and out-of-scope work well. It leaves a gap on what the preview/execute returns (presumably a planHash plus summary) and how the agent obtains that hash for the execute call.

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?

Description explains the changes model at a semantic level (publisher-scoped IDs, explicit current-table insertion location, ordered parameters, multilingual labels, packaged JS/raster icons) that the schema's structural constraints do not convey, and it flags the planHash requirement. However it says 'planHash' while the schema field is expected_hash, a naming mismatch that could cause confusion, and dry_run/output path handling is only partially reinforced.

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 precise verb+resource: editing classic RibbonDiffXml in an ordinary unmanaged local ZIP, including the specific sub-operations (add custom JS button, update labels/sequence, set visibility). It also explicitly distinguishes itself from siblings by naming what remains separate (built-in replacements, arbitrary rules, handler updates, modern commands, deployment), which separates it from inspect_ribbon_solution, import_ribbon_solution and publish_ribbon_solution.

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?

Gives clear scope boundaries: 'Preview by default', 'never overwrite input, import, publish or run code', and lists workflows that remain separate. It stops short of telling the agent to call inspect_ribbon_solution first or to run preview then execute with the returned hash, so the sequencing is implied rather than prescribed.

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