Skip to main content
Glama
Ownership verified

Server Details

Rule engine with built-in simulation. 55 MCP tools for complete business rule lifecycle management.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL

See and control every tool call

Log every tool call with full inputs and outputs
Control which tools are enabled per connector
Manage credentials once, use from any MCP client
Monitor uptime and get alerted when servers go down

Available Tools

55 tools
lexq_ab_test_adjustInspect

Adjust traffic weights of a running A/B test.

ParametersJSON Schema
NameRequiredDescriptionDefault
groupIdYesPolicy group ID
controlWeightYesNew control weight (%)
challengerWeightYesNew challenger weight (%)
lexq_ab_test_startInspect

Start an A/B test on a policy group. Requires a challenger version ID and traffic split percentages.

ParametersJSON Schema
NameRequiredDescriptionDefault
groupIdYesPolicy group ID
identityKeyNoFact key for sticky assignment (e.g. customer_id)
controlWeightYesControl traffic weight (%)
challengerWeightYesChallenger traffic weight (%)
challengerVersionIdYesChallenger version ID
lexq_ab_test_stopInspect

Stop a running A/B test. Specify which version to keep.

ParametersJSON Schema
NameRequiredDescriptionDefault
groupIdYesPolicy group ID
winnerVersionIdYesVersion ID to keep as live
lexq_dataset_templateInspect

Generate a sample CSV or JSON template based on the required facts of a version. Use this to understand the expected data format before uploading a dataset.

ParametersJSON Schema
NameRequiredDescriptionDefault
formatNoTemplate formatcsv
groupIdYesPolicy group ID
versionIdYesVersion ID
lexq_dataset_uploadInspect

Upload inline CSV or JSON content as a simulation dataset. The content is uploaded to S3 and a path is returned. Use this path in simulation start with dataset type UPLOADED.

CSV example: user_id,payment_amount user_001,150000 user_002,50000

JSON example: [{"user_id":"user_001","payment_amount":150000}, {"user_id":"user_002","payment_amount":50000}]

ParametersJSON Schema
NameRequiredDescriptionDefault
contentYesCSV or JSON content as string
filenameNoFilename with extension (.csv or .json)dataset.csv
lexq_deploy_detailInspect

Get detailed info about a specific deployment including snapshot hash and integrity check.

ParametersJSON Schema
NameRequiredDescriptionDefault
deploymentIdYesDeployment ID
lexq_deploy_historyInspect

List deployment history across all groups.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number
sizeNoPage size
typeNoFilter by deployment type
groupIdNoFilter by group ID
lexq_deploy_liveInspect

Deploy an ACTIVE (published) version to live traffic. Takes effect immediately.

ParametersJSON Schema
NameRequiredDescriptionDefault
memoNoDeployment memo
groupIdYesPolicy group ID
versionIdYesVersion ID to deploy
lexq_deploy_overviewInspect

Show current deployment status of all groups — which version is live, last deployment type, and deployer.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

lexq_deploy_publishInspect

Publish a DRAFT version (DRAFT → ACTIVE). Locks the version from further edits. Must have at least one rule.

ParametersJSON Schema
NameRequiredDescriptionDefault
memoNoDeployment memo
groupIdYesPolicy group ID
versionIdYesVersion ID to publish
lexq_deploy_rollbackInspect

Rollback to the previous deployed version. Only available if there is a previous version.

ParametersJSON Schema
NameRequiredDescriptionDefault
memoNoRollback reason
groupIdYesPolicy group ID
lexq_deploy_undeployInspect

Remove the live version from traffic. The version stays ACTIVE but no longer serves requests.

ParametersJSON Schema
NameRequiredDescriptionDefault
memoNoUndeploy reason
groupIdYesPolicy group ID
lexq_dry_runInspect

Execute a single dry run against a version. Tests how rules evaluate given input facts without side effects.

Example input: { "facts": { "payment_amount": 100000, "customer_tier": "VIP" } }

Always dry-run before publishing to validate rule behavior.

