Skip to main content
Glama
BC MCP Server

BC MCP Server

bc_query

Query Microsoft Dynamics 365 Business Central records such as customers, vendors, items, and sales orders using OData filters and record limits.

Instructions

Query Business Central entities (customers, vendors, items, sales orders, etc.)

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": {
      "entity": "<entity>"
    },
    "name": "bc_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNoMax records to return
entityYesBC entity (customers, vendors, items, salesOrders, purchaseOrders)
filterNoOData filter expression

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/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 behavioral burden and it does very little: it implies read-only via "Query" but never states pagination behavior, default page size, permissions required, or whether results are truncated. For a data-retrieval tool with zero annotation coverage, this is a significant gap.

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?

A single, front-loaded sentence with zero waste, but it is arguably too sparse for the tool's role rather than overly verbose. Nothing needs trimming; something arguably needs adding.

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 no output schema and no annotations, the description should clarify what a query returns (record shape, fields, paging, truncation) since nothing else does. It does not, leaving an agent unable to predict response structure or limits.

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 100%, so entity, filter, and top are already documented with types and meanings. The description adds nothing about OData filter syntax or sensible values for top, so it neither compensates nor detracts — baseline applies.

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?

Specific verb ("Query") plus resource ("Business Central entities") with representative examples (customers, vendors, items, sales orders). An agent can tell this is a read/retrieval tool, though it never explicitly contrasts itself with bc_create_record or bc_list_companies.

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?

The verb "Query" plus the mention of entities implicitly signals read-only retrieval, but the description never states when to prefer this over bc_list_companies or bc_create_record. Useful context, but no exclusions or preconditions are given.

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