Skip to main content

Elements MCP server tools reference

All 56 Elements MCP server tools: what each does, its required inputs, whether it reads or writes, and the plan, add-on and role it needs.

The Elements MCP (Model Context Protocol) server exposes 56 tools for working with Elements. This article lists every tool, what it does, the key inputs it needs, whether it only reads data or also writes to Elements, and what access it requires.

You don't need to call these tools by name: the skills described in Elements MCP server: supported skills pick the right tool for your request automatically. Use this list when you want to know exactly what your assistant can do. The set of available tools grows over time as Elements adds new skills.

No Elements MCP tool changes your Salesforce org. Every tool reads and changes only data stored in Elements: diagrams, MetaFields, saved views, proposed nodes, Spaces, and this connection's authorization. No tool writes to, deploys to, or deletes anything in a Salesforce org.

Prerequisites

Which tools your assistant can see

Every Elements MCP tool respects your existing Elements permissions: a tool never returns more than you could already see in the Elements app.

Which tools you see depends on the plan and licences of the Spaces you authorize. Elements checks role requirements, such as Space admin or Author, and access to a reference model, diagram or view when a tool is called; without the required access, the call is refused with access_denied. After a licensing change, start a new conversation so your assistant picks up the updated tool list.

Read tools that support file delivery return a file only when a reply is larger than the 30,000-character response budget, unless their rows always come as part files (see Large results).

Tool labels

Each tool below is labelled with the MCP annotation it sends:

  • Read-only: readOnlyHint: true.

  • Writes to Elements: readOnlyHint: false and destructiveHint: false.

  • Destructive in Elements: readOnlyHint: false and destructiveHint: true.

Four tools are labelled Destructive in Elements. Each has a safeguard:

  • import_diagram replaces the draft of a diagram with an edited copy. Your assistant first shows you what would be replaced and only goes ahead after you confirm. It changes the draft only; publishing stays with a person in Elements.

  • manage_diagram can remove activities, lines, notes and text boxes from one level of a diagram, along with the attachments and links on a removed activity. For a large removal, or one that would take away a sub-process beneath an activity, your assistant must first ask you to confirm. A removed sub-process goes to the Elements recycle bin, and Elements keeps a history entry of the level before the assistant's first change.

  • update_metafield: removing a picklist option, or narrowing which metadata a MetaField applies to, permanently deletes those values wherever they're used. Your assistant first shows you how many items would lose a value and only goes ahead after you confirm.

  • revoke_access disconnects your assistant from Elements. It deletes no data; you reconnect by signing in again. Your assistant asks you to confirm first.

Spaces

Tool

What it does

Required inputs

Access requirements

get_space_context
Read-only

Shows the active Space and pages the Spaces authorized for this connection.

None. Optional: teamId, skip, pageSize.

—

set_active_space
Writes to Elements

Selects the Space for following calls.

teamId.

—

create_space
Writes to Elements

Creates an Elements Space.

name. Optional: prefix, description.

—

revoke_access
Destructive in Elements

Revokes this client connection after confirmation.

confirm: true.

At least one consented Space must have an active membership and not be suspended; otherwise revoke the connection from the 'Connected apps' tab in Elements. Confirmation required.

Metadata

Tool

What it does

Required inputs

Access requirements

list_reference_models
Read-only

Lists Salesforce reference models available in a Space.

None. Optional: teamId, search.

—

get_dependencies
Read-only

Returns dependency rows for selected metadata nodes.

refModelId, nodeIds or nodeId; direction and metadata selection options.

View access to the reference model where required.

get_metadata_component
Read-only

Returns fields or relationships for a metadata node.

refModelId and exactly one of nodeId or nodeIds. Optional: page.list for single-component paging.

View access to the reference model where required.

explain_metadata_components
Read-only

Explains metadata behavior in plain English. Uses AI.

aspect and metadata node selection; refModelId when identifying a node.

Automation & Execution Intelligence add-on*

run_data_load_impact
Read-only

Analyzes automation and record-lock impact for a planned data load.

refModelId and one or more target definitions.

View access to the reference model where required.

search_metadata
Read-only

Finds reference-model metadata by search terms.

refModelId, search terms.

View access to the reference model where required.

get_component_change_history
Read-only

Lists change history for a metadata component.

refModelId, nodeId.

View access to the reference model where required.

get_component_usage
Read-only

Returns usage and telemetry for an object.

refModelId, nodeId.

View access to the reference model where required.

get_metadata_source
Read-only

