Skip to main content
Glama
Dynamics 365 MCP Server

Dynamics 365 MCP Server

by Kenny-666

get_diagnostic_settings

Read-only

Read current organization trace/audit switches and optional table audit metadata to inspect logging state; report forbidden, unavailable, and unknown evidence separately without enabling auditing.

Instructions

Read current organization trace/audit switches and optional table audit metadata. Reports forbidden/unavailable/unknown evidence separately; current switches do not prove historical settings or deleted logs. Does not enable logging or auditing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_diagnostic_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
collectionNameNoCompatibility alias for collection_name; conflicting values are rejected.
collection_nameNo
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.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description is consistent with them while adding real value: it discloses that results are partitioned into forbidden/unavailable/unknown evidence categories and that current state does not imply historical state. That output-shape nuance is not derivable from annotations or schema.

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?

Three short sentences, front-loaded with the action and followed by the interpretive caveats; nothing is redundant. The wording is dense but each sentence carries a distinct constraint.

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?

For a read-only, zero-required-parameter tool with no output schema, the definition covers purpose, safety profile, and result interpretation adequately. Only the parameter-to-behavior mapping (what scoping by table actually filters) is left implicit.

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 67%, so the baseline is 3. The phrase 'optional table audit metadata' hints that a table can be scoped, but the description never maps this to collection_name, its collectionName alias, or environment_profile, leaving those semantics to the schema.

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?

States a specific verb and resource: 'Read current organization trace/audit switches and optional table audit metadata.' The scope ('current switches', not historical) and the negative scope ('Does not enable logging or auditing') separate it from sibling write tools like change_role_privilege or query_plugin_trace_logs, though no sibling is named explicitly.

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?

Provides a clear when-not ('Does not enable logging or auditing') and an important interpretation guard ('current switches do not prove historical settings or deleted logs'), which tells the agent this is a configuration-read, not an evidence tool. It stops short of naming alternatives such as get_record_audit_history or get_audit_details for historical evidence.

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