ParametersJSON Schema
NameRequiredDescriptionDefault
factsYesJSON string of facts object, e.g. {"payment_amount":100000}
versionIdYesPolicy version ID to test against
includeDebugInfoNoInclude execution and decision traces
mockExternalCallsNoMock external integration calls
lexq_dry_run_compareInspect

Compare dry run results between two versions using the same input facts. Useful for validating changes.

ParametersJSON Schema
NameRequiredDescriptionDefault
factsYesJSON string of facts object
versionIdAYesBaseline version ID
versionIdBYesCandidate version ID
lexq_facts_createInspect

Register a new input variable. Key must be lowercase with underscores (e.g. payment_amount). Types: STRING, NUMBER, BOOLEAN, LIST_STRING, LIST_NUMBER.

ParametersJSON Schema
NameRequiredDescriptionDefault
keyYesVariable key (snake_case)
nameYesDisplay name
typeYesValue type
isRequiredNoWhether this fact is required for rule evaluation
descriptionNoDescription
lexq_facts_deleteInspect

Delete a fact definition. System facts cannot be deleted.

ParametersJSON Schema
NameRequiredDescriptionDefault
factIdYesFact definition ID
lexq_facts_listInspect

List all fact definitions (input variable schema). Shows key, type, and required status. Always check this before creating rules.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number
sizeNoPage size
keywordNoSearch keyword
lexq_facts_updateInspect

Update a fact definition. Key and type cannot be changed. System facts only allow name and description changes.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYesDisplay name
factIdYesFact definition ID
isRequiredYesRequired flag
descriptionNoDescription
lexq_groups_createInspect

Create a new policy group. Requires name and priority. Optionally set conflict resolution, activation group, and description.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYesGroup name (unique among non-ARCHIVED)
priorityYesExecution priority (lower = higher)
descriptionNoGroup description
maxSelectionsNoMax selections (required when mode is MAX_N)
activationGroupIdNoActivation group ID
conflictResolutionModeNoConflict resolution mode
conflictResolutionStrategyNoStrategy when mode is EXCLUSIVE or MAX_N
lexq_groups_deleteInspect

Archive a policy group. Only non-live groups can be deleted. This is irreversible.

ParametersJSON Schema
NameRequiredDescriptionDefault
groupIdYesPolicy group ID
lexq_groups_getInspect

Get a single policy group by ID.

ParametersJSON Schema
NameRequiredDescriptionDefault
groupIdYesPolicy group ID
lexq_groups_listInspect

List all policy groups. Supports pagination and optional status/keyword filters.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (0-indexed)
sizeNoPage size
statusNoFilter by status
keywordNoSearch keyword
lexq_groups_updateInspect

Update an existing policy group. Only provided fields are updated.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameNoNew name
statusNoStatus (DISABLED = emergency stop)
groupIdYesPolicy group ID
priorityNoNew priority
descriptionNoNew description
maxSelectionsNoMax selections
conflictResolutionModeNoConflict resolution mode
conflictResolutionStrategyNoStrategy
lexq_history_getInspect

Get full execution detail including request facts, result traces, and decision traces.

ParametersJSON Schema
NameRequiredDescriptionDefault
executionIdYesExecution history ID
lexq_history_listInspect

List policy execution history. Shows trace ID, group, version, status, match result, and latency.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number
sizeNoPage size
statusNoFilter by execution status
endDateNoEnd date (yyyy-MM-dd)
groupIdNoFilter by policy group
traceIdNoFilter by trace ID
startDateNoStart date (yyyy-MM-dd)
versionIdNoFilter by version
lexq_history_statsInspect

Get execution KPIs: total executions, success/failure counts, success rate, and average latency.

ParametersJSON Schema
NameRequiredDescriptionDefault
endDateNoEnd date (yyyy-MM-dd)
groupIdNoFilter by policy group
startDateNoStart date (yyyy-MM-dd)
lexq_integrations_config_specInspect

Show available integration types and their required configuration fields.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

lexq_integrations_deleteInspect

Delete an integration by ID.

