Skip to main content
Glama

Cirra AI Salesforce Admin MCP Server

connect_rest

Destructive

Call any Salesforce Connect REST API resource under /services/data/vXX.X/connect/. Resource families under that prefix include Core (org and user settings), CMS (managed content — prefer cms_content and cms_delivery when they cover the operation), Experience Cloud (sites, site publishing, audiences, moderation), Files and Folders, Personalization, Commerce, and DevOps Center (connect/devops). Resources under connect/devops follow the connection's DevOps access category, not metadata access. Requires the exact resource path from Salesforce's Connect REST API reference — do not guess paths. An empty path returns the Connect directory of resources available to the context user. Org-level Chatter REST lives under /chatter/, not /connect/, and is not reachable with this tool. Only Connect REST resources are reachable; use soql_query, sobject_dml, tooling_api_* or metadata_* for other APIs.

Input Schema

NameRequiredDescriptionDefault
bodyNo(optional) The JSON request body for POST, PATCH, and PUT requests, matching the documented input shape for the resource.
pathNoThe Connect REST resource path relative to /services/data/vXX.X/connect/, for example 'communities' or 'organization'. An empty path (or the Connect root itself) returns the directory of resources available to the context user. The version prefix is added automatically; a fully qualified path beginning with /services/data/vXX.X/connect is also accepted. Put query-string values in queryParams, not in this path.
methodYesThe HTTP method. For POST, PATCH, PUT, and DELETE, always show the user the exact method, path, and body and ask for explicit approval before executing, and do not proceed without it.
sf_userNo(optional) Salesforce username to identify the connection to use. Omit this to use the current default connection.
queryParamsNo(optional) Query-string parameters for the resource. Array values are joined with commas, which is the convention Connect REST uses for list-valued parameters.
cirra_ai_teamNo(optional) Cirra team ID or name that owns the Salesforce connection to use for this call. Must be provided together with 'sf_user'. Use it to run against a specific team's connection without changing your default team — e.g. to keep separate chats on Salesforce orgs in different teams. Omit it when this call carries the context_handle from cirra_ai_init, which names the team for the conversation. A user with more than one place to work (several teams, or a team and a personal account) must pass either the context_handle or 'cirra_ai_team' + 'sf_user'.
context_handleNo(recommended) The conversation context handle returned by cirra_ai_init in this conversation. Pass the exact context_handle value from the most recent cirra_ai_init result so this call runs against the team and Salesforce connection selected for this conversation. A user with more than one place to work (several Cirra AI teams, or a team and a personal account) must pass either this handle or 'cirra_ai_team' + 'sf_user'; a call with neither is refused.

Output Schema

NameRequiredDescriptionDefault
resultNo
messageYes
recordsNo
resultsNo
successYes
warningNo
errorCodeNo
errorCountNo
resultCountNo
artifactTypeNo
requestCountNo
skippedCountNo
successCountNo
collectionFieldNo
artifactCategoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the description's added value is scope and access semantics: paths must come verbatim from the Connect REST reference and DevOps resources follow the connection's DevOps access category rather than metadata access. It does not itself restate the destructive/mutating risk or rate-limit behavior, but that is covered by annotations and the method param.

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?

Front-loaded with the core capability, then scope, then exclusions; no filler sentences. It is dense and long-ish, but every sentence carries routing or constraint information an agent needs for a generic passthrough API tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present and full annotation coverage, the description supplies exactly the missing pieces: what surface is reachable, what isn't, path sourcing rules, and sibling alternatives. Nothing needed to invoke it correctly is absent.

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 baseline is 3; the description adds real meaning beyond the schema by warning that paths must be taken from Salesforce's reference and not guessed, and that an empty path returns the Connect directory for the context user. It also implicitly constrains what belongs in path versus queryParams.

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?

States a specific verb and resource ('Call any Salesforce Connect REST API resource under /services/data/vXX.X/connect/') and enumerates the resource families covered (Core, CMS, Experience Cloud, Files, Personalization, Commerce, DevOps). It also explicitly disambiguates from siblings (cms_content, cms_delivery, soql_query, sobject_dml, tooling_api_*, metadata_*), so an agent can pick it without opening the schema.

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?

Gives explicit when-to-use (Connect REST resources), when-not-to-use (Chatter under /chatter/ is not reachable; use soql_query/sobject_dml/tooling_api_*/metadata_* for other APIs), and preference routing ('prefer cms_content and cms_delivery when they cover the operation'). The empty-path behavior for discovery is also spelled out.

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.

Resources