Skip to main content
Glama

map_business_process

Read-onlyIdempotent

WHEN: mapping the technical D365 objects behind a business process, or understanding which tables/forms implement a flow. Triggers: 'processus métier', 'Order-to-Cash', 'Procure-to-Pay', 'Record-to-Report', 'business process flow', 'qui est impliqué dans', 'map the process', 'flux du processus', 'quels objets dans le flux'. Map a D365 F&O business process to its complete object chain. For known processes (Order-to-Cash, Procure-to-Pay, Record-to-Report, Plan-to-Produce, Inventory-Management, Hire-to-Retire, Project-Accounting, Asset-Lifecycle): shows every step with forms, tables, classes, entities, reports, and security roles involved. For any other object name: traces all dependencies (tables, classes, forms, entities) from that entry point. Produces a Mermaid process flow diagram. Use 'list' to see all known process mappings. NOT for a single object's FK relations only -- use find_related_objects for that (faster and more precise).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
processNameYesBusiness process name (e.g. 'Order-to-Cash', 'Procure-to-Pay', 'sales', 'purchasing') or an object name to trace from. Use 'list' to see all known processes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, and the description does not contradict them. It adds meaningful behavioral detail beyond annotations: known processes produce a complete step-by-step object chain, unknown objects trigger dependency tracing, and the output is a Mermaid process flow diagram. This gives the agent a clear picture of what invoking the tool will do.

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?

The description is longer than average, but it is front-loaded with the key WHEN context and trigger phrases before moving into behavior and alternatives. Every section serves a purpose: triggers aid selection, process-name examples clarify input, and the final exclusion prevents misuse. A little trimming of the trigger list would improve brevity, but the structure is still effective.

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?

There is no output schema, so the description must explain return values, and it does: it produces a Mermaid process flow diagram and enumerates the object types involved. It also covers the 'list' discovery mechanism and the key boundary with find_related_objects. Minor gaps such as potential size or performance of dependency tracing are not mentioned, but the essential context is present.

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 parameter is already documented with examples and the special 'list' value. The description adds extra semantics by explaining the two behavioral branches for processName: known process names map the full end-to-end flow, while arbitrary object names trigger dependency tracing. This goes beyond the schema's basic description.

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 states a specific action and resource: mapping a D365 F&O business process to its complete object chain, covering forms, tables, classes, entities, reports, and security roles. It explicitly differentiates itself from find_related_objects, so an agent can distinguish it from siblings without inspecting schemas.

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

Usage Guidelines5/5

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

The description opens with a WHEN clause and lists concrete trigger phrases in both English and French. It also provides explicit guidance on when NOT to use it ('NOT for a single object's FK relations only') and names the recommended alternative, find_related_objects, with reasoning that it is faster and more precise.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.