The Elements MCP (Model Context Protocol) server exposes 63 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, stories and requirements and their links to metadata, and this connection's authorization. No tool writes to, deploys to, or deletes anything in a Salesforce org.
Prerequisites
Elements has enabled MCP access for the Space you want to use. The MCP server is included in the Advanced Metadata Management plan, or in Core Metadata Management with the Agentic Org Management add-on.
A Salesforce Org is connected and synced to that Space.
Your AI assistant is connected to Elements. See Connect your AI assistant to the Elements MCP server.
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.
Where supported, file delivery returns a finished result as part files whatever its size, and some tools always return their rows as part files (see Large results). Unfinished results and failures can remain inline.
Tool labels
Each tool below is labelled with the MCP annotation it sends:
Read-only:
readOnlyHint: true.Writes to Elements:
readOnlyHint: falseanddestructiveHint: false.Destructive in Elements:
readOnlyHint: falseanddestructiveHint: true.
Six tools are labelled Destructive in Elements. Each has a safeguard:
import_diagramreplaces 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_diagramcan 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.set_story_fieldsoverwrites the listed fields on stories or requirements. Your assistant first shows you a preview and only goes ahead after you confirm.remove_story_linksremoves links between stories or requirements and Salesforce metadata, including each link’s note, outcome, status and groups. Your assistant first shows you a preview and only goes ahead after you confirm.revoke_accessdisconnects 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 |
| Shows the active Space and pages the Spaces authorized for this connection. | None. Optional: teamId, skip, pageSize. | — |
| Selects the Space for following calls. | teamId. | — |
| Creates a Space; consulting is the default type. Success returns teamId, name, type and nextStep. If MCP is enabled at creation, the Space is added to the connection; otherwise, enable MCP if needed and reconnect to use it. Without a consulting licence, creation returns | name and a nonblank description (trimmed). Optional: prefix, type (free or consulting). | — |
| Starts connecting a Salesforce org to the Space. Returns a connection link and attempt identifier for you to complete the Salesforce login in a browser, or | orgType (production or sandbox). Optional: implementationId, newImplementation, manualSyncOnly. | Space admin rights and the |
| Returns | attemptId. | The |
| 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 |
| Lists Salesforce reference models available in a Space, including whether each is a sandbox, production or unknown, and how recently it synced. | None. Optional: teamId, search. | — |
| Returns dependency counts and relationships for selected metadata nodes, with coverage and failures for each node. Available nodes include links to their pages in Elements. Counts can include relationships whose related node is unavailable. | refModelId, nodeIds or nodeId; direction and metadata selection options. | View access to the reference model where required. |
| Returns metadata component details, fields or relationships, including links to available components and item failures. | refModelId and exactly one of nodeId or nodeIds. Optional: page.list for single-component paging. | View access to the reference model where required. |
| Explains metadata behavior in plain English. Uses AI. If generation fails, the server remembers the failure for about 32 minutes for that reference model, component and aspect, so trying again immediately returns the same failure. A saved result or a running generation takes priority. A | aspect and metadata node selection; refModelId when identifying a node. | Automation & Execution Intelligence add-on* |
| Analyzes automation and record-lock impact for a planned data load, including Workflow Rules and Process Builders. Immediate writes propagate through the fire chain; delayed writes are reported only, outside the transaction. Each direct automation carries | refModelId and one or more target definitions. | View access to the reference model where required. |
| Finds reference-model metadata by search terms. Inline results put exact API name matches first, ignoring letter case, including object-qualified terms such as | refModelId, search terms. | View access to the reference model where required. |
| Lists change history for a metadata component. | refModelId, nodeId. | View access to the reference model where required. |
| Returns usage and telemetry for an object. | refModelId, nodeId. | View access to the reference model where required. |
| Returns source for selected metadata nodes. | refModelId, nodeIds. | View access to the reference model where required. |
| Audits access granted to selected metadata nodes. | refModelId and nodeId or nodeIds. | View access to the reference model where required. |
| Lists metadata types and the columns you can use in a query. | refModelId. Optional: metadataList or allNodes. | View access to the reference model where required. |
| Lists metadata matching criteria or a saved cleanup view. | refModelId; criteria or a view id. | View access to the reference model where required. |
| Saves a metadata criteria view. | refModelId, name, viewSpec. | Edit access to the reference model. |
| Adds a proposed metadata node to a reference model. | refModelId, metadataType, label, apiName, parentId identifying the parent container. | Edit access to the reference model. |
| Lists installed managed packages, their namespaces, labels and component counts. | refModelId. | View access to the reference model where required. |
| Plans a managed package removal and identifies dependencies. Each blocker counts the package components it references and gives each sampled component its node id. It never uninstalls anything. | refModelId, package selection. | View access to the reference model where required. |
| Lists MetaField definitions and dependencies. | None. Optional: implementationId and filters. | — |
| Creates a MetaField definition. | implementation, title, type, appliesTo; list and multi-picklist types also require 1–200 options. | Space admin role. |
| Updates a MetaField definition. | metafieldId and at least one definition field. | Space admin role. |
| Sets MetaField values on selected nodes. A call whose filter depends on a value it also writes is refused before any write. | refModelId and assignments: [{metafieldId, values: [...]}]; each value selects nodes with nodeIds or nodeFilter. | Edit access to the reference model. |
| Creates or replaces the dependency matrix between two MetaFields; values already on your items are never deleted. Can preview the change, including how many items would hold a newly forbidden value, before applying it. | controllerId, dependentId, relationMap. Optional: dryRun (default false). | Space admin role. |
| 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 |
| Returns a selected org-health dimension. | refModelId, area. | View access to the reference model. |
| 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 |
| 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 |
| Lists process maps in the active Space, including creation and update dates and creator. | None. Optional: query for a name fragment, folderId, limit, skip. | — |
| 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. |
| 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. Each activity resource includes its library type, or null when the library has none. | diagramId, or mapId plus levelNumber or title. | View access to the named map where required. |
| Returns schemas for diagram reads and changes, including sizes, containers, connection points and attachments. | None. | — |
| Changes one level of a diagram: adds, updates, moves or removes activities, resources, lines, notes and text boxes, typed child levels and attachments by nodeId. Line ends accept fromPoint and toPoint with a side; architecture cards accept size and container settings. Ambiguous metadata names and invalid positions are refused. 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. | Diagram edit access, including level edit rights where applicable; manage role on the map to change the top level's title or description; edit or manage role on the reference model to attach its metadata. |
| Creates a new, empty map with one blank top-level diagram. | name. Optional: type, description, folderId. | Author role. |
| Lists the diagram templates you can start a map from. | None. Optional: templateSpaceId, category, type, search. | — |
| 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. |
| Polls a generated process map and returns its status: running, complete (including empty), failed or unknown. Running and failed replies arrive inline; a stopped generation with a complete, unknown or empty outcome can arrive as a file. Each activity resource includes its library type, or null when the library has none. Your assistant stops polling once the status is final. | diagramId. | View access to the named map where required. |
| Generates a process map from text or images, or from a Salesforce lifecycle object. For org objects, active record types are included by default; includeInactiveRecordTypes adds inactive ones. Your assistant checks for completion afterward. Uses AI. | Depends on source: text, images, or refModelId and objectApiName. Optional: includeInactiveRecordTypes. | Author role; edit access to the reference model for the org_object source. |
| Uploads an image for process-map generation. | contentType and image data, or upload URL mode inputs. | Author role. |
| Exports a process map for editing. | mapId. | Manage access to the diagram. |
| Imports an edited process map, replacing the draft levels that match the imported map. | mapId and import source; confirm when applying. | Author role; edit access to that diagram. |
Stories
Tool | What it does | Required inputs | Access requirements |
| Lists stories or requirements. User stories filtered by diagram include generation progress. | type (user_story or requirement). Optional: diagramId, filters, limit (default 50, max 200), skip, mode (page or manifest), format. | — |
| Describes standard and custom story or requirement fields, allowed values, workflow statuses and releases. | type (user_story or requirement). | — |
| Saves stories and requirements in bulk, with links, including selected backlog draft items using draftKey. | items, each with clientRef, type and summary. Optional: draftKey. | Requirements manager role. |
| Updates story and requirement fields per item or in bulk. Your assistant previews the change, then asks you to confirm. | type (user_story or requirement); updates or bulk; confirm: true to write. | Requirements manager role. |
| Links stories and requirements to Salesforce metadata. | action (add); links, each with storyId and nodeIds. | Edit access to the reference model that holds each node. |
| Removes links between stories or requirements and metadata. Your assistant previews the change, then asks you to confirm. | links, each with storyId and nodeIds; confirm: true to remove. | Edit access to the reference model that holds each node. |
| Generates a draft story for each human resource on an eligible activity, or for each other resource if it has no human resource. An eligible activity has an incoming line, an outgoing line and at least one resource. Uses AI. | mapId. Optional: diagramId to generate on a child level (top level when omitted), activityMxKeys to select activities. | Requirements manager role; edit access to the level generated on. |
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 |
| Inventories automation relevant to a proposed change, including object writes from synced Workflow Field Updates, which can include scheduled actions. | refModelId, request. | Edit access to the reference model. |
| Recommends automation implementation options. | refModelId, missionId. | Edit access to the reference model. |
| Scans direct dependencies for a proposed change. | refModelId; missionId or standalone target. | Edit access to the reference model. |
| Analyzes the impact of a proposed change and reports work, investigations, coverage gaps and recorded failures. | refModelId, missionId, change description. | Edit access to the reference model. |
| Analyzes architecture risks in a proposed change. | refModelId and missionId or standalone target. | Edit access to the reference model. |
| Drafts requirements and stories for delivery. | refModelId, missionId. | Edit access to the reference model. |
| Inventories schema related to a proposed change. | refModelId, request. | Edit access to the reference model. |
| Recommends schema implementation options. | refModelId, missionId. | Edit access to the reference model. |
| 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 |
| Checks whether Apex event monitoring data is available. | refModelId. | View access to the reference model. |
| Ranks potentially unused Apex using synced metadata and telemetry. | refModelId. | View access to the reference model. |
| Searches indexed source for literal text. | refModelId, query. | View access to the reference model. |
Large results
search_metadata answers one page inline; with delivery: "file" it returns every match as newline-delimited JSON (NDJSON) part files.
Eleven tools or modes always return rows as downloadable part files: get_dependencies, get_access, run_code_search, list_metadata_changes, list_metadata_by_criteria, get_metadata_source, list_managed_packages page mode, get_org_health_detail, get_component_change_history change logs, plan_package_uninstall blockers and permissions modes, and dependency scan results from get_analysis_result. They use newline-delimited JSON or comma-separated values where supported. Manifest mode can return counts without row files. Part-file links expire; call again for fresh links.
list_managed_packages, get_org_health_detail, get_component_change_history and list_metadata_changes don't accept delivery. The blockers and permissions modes of plan_package_uninstall refuse limit, skip and JSON format.
Replies have a 30,000-character response budget. An oversized resumable page may be shortened with a continuation hint; other oversized results are delivered as a file. File-only results stop at 2,000,000 rows or 2 GiB in total. A read that takes longer than 60 seconds for a batch can fail with a timeout. A file's availability is separate from the outcome of the underlying operation: a delivered file can hold a failed, unknown or empty result.
Your AI assistant downloads part files from the Elements result-file host, so your network, proxy or AI client must allow it. See Result-file downloads.
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 stories and requirements and their links to metadata.
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.
