Skip to main content
Glama

extension_info

Read-only

Analyze D365FO extensibility across classes and tables: detect conflicts for Chain of Command, duplicate event handlers, merged table schemas, and available extension points. Receive recommended extensibility strategies for your goal.

Instructions

D365FO extensibility analyzer. Choose a mode: • coc → Chain of Command extensions + event subscriptions for a class/table. Use before writing a CoC extension to check for conflicts. • events → event handler subscriptions (SubscribesTo, delegate +=) for a class/table. Use before adding handlers to check for duplicates. • table-merge → all extensions of a table across models + effective merged schema (base + extension fields/indexes/methods). • points → available extension points (CoC-eligible/replaceable methods, delegates, blocked methods) and which are already extended. • strategy → recommends the best extensibility mechanism for a goal (CoC, event handler, business event, data entity, …) with reasoning, risks, alternatives, next steps.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
goalNo[strategy] REQUIRED. What you want to achieve — e.g. "validate that SalesLine quantity is positive".
modeYescoc/events/table-merge/points need `target`; strategy needs `goal`.
methodNo[coc] filter to a specific method name; [events] filter to a specific event name (e.g. onInserted).
targetNoThe base object: [coc] class/table being extended; [events] class/table whose handlers to find; [table-merge] base table; [points] class/table/form; [strategy] optional target object.
scenarioNo[strategy] Scenario category (auto-detected from goal if omitted). field-defaulting = set defaults on NEW records (initValue); field-change-reaction = react when a user/code CHANGES a field (modifiedField).
objectTypeNo[events] set "table" when target is a table (else class is assumed); [points] object type (default: auto-detect).auto
handlerTypeNo[events] Filter by handler type (default: all).all
includeEventHandlersNo[coc] Also find static event subscriptions (SubscribesTo) (default: true).
includeEffectiveSchemaNo[table-merge] Merge base + extension counts (default: true).
showExistingExtensionsNo[points] Show which extension points are already extended (default: true).
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is known. The description adds valuable context about what each mode returns (e.g., effective merged schema, available extension points, recommendations with risks/alternatives), going beyond the annotation. It does not mention any rate limits or specific side-effect behaviors, but for a read-only analyzer this is sufficient.

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

Conciseness5/5

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

The description is well-organized with a bullet list per mode, each line concise and informative. No repetition or fluff. Every sentence adds value, and the structure makes it easy to scan. It is appropriately sized for the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite no output schema, the description explains the outputs for each mode (e.g., 'effective merged schema', 'available extension points... which are already extended', 'recommends the best extensibility mechanism... with reasoning, risks, alternatives, next steps'). Given the tool's complexity (5 modes, 10 parameters), the description is complete enough for an agent to select the right mode and invoke it correctly.

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?

Schema coverage is 100%, so baseline is 3. The description enhances parameter semantics by mapping parameters to modes (e.g., target is explained per mode, and strategy requires goal). It clarifies mode-specific filters like method and handlerType, adding meaning beyond raw schema property names. However, some parameter descriptions already contain bracketed usage hints, so the main description adds modest incremental value.

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?

The description clearly identifies the tool as a 'D365FO extensibility analyzer' and enumerates five distinct modes (coc, events, table-merge, points, strategy), each with a specific verb and target resource. This distinguishes the tool from sibling analysis tools like analyze_code or get_object_info by focusing on extensibility analysis.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit when-to-use guidance for each mode, e.g., 'Use before writing a CoC extension to check for conflicts' and 'Use before adding handlers to check for duplicates.' It also clarifies parameter prerequisites (e.g., 'coc/events/table-merge/points need target; strategy needs goal'), giving actionable direction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dynamics365ninja/d365fo-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server