Skip to main content
Glama

trigger_db_sync

Idempotent

Run D365FO database sync to apply schema changes. Use partial sync for specific tables after adding or renaming fields, or auto-extract tables from a project file for faster sync.

Instructions

Run a D365FO database sync (SyncEngine.exe). Supports partial sync of specific tables — much faster than full-model sync. Use partial sync after adding/renaming fields or indexes on known tables. Pass projectPath to auto-extract tables from .rnrproj for smart partial sync. Use full sync only when unsure what changed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tablesNoPartial sync: sync only these tables/views (faster). Example: ["CustTable", "MyNewView"]. Views and data entities go in this same list. Omit for full-model sync.
modelNameNoModel to sync. Auto-detected from .mcp.json if omitted.
syncViewsNoFULL sync only: use syncmode FullAllAndViews. Not needed for partial sync — name the view in tables[] instead. Default: false.
tableNameNoSingle-table shorthand — equivalent to tables=["tableName"]. Kept for backwards compatibility.
packagePathNoPackagesLocalDirectory root. Auto-detected from .mcp.json if omitted.
projectPathNoPath to .rnrproj file. Auto-extracts table/view names for partial sync. Auto-detected from .mcp.json when no explicit tables given.
connectionStringNoSQL Server connection string. Default: "Data Source=localhost;Initial Catalog=AxDB;Integrated Security=True".
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, and the description adds useful context about partial vs. full sync speed and auto-extraction from .rnrproj. It does not contradict annotations. However, it does not detail potential side effects or prerequisites for the sync operation, so it doesn't fully reach the highest bar.

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 three sentences, front-loaded with the core action, and each sentence earns its place by providing distinct guidance. No waste or redundancy.

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 7 optional parameters, a rich schema, and no output schema, the description provides solid context for invoking the tool. It explains the partial/full distinction and projectPath usage. A short mention of expected output (e.g., sync log or status) would make it fully complete, but it is not necessary for selection and invocation.

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%, and each parameter already has a clear description. The main description reinforces the projectPath auto-extraction behavior but adds minimal new information beyond the schema. This meets the baseline for high schema coverage.

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 states the tool 'Run a D365FO database sync (SyncEngine.exe)' with a specific verb and resource. It distinguishes between partial and full sync modes, which is unique among sibling tools. The purpose is unambiguous and immediately understandable.

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 guidance: 'Use partial sync after adding/renaming fields or indexes on known tables' and 'Use full sync only when unsure what changed.' It also explains how to leverage projectPath for smart partial sync. This is actionable and covers both when and when not to use the tool.

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