Skip to main content
Glama
Dynamics 365 Business Central MCP Server

Dynamics 365 Business Central MCP Server

by Code-Ninety

bc_validate_tax_invoice

Validate invoice payloads against PK FBR IRIS, SA ZATCA Phase 2, or AE UAE VAT rules to confirm compliance before submission.

Instructions

Validate an invoice payload against PK_FBR_IRIS, SA_ZATCA_P2, or AE_UAE_VAT.

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": {
      "jurisdiction": "<jurisdiction>",
      "invoice_payload": "<invoice_payload>"
    },
    "name": "bc_validate_tax_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
jurisdictionYes
invoice_payloadYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, yet it says nothing about whether validation is read-only, whether it contacts an external tax authority API, whether failures are returned as errors or as a result payload, or whether rate limits apply. A single sentence about a compliance-critical operation leaves the behavioral profile essentially blank.

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?

One front-loaded sentence with no filler or redundancy. It is efficient, though the terseness is arguably a symptom of missing content rather than disciplined editing.

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?

With a nested free-form payload, zero schema descriptions, and no annotations, the definition is not complete enough to call the tool confidently. The existence of an output schema excuses it from explaining return values, but the input-side ambiguity is unresolved.

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

Parameters2/5

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

Schema coverage is 0%. The jurisdiction enum is self-describing, but invoice_payload is an open object with additionalProperties=true and the description gives no hint that the expected payload shape differs per jurisdiction or where the field requirements come from. That is the single most important thing an agent needs and it is absent.

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 ('Validate') and resource ('invoice payload') and enumerates the three supported regulatory regimes, which is enough for an agent to tell this apart from the accounting-oriented siblings like bc_get_gl_trial_balance or 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 Guidelines2/5

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

There is no guidance on when to use this tool, when not to, or what precedes it (e.g., validate before submitting to a tax authority). The only implicit signal is that it is for invoices, which the name already conveys.

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