Skip to main content

Rules

Tools for automation rules — their conditions, actions, and the action types available.

This page covers 11 tools, all of them available on request rather than in the default tool list, and 1 destructive.

How to read this page
  • Status — In the default tool list means the tool is one of the ~200 Aprimo advertises to every agent out of the box, so the agent discovers and calls it on its own. Available on request means the tool is registered and fully callable, but sits outside that default list — call it by name, or ask Aprimo to extend the list your tenant is served.
  • Both statuses work identically when called. Status affects discovery, not capability or authorization.
  • Visibility is not authorization. Every tool call executes as the authenticated user, and any tool can return an authorization error if that user lacks rights to the record, task, or file. See the MCP Tool Permission Map.
  • Destructive tools are labelled as such. They delete or irreversibly overwrite data, and will not act unless the call sets both confirmed and confirmedDestructive to true.
  • Activity and Project labels vary by tenant. Where this page says Activity or Project, your tenant's own configured terminology is substituted at runtime.
Why isn't every tool in the default list?

Aprimo's MCP Server exposes far more tools than most MCP clients handle well — many degrade or truncate their tool list well below the full catalogue. Rather than let a client truncate arbitrarily, Aprimo advertises a curated set of roughly 200 tools covering the tasks customers most commonly automate. Everything outside that set remains fully supported and callable by name; it simply isn't offered up front. If your integration leans on a tool that is available on request, talk to your Aprimo Customer Success Manager about extending the advertised list for your tenant.

Tools at a Glance

