Skip to main content
Glama
Dynamics 365 MCP Server

Dynamics 365 MCP Server

by Kenny-666

get_ribbon_definition

Read-only

Retrieves and summarizes an entity's classic Ribbon definition, including buttons, commands, rule references, and candidate insertion locations; returns full XML only when requested.

Instructions

Read native effective classic entity Ribbon through current CSDL-validated RetrieveEntityRibbon, with typed enum/alias encoding. Validate/decompress the bounded ZIP RibbonXml.xml part without extraction/execution. Summarize buttons, commands, rule references and candidate insertion locations; full XML is opt-in. Does not evaluate user visibility/security, execute JavaScript, edit merged definitions or support modern commanding.

Input Schema

NameRequiredDescriptionDefault
topNo
includeXmlNo
include_xmlNo
logicalNameNo
logical_nameNo
locationFilterNo
location_filterNo
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

A3.5/5.0
Behavior4/5

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

With readOnlyHint already declaring safety, the description still adds substantive behavior: it validates/decompresses a bounded ZIP RibbonXml.xml part without extraction or execution, and returns a summary by default with full XML only on request. For a read-only tool this is strong. It does not mention authentication or environment-profile prerequisites, which keeps it from a 5.

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?

Four sentences, none purely redundant, and the core read purpose is front-loaded. However, the opening is dense with jargon ('native effective classic', 'CSDL-validated', 'typed enum/alias encoding') that slows comprehension more than it informs tool selection.

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?

Behavioral scope is well covered for a read-only tool with no output schema, so the agent knows what comes back and what will not happen. The gap is parameter coverage: with 8 parameters at 13% schema descriptions, an agent still has to guess the meaning of top, the alias pairing, and the required-name constraint.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 13% across 8 parameters, so the description must carry the burden and largely does not. It implies includeXml ('full XML is opt-in') and gestures at locationFilter ('candidate insertion locations'), but says nothing about the required logical_name / logicalName one-of constraint, the top limit (max 500), the alias pairs, or environment_profile.

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 and resource — reading the native, effective, classic entity Ribbon via RetrieveEntityRibbon — and scopes it to the classic (not modern commanding) Ribbon. It is clear what the tool returns (buttons, commands, rule references, insertion candidates), though it never names a sibling tool such as inspect_ribbon_solution or edit_ribbon_solution to sharpen the boundary.

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 provides explicit when-not scope: does not evaluate user visibility/security, does not execute JavaScript, does not edit merged definitions, does not support modern commanding, and full XML is opt-in rather than default. What is missing is positive routing — it never says 'use edit_ribbon_solution to change the ribbon' or when to prefer a solution-inspection sibling.

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