Skip to main content
Glama

labels

Destructive

Search, create, update, and rename Dynamics 365 F&O label entries across all languages and files.

Instructions

Unified label operations — read and write. Choose an action: • search → full-text query across indexed label files. • info → all translations for a labelId; without labelId lists label files (with labelFileId: physical .label.txt path per language). • create → add a new label to an AxLabelFile across every language .label.txt (write). Label IDs describe MEANING — never add a model prefix; target the model's ORIGINAL label file, never an …_Extension… file. Pass createIfMissing=true to reuse an existing label instead of reporting it — one call, no search first. Bulk: pass labels:[{labelId, translations}, …] with shared labelFileId/model at top level. • update → overwrite the text of an EXISTING label; same args as create with corrected translations[] (write). • rename → rename a label ID across .label.txt + X++ + XML + index. Use dryRun=true first (write). Write plumbing (paths, languages, sortLabels, allowExtensionLabelFile…) is auto-resolved; override it via get_knowledge(kind="op-spec", topic="labels").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo[search] Alias of maxResults.
modelNo[search|info|create|update|rename] Model that owns the label file (e.g. ContosoExt).
queryNo[search] REQUIRED. Search text — matches label ID, text and developer comment. ARRAY = try several phrasings in ONE call.
actionYesLabel operation to perform. "list"/"list-files" are aliases of "info" (lists label files).
dryRunNo[rename] Preview changes without writing anything (default: false). Use this first!
labelsNo[create] OPTIONAL bulk mode — create several labels in one call; shared fields (labelFileId, model, languages, paths…) stay at the top level and top-level labelId/translations are ignored. A failed entry does not abort the batch.
paramsNoOptional write plumbing (packagePath, projectPath, languages, sortLabels, allowExtensionLabelFile, …) — all auto-resolved when omitted. Contract: get_knowledge(kind="op-spec", topic="labels").
labelIdNo[info] Exact label ID. Omit for action=info to list available label files for the model.
verboseNo[search] Default one line per label; true = full multi-line block.
languageNo[search] Language/locale (default: en-US). Examples: cs, de, sk.
maxResultsNo[search] Max labels listed (default 10, alias `limit`); a truncated set reports how many more matched.
newLabelIdNo[rename] REQUIRED. New label ID — must be alphanumeric, no spaces.
oldLabelIdNo[rename] REQUIRED. Current label ID (e.g. MyOldField).
labelFileIdNo[search|info|create|update|rename] AxLabelFile ID (e.g. ContosoExt, SYS). For action=info with no labelId, returns the physical .label.txt path per language. For create/update/rename use the model's ORIGINAL label file, not an extension (…_Extension…). For a NEW label file this ID is the MODEL name, never the bare EXTENSION_PREFIX.
translationsNo[create] REQUIRED for single-label create (omit when using labels[]). Translations for each language. Provide at least en-US.
Behavior5/5

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

Beyond the annotations (destructiveHint=true, readOnlyHint=false), the description discloses nuances such as auto-resolved write plumbing, bulk-create behavior where a failed entry doesn't abort the batch, and the write-specific rename flow with dryRun. It also clarifies safety constraints about which label file to target, going well beyond the structured fields.

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?

The description is long but well-structured with bullet points per action, front-loaded with the core purpose, and every sentence adds essential value for a complex multi-action tool. It is slightly dense but appropriately so given the tool's breadth.

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?

With 15 parameters, no output schema, and nested objects, the description covers all actions, their inputs, edge cases, and points to get_knowledge for overrides. It is complete enough for an agent to select and invoke the tool correctly without additional documentation.

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

Parameters5/5

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

Though schema coverage is 100%, the description adds substantial meaning: it explains the role of 'action', the alias relationship between list/list-files and info, the array form of query for search, the bulk create labels[] with shared top-level fields, and the dryRun flag. It also mentions createIfMissing which is not even present in the schema, thereby enriching the parameter model.

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 it is a unified label operations tool covering read and write actions, and enumerates each action (search, info, create, update, rename) with specific semantics. It distinguishes itself from siblings by focusing exclusively on label files and related operations.

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?

Explicit guidance is provided for each action, including when to use createIfMissing=true ('one call, no search first'), recommending dryRun=true for rename first, and imposing constraints like never adding a model prefix or never targeting an extension label file. It also points to get_knowledge for override plumbing, offering an alternative source of detail.

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