ToolStatusWhat it does
create_ruleOn requestCreates a new Aprimo automation rule.
delete_ruleOn requestDestructive. Permanently deletes an Aprimo rule by id or by name.
get_action_typeOn requestGets one Aprimo action type's detail (id, name) by id.
get_ruleOn requestGets one Aprimo rule's detail (target, trigger, enabled, custom tag, dates) by id or by name.
get_rule_created_byOn requestGets the Aprimo user who created a rule, by id or by name.
get_rule_modified_byOn requestGets the Aprimo user who last modified a rule, by id or by name.
list_action_typesOn requestLists the action types available in Aprimo for configuring checks (the kind of automated check a check performs against a file version, e.g. a virus scan or an image validation).
list_rule_actionsOn requestLists the actions of an Aprimo rule (what runs when the rule's conditions match), by id or by name.
list_rule_conditionsOn requestLists the conditions of an Aprimo rule (what must be true for the rule's actions to run), by id or by name.
list_rulesOn requestLists the automation rules configured in Aprimo — rules run a set of actions when their trigger fires and their conditions match (e.g. on record creation).
update_ruleOn requestEdits an existing Aprimo rule by id or by name.

create_rule

Available on request

Creates a new Aprimo automation rule. This modifies data. Always confirm the name, target, trigger, and any conditions/actions with the user before calling this tool. conditions/actions are JSON objects shaped like {"addOrUpdate": [ {"conditionType" or "actionType": ..., ...} ]} — use get_rule/list_rule_conditions/list_rule_actions on an existing similar rule as a shape reference, or the DAM rules documentation, if unsure of a variant's exact fields.

Parameters:

ParameterTypeRequiredDescription
namestringYesThe name for the new rule, exactly as the user stated it.
targetstringYesThe entity type this rule applies to, e.g. "Record", "Collection", "Classification". One of: SettingDefinition, FieldDefinition, IndexerTask, Translation, SettingCategory, UserGroup, Watermark, FieldGroup, Collection, User, Classification, Record, Language, FileType, Organization, Site, Publication, Subscription, FileStore, SavedView.
triggerstringYesThe event that triggers the rule. One of: WhenSavedOrDeleted, Daily.
enabledbooleanNoWhether the rule is enabled. Omit to use DAM's default.
tagstringNoOptional custom XML tag associated with the rule.
includeDraftRecordsbooleanNoWhether this rule can execute on draft records. Only meaningful when target is "Record". Omit to use DAM's default.
isInternalbooleanNoInternal rules can only be edited by operators. Omit to use DAM's default.
conditionsJsonElementNoRequired (not actually optional — DAM has no concept of a rule with zero conditions, for any target/trigger): at least one condition, JSON object {"addOrUpdate": [ {"conditionType": ..., ...}, ... ]} with a non-empty addOrUpdate array. DAM rejects creating a rule with zero conditions with HTTP 400 "An invalid value was specified for Conditions." Use get_rule/list_rule_conditions on an existing similar rule, or the DAM rules documentation, for a conditionType's exact fields.
actionsJsonElementNoRequired (not actually optional — DAM has no concept of a rule with zero actions, for any target/trigger): at least one action, JSON object {"addOrUpdate": [ {"actionType": ..., ...}, ... ]} with a non-empty addOrUpdate array. DAM rejects creating a rule with zero actions with HTTP 400 "An invalid value was specified for Actions." Use get_rule/list_rule_actions on an existing similar rule, or the DAM rules documentation, for an actionType's exact fields.

Returns:

FieldTypeDescription
idstring
namestring

delete_rule

Available on request · Destructive

Permanently deletes an Aprimo rule by id or by name. This cannot be undone — the rule will no longer run its actions when its trigger fires. Requires both confirmed=true and confirmedDestructive=true, after explicitly confirming the exact rule with the user.

Parameters:

ParameterTypeRequiredDescription
ruleIdstringNoThe rule id (GUID) to delete. Provide this or name, not both.
namestringNoThe rule's name (case-insensitive, exact match). Provide this or ruleId, not both.
confirmedbooleanNoMust be true to proceed. Set to false (or omit) to get a confirmation gate error, then call again with confirmed=true after the user has explicitly confirmed the exact rule.
confirmedDestructivebooleanNoMust also be true (in addition to confirmed) — deleting a rule is permanent and cannot be undone. Set only after stating the exact rule to the user and getting explicit go-ahead.

Returns:

FieldTypeDescription
idstring
namestring (optional)
deletedboolean
Destructive operation

This tool deletes or irreversibly overwrites data in the live tenant; the change cannot be rolled back through the API. It will not act unless the call sets both confirmed and confirmedDestructive to true.


get_action_type

Available on request

Gets one Aprimo action type's detail (id, name) by id. Use after list_action_types.

Parameters:

ParameterTypeRequiredDescription
actionTypeIdstringYesThe action type id (GUID), from list_action_types.

Returns:

FieldTypeDescription
idstring
namestring

get_rule

Available on request

Gets one Aprimo rule's detail (target, trigger, enabled, custom tag, dates) by id or by name. Use after list_rules, or pass name directly when the user names the rule. Use list_rule_conditions/list_rule_actions to see the rule's conditions/actions. Not its creator (get_rule_created_by) or last modifier (get_rule_modified_by).

Parameters:

ParameterTypeRequiredDescription
ruleIdstringNoThe rule id (GUID), from list_rules. Provide this or name, not both.
namestringNoThe rule's name (case-insensitive, exact match). Provide this or ruleId, not both.

Returns:

FieldTypeDescription
idstring
namestring
enabledboolean (optional)
targetstring (optional)
triggerstring (optional)
tagstring (optional)
versioninteger (optional)
includeDraftRecordsboolean (optional)
expressionstring (optional)
isInternalboolean (optional)
createdOnstring (optional)
modifiedOnstring (optional)

get_rule_created_by

Available on request

Gets the Aprimo user who created a rule, by id or by name.

Parameters:

ParameterTypeRequiredDescription
ruleIdstringNoThe rule id (GUID). Provide this or name, not both.
namestringNoThe rule's name (case-insensitive, exact match). Provide this or ruleId, not both.

Returns:

FieldTypeDescription
idstring
namestring (optional)
firstNamestring (optional)
lastNamestring (optional)
emailstring (optional)
isActiveboolean (optional)

get_rule_modified_by

Available on request

Gets the Aprimo user who last modified a rule, by id or by name.

Parameters:

ParameterTypeRequiredDescription
ruleIdstringNoThe rule id (GUID). Provide this or name, not both.
namestringNoThe rule's name (case-insensitive, exact match). Provide this or ruleId, not both.

Returns:

FieldTypeDescription
idstring
namestring (optional)
firstNamestring (optional)
lastNamestring (optional)
emailstring (optional)
isActiveboolean (optional)

list_action_types

Available on request

Lists the action types available in Aprimo for configuring checks (the kind of automated check a check performs against a file version, e.g. a virus scan or an image validation). Use when the user asks what action types exist, or to look up an action type's id before calling get_action_type.

Parameters:

ParameterTypeRequiredDescription
filterstringNoOptional filter expression (DAM query syntax), e.g. "ModifiedOn in today". Omit to list every action type.
sortstringNoOptional sort expression, e.g. "createdOn". Omit for the endpoint's default order.
skipintegerNoNumber of items to skip, for paging. Defaults to 0.
takeintegerNoMaximum number of items to return. Omit for the endpoint's default page size.

Returns:

FieldTypeDescription
countinteger
itemsarray of ActionTypePayload
items[].idstring
items[].namestring

list_rule_actions

Available on request

Lists the actions of an Aprimo rule (what runs when the rule's conditions match), by id or by name. Each item's index is what update_rule's actions.remove array expects to delete it.

Parameters:

ParameterTypeRequiredDescription
ruleIdstringNoThe rule id (GUID). Provide this or name, not both.
namestringNoThe rule's name (case-insensitive, exact match). Provide this or ruleId, not both.

Returns:

FieldTypeDescription
ruleIdstring
countinteger
itemsarray of RuleActionPayload
items[].indexinteger (optional)
items[].actionTypestring (optional)
items[].executionTimestring (optional)
items[].detailsobject (optional)

list_rule_conditions

Available on request

Lists the conditions of an Aprimo rule (what must be true for the rule's actions to run), by id or by name. Each item's index is what update_rule's conditions.remove array expects to delete it.

Parameters:

ParameterTypeRequiredDescription
ruleIdstringNoThe rule id (GUID). Provide this or name, not both.
namestringNoThe rule's name (case-insensitive, exact match). Provide this or ruleId, not both.

Returns:

FieldTypeDescription
ruleIdstring
countinteger
itemsarray of RuleConditionPayload
items[].indexinteger (optional)
items[].conditionTypestring (optional)
items[].detailsobject (optional)

list_rules

Available on request

Lists the automation rules configured in Aprimo — rules run a set of actions when their trigger fires and their conditions match (e.g. on record creation). Use when the user asks what rules exist, or to look up a rule's id/exact name before calling get_rule, update_rule, or delete_rule by name.

Parameters:

ParameterTypeRequiredDescription
filterstringNoOptional filter expression (DAM query syntax), e.g. "ModifiedOn in today". Omit to list every rule.
sortstringNoOptional sort expression, e.g. "createdOn". Omit for the endpoint's default order.
skipintegerNoNumber of items to skip, for paging. Defaults to 0.
takeintegerNoMaximum number of items to return. Omit for the endpoint's default page size.

Returns:

FieldTypeDescription
countinteger
itemsarray of RulePayload
items[].idstring
items[].namestring
items[].enabledboolean (optional)
items[].targetstring (optional)
items[].triggerstring (optional)
items[].tagstring (optional)
items[].versioninteger (optional)
items[].includeDraftRecordsboolean (optional)
items[].expressionstring (optional)
items[].isInternalboolean (optional)
items[].createdOnstring (optional)
items[].modifiedOnstring (optional)

update_rule

Available on request

Edits an existing Aprimo rule by id or by name. Only the fields provided are changed — omitted fields keep their current value. This modifies data. Always confirm the exact rule and the new values with the user before calling this tool. conditions/actions, if provided, replace entries by index and/or add new ones per DAM's {"addOrUpdate": [...], "remove": [index, ...]} shape — use list_rule_conditions/list_rule_actions first to find existing indexes.

Parameters:

ParameterTypeRequiredDescription
ruleIdstringNoThe rule id (GUID) to edit. Provide this or name, not both.
namestringNoThe rule's current name (case-insensitive, exact match), used to look it up. Provide this or ruleId, not both.
newNamestringNoNew name for the rule. Omit to leave the name unchanged.
targetstringNoNew target entity type. One of: SettingDefinition, FieldDefinition, IndexerTask, Translation, SettingCategory, UserGroup, Watermark, FieldGroup, Collection, User, Classification, Record, Language, FileType, Organization, Site, Publication, Subscription, FileStore, SavedView. Omit to leave it unchanged.
triggerstringNoNew trigger. One of: WhenSavedOrDeleted, Daily. Omit to leave it unchanged.
enabledbooleanNoNew enabled flag. Omit to leave it unchanged.
tagstringNoNew custom XML tag. Omit to leave the tag unchanged.
includeDraftRecordsbooleanNoNew include-draft-records flag. Omit to leave it unchanged.
isInternalbooleanNoNew is-internal flag. Omit to leave it unchanged.
conditionsJsonElementNoConditions to add/update/remove: JSON object {"addOrUpdate": [...], "remove": [index, ...]}. Omit to leave conditions unchanged.
actionsJsonElementNoActions to add/update/remove: JSON object {"addOrUpdate": [...], "remove": [index, ...]}. Omit to leave actions unchanged.

Returns:

FieldTypeDescription
idstring
namestring (optional)