---
id: change/bcapps/12947
type: change
title: "#12947 [MCP] Provide environment and company descriptions to the platform"
summary: Environment Information Impl. and Company Information Mgt. now subscribe to two new platform events, GetEnvironmentDescription and GetCompanyDescription, to supply the environment and company descriptions. The MCP server's list_companies tool can then return company descriptions. This requires the platform change that adds the events.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit company information mgt.
  - codeunit environment information impl.
system: administration
review:
  state: reviewed
  by: opus
  at: "2026-11-13T00:59:29.577Z"
  flags: []
generated:
  at: "2026-11-30T13:33:07.232Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 0697b9468064c8e86b928a8cccfb8a2648ec193d
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12947
    title: "microsoft/BCApps#12947: [MCP] Provide environment and company descriptions to the platform"
    date: "2026-11-12"
    commit: 0697b9468064c8e86b928a8cccfb8a2648ec193d
    t: null
    quote: The platform's MCP server returns the company description from its `list_companies` tool, so agents can tell companies apart.
links:
  learn: []
  objects:
    - object/codeunit/1306
    - object/codeunit/3702
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/admin-company-information
      title: Company information overview
      label: possibly related
      why: Documents company information setup including display names and company identification
      by: model
number: 12947
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12947
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-12T13:14:50Z"
author: onbuyuka
author_type: User
community_contribution: false
labels:
  - "AL: System Application"
  - "Team: Integrations"
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 10
  additions: 584
  deletions: 0
  al: 4
apps:
  - Base Application
  - System Application
objects_touched:
  - key: codeunit/1306
    page: codeunit/1306
    type: codeunit
    id: 1306
    name: Company Information Mgt.
    app: Base Application
    status: modified
  - key: codeunit/3702
    page: codeunit/3702
    type: codeunit
    id: 3702
    name: Environment Information Impl.
    app: System Application
    status: modified
objects_unjoined:
  - path: src/Layers/ES/BaseApp/Foundation/Company/CompanyInformationMgt.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NA/BaseApp/Foundation/Company/CompanyInformationMgt.Codeunit.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 654112
systems:
  - administration
  - platform
quote: The platform's MCP server returns the company description from its `list_companies` tool, so agents can tell companies apart.
joined_against:
  major: "30"
  commit: f53bb0f1ecd89fde9f133f9dcaf5bf43cf5f2671
---

# #12947 [MCP] Provide environment and company descriptions to the platform

> Environment Information Impl. and Company Information Mgt. now subscribe to two new platform events, GetEnvironmentDescription and GetCompanyDescription, to supply the environment and company descriptions. The MCP server's list_companies tool can then return company descriptions. This requires the platform change that adds the events.

[Pull request](https://github.com/microsoft/BCApps/pull/12947) · merged into `main` (BC30) on 2026-11-12 by onbuyuka · 10 files (+584 -0), 4 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- Subscribes to the platform events GetEnvironmentDescription and GetCompanyDescription on System Action Triggers; the events come from a separate platform change
- Environment Information Impl. returns the environment description
- Company Information Mgt. (W1, NA, ES) reads the requested company's description using ChangeCompany, so the session's company stays the same
- An empty description is returned when the company is missing, not accessible or has no Company Information record
- The MCP list_companies tool uses the company description so agents can tell companies apart
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 1306 "Company Information Mgt."](../../objects/codeunit/1306.md), Base Application: modified
- [Codeunit 3702 "Environment Information Impl."](../../objects/codeunit/3702.md), System Application: modified
- `src/Layers/ES/BaseApp/Foundation/Company/CompanyInformationMgt.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/NA/BaseApp/Foundation/Company/CompanyInformationMgt.Codeunit.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#654112
- Labels: AL: System Application, Team: Integrations
- Systems: administration, platform
- From the description: "The platform's MCP server returns the company description from its `list_companies` tool, so agents can tell companies apart."

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Company information overview](https://learn.microsoft.com/dynamics365/business-central/admin-company-information) — possibly related: Documents company information setup including display names and company identification (model-linked)

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