Returns source for selected metadata nodes.

refModelId, nodeIds.

View access to the reference model where required.

get_access
Read-only

Audits access granted to selected metadata nodes.

refModelId and nodeId or nodeIds.

View access to the reference model where required.

describe_metadata_schema
Read-only

Describes available metadata types and query columns.

refModelId. Optional: metadataList or allNodes.

View access to the reference model where required.

list_metadata_by_criteria
Read-only

Lists metadata matching criteria or a saved cleanup view.

refModelId; criteria or a view id.

View access to the reference model where required.

save_metadata_view
Writes to Elements

Saves a metadata criteria view.

refModelId, name, viewSpec.

Edit access to the reference model.

create_proposed_node
Writes to Elements

Adds a proposed metadata node to a reference model.

refModelId, metadataType, label, apiName, parentId identifying the parent container.

Edit access to the reference model.

list_managed_packages
Read-only

Lists managed packages and component counts.

refModelId.

View access to the reference model where required.

plan_package_uninstall
Read-only

Plans a managed package removal and identifies dependencies. It never uninstalls anything.

refModelId, package selection.

View access to the reference model where required.

get_metafields
Read-only

Lists MetaField definitions and dependencies.

None. Optional: implementationId and filters.

—

create_metafield
Writes to Elements

Creates a MetaField definition.

implementation, title, type, appliesTo; list and multi-picklist types also require options.

Space admin role.

update_metafield
Destructive in Elements

Updates a MetaField definition.

metafieldId and at least one definition field.

Space admin role.

set_metafield_values
Writes to Elements

Sets MetaField values on selected nodes.

refModelId and assignments: [{metafieldId, values: [...]}]; each value selects nodes with nodeIds or nodeFilter.

Edit access to the reference model.

set_metafield_dependency
Writes to Elements

Creates or replaces the dependency matrix between two MetaFields; values already on your items are never deleted.

controllerId, dependentId, relationMap.

Space admin role.

list_metadata_changes
Read-only

Lists metadata change records in a date range.

refModelId. Optional: fromDate, toDate, metadataTypes, status.

View access to the reference model where required.

* Advanced Metadata Management includes every add-on. On Core Metadata Management, this add-on is required in addition to Agentic Org Management, which the MCP server itself requires.

Org health

Tool

What it does

Required inputs

Access requirements

understand_org_health
Read-only

Returns a selected org-health dimension.

refModelId, area.

View access to the reference model.

get_org_health_detail
Read-only

Returns detail rows for an org-health chart or item.

refModelId, chartType; chart-specific detail inputs.

View access to the reference model.

Agent opportunities

Tool

What it does

Required inputs

Access requirements

scan_agentic_opportunities
Read-only

Ranks objects for agentic opportunities using usage signals.

refModelId.

View access to the reference model where required.

Diagrams

Tool

What it does

Required inputs

Access requirements

list_process_maps
Read-only

Lists process maps in the active Space.

None. Optional: query for a name fragment, folderId, limit, skip.

—

get_process_map_outline
Read-only

Lists every level of a process map, including titles, nesting, activity counts, and publish and edit status. A map being copied from a template is included.

mapId.

View access to the named map where required.

get_diagram
Read-only

Reads one level of a process map or architecture diagram: activities, resources and RASCI (Responsible, Accountable, Support, Consulted, Informed), lines, notes and text boxes, with optional layout and attachments.

diagramId, or mapId plus levelNumber or title.

View access to the named map where required.

describe_diagram_schema
Read-only

Returns schemas for diagram reads and changes.

None.

—

manage_diagram
Destructive in Elements

Changes one level of a diagram: adds, updates, moves or removes activities, resources, lines, notes and text boxes, child levels and attachments. Your assistant previews the change first and asks you to confirm large removals or removing a child level.

diagramId and baseVersion. Optional: element changes, title or description, dryRun.

Access to the reference model for metadata attachments.

create_map
Writes to Elements

Creates a new, empty map with one blank top-level diagram.

name. Optional: type, description, folderId.

Author role.

list_map_templates
Read-only

Lists the diagram templates you can start a map from.

None. Optional: templateSpaceId, category, type, search.

—

create_map_from_template
Writes to Elements

Starts a new map as a copy of a template; the copy runs in the background.

templateMapId, templateSpaceId.

Author role; view access and 'Can copy' on the template.

get_process_map
Read-only

Polls generated process-map results.

diagramId.

View access to the named map where required.

generate_process_map
Writes to Elements

