Skip to main content
Glama
vinaybabuv

d365-bc-mcp

by vinaybabuv

Get sales order

bc_get_sales_order

Retrieve a specific sales order from Dynamics 365 Business Central by order number or GUID, with optional line details.

Instructions

Get one sales order by order number (e.g. S-ORD101001) or GUID id, including its lines.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoSales order GUID id
order_numberNoSales order No.
include_linesNoInclude order lines (default true)
Behavior4/5

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

Without annotations, the description carries the burden of behavior disclosure. It communicates that this is a fetch operation (get) and that it can include lines, which conveys the main behavioral aspect. It does not mention error handling or response format, but acknowledges the read-only nature implicitly.

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, well-structured sentence that immediately states the action and key parameters. It is concise with no redundant words.

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?

Given the tool's simplicity (3 optional parameters, no output schema), the description adequately covers the main usage and expected result (sales order with lines). Minor gaps exist around parameter interaction (e.g., precedence if both are provided), but overall it's sufficient for an agent to select and invoke correctly.

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 meaning by clarifying that either id or order_number can be used, and provides an example order number format (S-ORD101001), which goes beyond the schema's field descriptions.

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 specifies a clear action: 'Get one sales order' by two possible identifiers (order number or GUID), and notes that lines are included. This clearly distinguishes it from sibling tools like bc_list_sales_orders (listing) and bc_get_sales_invoice (different resource).

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 description establishes a clear context: use this when you need a single sales order by ID or number. However, it does not explicitly mention when to use list tools instead or any exclusions, so it falls short of full explicit guidance.

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/vinaybabuv/d365-bc-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server