Skip to main content
Glama

labels

Destructive

Read and write D365 F&O label files: search labels, fetch translations, create, update, or rename label IDs across all languages.

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
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.
dryRunNo[rename] Preview changes without writing anything.
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] Label ID, any spelling: SYS67433, @SYS67433, @ContosoExt:MyLabel (paste search output). labelFileId/model optional. Omit to list label files.
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); 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 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?

Annotations already indicate destructiveHint=true and readOnlyHint=false, matching the description's explicit 'write' tags for create, update, rename. The description adds valuable behavioral detail: create writes to every language .label.txt, update overwrites existing text, rename affects multiple file types, bulk mode behavior (failed entry doesn't abort batch), and auto-resolution of write plumbing. This is transparent and adds context beyond annotations.

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-structured with a clear introductory sentence, bulleted action items, and explicit parameter usage notes. Despite its length, every sentence serves a purpose—either defining an action, clarifying input formats, or providing operational tips (e.g., bulk mode, createIfMissing). It is organized for quick scanning and front-loads the core purpose.

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?

For a tool with 14 parameters and multiple actions, the description covers all critical aspects: per-action parameter requirements, edge cases (bulk failures, missing labelId), write plumbing auto-resolution and override path, and safety (dryRun for rename). It also cross-references get_knowledge for deeper details, ensuring an agent has enough context to invoke correctly without an output schema.

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 the baseline is 3. The description adds meaningful semantics beyond the schema: labelId accepts various spellings (SYS67433, @SYS67433, @ContosoExt:MyLabel) and clarifies that omitting it lists label files; labels[] explains bulk mode and top-level field suppression; params explains auto-resolution and points to get_knowledge for contract. These additions raise it above the baseline, but not maximal since some parameters (e.g., verbose, maxResults) rely on schema descriptions without extra context.

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 with read/write actions and enumerates each action (search, info, create, update, rename) with concise purpose statements. It distinguishes these actions from each other and from sibling tools by focusing on label-specific operations, making the tool's purpose unambiguous.

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?

Provides explicit guidance for when to use each action, including required parameters, examples (e.g., createIfMissing for reuse, bulk mode via labels[]), and even advises dryRun for rename. It clarifies when to use create versus update and how to override auto-resolved write plumbing via get_knowledge, giving clear operational context.

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