Generates a process map from text or images, or from a Salesforce lifecycle object. Your assistant checks for completion afterward. Uses AI.

Depends on source: text, images, or refModelId and objectApiName.

Author role; edit access to the reference model for the org_object source.

upload_process_map_image
Writes to Elements

Uploads an image for process-map generation.

contentType and image data, or upload URL mode inputs.

Author role.

export_diagram
Read-only

Exports a process map for editing.

mapId.

Manage access to the diagram.

import_diagram
Destructive in Elements

Imports an edited process map, replacing the current draft.

mapId and import source; confirm when applying.

Author role; edit access to that diagram.

Stories

Tool

What it does

Required inputs

Access requirements

list_stories
Read-only

Lists stories in a Space or on a diagram.

None. Optional: diagramId, skip, limit, mode.

—

generate_stories_from_diagram
Writes to Elements

Generates draft stories from diagram activities. Uses AI.

mapId. Optional: activityMxKeys to select activities.

Requirements manager role; edit access to the diagram.

Decision Engine

The Decision Engine tools plan a Salesforce automation or schema change before you make it. Each analysis runs in the background, and your assistant checks get_analysis_result before starting the next step. Elements keeps the analysis; any requirements and stories it produces stay drafts.

Tool

What it does

Required inputs

Access requirements

run_automation_inventory
Read-only

Inventories automation relevant to a proposed change.

refModelId, request.

Edit access to the reference model.

run_automation_recommendation
Read-only

Recommends automation implementation options.

refModelId, missionId.

Edit access to the reference model.

run_dependency_scan
Read-only

Scans direct dependencies for a proposed change.

refModelId; missionId or standalone target.

Edit access to the reference model.

run_change_impact_analysis
Read-only

Analyzes the impact of a proposed change.

refModelId, missionId, change description.

Edit access to the reference model.

run_architecture_risk_analysis
Read-only

Analyzes architecture risks in a proposed change.

refModelId and missionId or standalone target.

Edit access to the reference model.

run_backlog_draft
Read-only

Drafts requirements and stories for delivery.

refModelId, missionId.

Edit access to the reference model.

run_schema_inventory
Writes to Elements

Inventories schema related to a proposed change.

refModelId, request.

Edit access to the reference model.

run_schema_recommendation
Read-only

Recommends schema implementation options.

refModelId, missionId.

Edit access to the reference model.

get_analysis_result
Read-only

Retrieves a Decision Engine mission result.

refModelId, missionId.

Edit access to the reference model.

Playbook tools

These tools support the Remove Unused Apex playbook and other playbooks. See What is an MCP playbook?

Tool

What it does

Required inputs

Access requirements

has_event_monitoring
Read-only

Checks whether Apex event monitoring data is available.

refModelId.

View access to the reference model.

get_unused_apex_candidates
Read-only

Ranks potentially unused Apex using synced metadata and telemetry.

refModelId.

View access to the reference model.

run_code_search
Read-only

Searches indexed source for literal text.

refModelId, query.

View access to the reference model.

Large results

Six tools always return rows as downloadable part files: get_dependencies, get_access, run_code_search, list_metadata_changes, list_metadata_by_criteria and get_metadata_source. They use newline-delimited JSON or comma-separated values where supported. Manifest mode returns counts without rows where available. For file-only tools, delivery does not change row files; five accept it for oversized manifest replies, while list_metadata_changes does not accept it. Each reply states how long its links last (expiresInSeconds); call again for fresh links.

Frequently Asked Questions

Can any Elements MCP tool delete or change my Salesforce metadata?

No Elements MCP tool deletes or changes your Salesforce metadata. No tool writes to, deploys to or deletes anything in a Salesforce org. The tools labelled Writes to Elements or Destructive in Elements only create or change things inside Elements, such as Spaces, metadata views, MetaFields, proposed metadata nodes, maps and diagram drafts, and user stories.

Which Elements MCP tools use AI?

The Elements MCP tools that use a large language model are explain_metadata_components, the Decision Engine tools, generate_process_map and generate_stories_from_diagram. They run through the same licensed AI features Elements already offers in the web app.

Why can't my assistant see a tool listed here?

Your assistant can't see an Elements MCP tool when none of your authorized Spaces makes it available through its plan and licences. Role requirements are checked when the tool is called. Check the per-tool requirements in the tools reference on GitHub, see Elements MCP server troubleshooting for what each refusal message means, and start a new conversation after any licensing change.

Did this answer your question?