ParametersJSON Schema
NameRequiredDescriptionDefault
integrationIdYesIntegration ID
lexq_integrations_getInspect

Get integration detail by ID.

ParametersJSON Schema
NameRequiredDescriptionDefault
integrationIdYesIntegration ID
lexq_integrations_listInspect

List all external integrations (webhooks, CRM, notification, etc.).

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number
sizeNoPage size
typeNoFilter by integration type
lexq_integrations_saveInspect

Create or update an integration. Types: COUPON, POINT, NOTIFICATION, CRM, MESSENGER, WEBHOOK.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYesIntegration name
typeYesIntegration type
apiKeyNoAPI key or token for the service
configNoJSON string of additional config key-value pairs
baseUrlYesBase URL of the external service
isActiveNoWhether the integration is active
lexq_logs_actionInspect

Process a single failure log: RETRY, RESOLVE, or IGNORE.

ParametersJSON Schema
NameRequiredDescriptionDefault
logIdYesFailure log ID
actionYesAction to take
lexq_logs_bulk_actionInspect

Process multiple failure logs at once. Provide an array of log IDs and the action.

ParametersJSON Schema
NameRequiredDescriptionDefault
actionYesAction to apply to all logs
logIdsYesArray of failure log IDs
lexq_logs_getInspect

Get failure log detail by ID.

ParametersJSON Schema
NameRequiredDescriptionDefault
logIdYesFailure log ID
lexq_logs_listInspect

List system failure logs from background tasks (webhook calls, coupon issuance, etc.).

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number
sizeNoPage size
statusNoLog status
endDateNoEnd date (yyyy-MM-dd)
keywordNoSearch in refId, refSubId, errorMessage
categoryNoTask category
taskTypeNoTask type
startDateNoStart date (yyyy-MM-dd)
lexq_requirementsInspect

Analyze which input facts a version requires. Returns required keys, types, and an example request body.

ParametersJSON Schema
NameRequiredDescriptionDefault
groupIdYesPolicy group ID
versionIdYesVersion ID
lexq_rules_createInspect

Create a rule in a DRAFT version. Requires name, priority, condition tree, and actions array.

Condition: { type: "SINGLE", field, operator, value, valueType } or { type: "GROUP", operator: "AND"|"OR", children: [...] } Operators: EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, CONTAINS, IN, NOT_IN Value types: STRING, NUMBER, BOOLEAN, LIST_STRING, LIST_NUMBER

Actions: [{ type, parameters }] Types: DISCOUNT, POINT, COUPON_ISSUE, BLOCK, NOTIFICATION, WEBHOOK, SET_FACT, ADD_TAG

ParametersJSON Schema
NameRequiredDescriptionDefault
ruleYesJSON string of CreateRuleRequest: { name, priority, condition, actions, mutexGroup?, mutexMode?, mutexStrategy?, mutexLimit?, isEnabled? }
groupIdYesPolicy group ID
versionIdYesVersion ID
lexq_rules_deleteInspect

Delete a rule from a DRAFT version.

ParametersJSON Schema
NameRequiredDescriptionDefault
forceNoSkip confirmation (for the last rule in a version)
ruleIdYesRule ID
groupIdYesPolicy group ID
versionIdYesVersion ID
lexq_rules_getInspect

Get full rule detail including condition tree and action definitions.

ParametersJSON Schema
NameRequiredDescriptionDefault
ruleIdYesRule ID
groupIdYesPolicy group ID
versionIdYesVersion ID
lexq_rules_listInspect

List all rules in a version. Returns summary with conditionSummary and actionSummary.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number
sizeNoPage size
groupIdYesPolicy group ID
versionIdYesVersion ID
lexq_rules_reorderInspect

Reorder rules by specifying rule IDs and their new priorities. Array index 0 = highest priority.

ParametersJSON Schema
NameRequiredDescriptionDefault
groupIdYesPolicy group ID
ruleIdsYesRule IDs in desired priority order
versionIdYesVersion ID
lexq_rules_toggleInspect

Enable or disable a rule without deleting it.

