Skip to main content
Glama
Dynamics 365 Business Central MCP Server

Dynamics 365 Business Central MCP Server

by Code-Ninety

bc_request_write_approval

Requests a short-lived HMAC-SHA256 approval token to authorize controlled Dynamics 365 Business Central draft writes and block unapproved changes.

Instructions

Issue a short-lived HMAC-SHA256 approval token for a controlled draft write.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>",
      "payload": "<payload>",
      "requester": "<requester>"
    },
    "name": "bc_request_write_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
payloadYes
requesterYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses that the tool issues a short-lived HMAC-SHA256 token, which is useful, but it omits key operational details such as authorization requirements, token constraints, whether the token is single-use, and any side effects of issuance.

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 a single front-loaded sentence with no wasted wording. It clearly leads with the operation and result.

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

Completeness2/5

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

An output schema exists, so return values need not be explained. However, for a security-sensitive approval-token tool with three undocumented required parameters and no annotations, the description is too sparse to support correct invocation or workflow placement.

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

Parameters1/5

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

Schema description coverage is 0% for three required parameters, including a nested object payload. The description adds no meaning for action, payload, or requester, leaving expected values and formats entirely undocumented.

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?

The description states a specific verb and resource: 'Issue ... approval token for a controlled draft write.' It is clearly about approval-token issuance rather than draft creation, but it does not explicitly distinguish itself from sibling write-related tools such as bc_create_draft_journal.

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

Usage Guidelines3/5

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

The phrase 'controlled draft write' implies the use case, but the description gives no explicit when-to-use guidance, prerequisites, exclusions, or alternatives. An agent can infer this is for approval of a draft write, but not the workflow around it.

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