ParametersJSON Schema
NameRequiredDescriptionDefault
ruleIdYesRule ID
groupIdYesPolicy group ID
isEnabledYestrue to enable, false to disable
versionIdYesVersion ID
lexq_rules_updateInspect

Update an existing rule in a DRAFT version. Only provided fields are changed.

ParametersJSON Schema
NameRequiredDescriptionDefault
ruleYesJSON string of UpdateRuleRequest: { name?, priority?, condition?, actions?, mutexGroup?, mutexMode?, mutexStrategy?, mutexLimit?, isEnabled? }
ruleIdYesRule ID
groupIdYesPolicy group ID
versionIdYesVersion ID
lexq_simulation_cancelInspect

Cancel a running or pending simulation.

ParametersJSON Schema
NameRequiredDescriptionDefault
simulationIdYesSimulation ID
lexq_simulation_exportInspect

Export simulation results as JSON or CSV. Returns the raw data.

ParametersJSON Schema
NameRequiredDescriptionDefault
formatNoExport formatjson
simulationIdYesSimulation ID
lexq_simulation_listInspect

List simulation history with optional filters.

ParametersJSON Schema
NameRequiredDescriptionDefault
toNoEnd date (yyyy-MM-dd)
fromNoStart date (yyyy-MM-dd)
pageNoPage number
sizeNoPage size
statusNoFilter by status
lexq_simulation_startInspect

Start a batch simulation against historical execution data.

Example body: { "policyVersionId": "", "dataset": { "type": "HISTORICAL", "source": "EXECUTION_LOGS", "from": "2025-01-01", "to": "2025-01-31" }, "options": { "baselinePolicyVersionId": "", "includeRuleStats": true, "maxRecords": 10000 } }

ParametersJSON Schema
NameRequiredDescriptionDefault
bodyYesJSON string of SimulationRequest
lexq_simulation_statusInspect

Get simulation status and results. Poll until status is COMPLETED or FAILED.

ParametersJSON Schema
NameRequiredDescriptionDefault
simulationIdYesSimulation ID
lexq_versions_cloneInspect

Clone an existing version to create a new DRAFT. Useful when the source version is already published.

ParametersJSON Schema
NameRequiredDescriptionDefault
groupIdYesPolicy group ID
versionIdYesSource version ID to clone
commitMessageNoCommit message for the cloned version
lexq_versions_createInspect

Create a new DRAFT version in a policy group. Provide a commit message and optional effective date range.

ParametersJSON Schema
NameRequiredDescriptionDefault
groupIdYesPolicy group ID
effectiveToNoEffective end date (ISO 8601)
commitMessageYesCommit message describing this version
effectiveFromNoEffective start date (ISO 8601)
lexq_versions_deleteInspect

Delete a DRAFT version. Only DRAFT versions can be deleted.

ParametersJSON Schema
NameRequiredDescriptionDefault
groupIdYesPolicy group ID
versionIdYesVersion ID
lexq_versions_getInspect

Get a single version by ID, including its rules and fact requirements.

ParametersJSON Schema
NameRequiredDescriptionDefault
groupIdYesPolicy group ID
versionIdYesVersion ID
lexq_versions_listInspect

List all versions of a policy group.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number
sizeNoPage size
groupIdYesPolicy group ID
lexq_versions_updateInspect

Update a DRAFT version. Only DRAFT versions can be modified.

ParametersJSON Schema
NameRequiredDescriptionDefault
groupIdYesPolicy group ID
versionIdYesVersion ID
effectiveToNoNew effective end date
commitMessageNoNew commit message
effectiveFromNoNew effective start date
lexq_whoamiInspect

Show current authentication info (tenant name, role, API key mask).

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Verify Ownership

Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:

{
  "$schema": "https://glama.ai/mcp/schemas/connector.json",
  "maintainers": [
    {
      "email": "your-email@example.com"
    }
  ]
}

The email address must match the email associated with your Glama account. Once verified, the connector will appear as claimed by you.

Sign in to verify ownership

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.