Skip to main content
Glama

hackle-mcp

Official
by hackle-io

remote-config-update

Modify and update remote configurations to manage conditional values and default settings based on specific targeting rules for efficient A/B testing and feature flag management.

Instructions

Updates remote config's content.

Input Schema

NameRequiredDescriptionDefault
bodyYes
remoteConfigIdYesRemote config's id.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "body": { "additionalProperties": false, "properties": { "conditionalValues": { "description": "The earlier a condition is placed in the array, the earlier it is applied.", "items": { "additionalProperties": false, "properties": { "remoteConfigValue": { "type": [ "string", "number", "boolean" ] }, "ruleName": { "type": "string" }, "target": { "additionalProperties": false, "description": "Targeting rule.", "properties": { "conditions": { "description": "Users who The user he satisfies all conditions in this array will see this rule's remote config value.", "items": { "additionalProperties": false, "properties": { "key": { "additionalProperties": false, "properties": { "name": { "description": "Property's name if type is HACKLE_PROPERTY or USER_PROPERTY. Experiment key if type is AB_TEST. Feature flag key if type is FEATURE_FLAG. You can put any non-empty string if type is COHORT or SEGMENT.", "type": "string" }, "type": { "description": "Condition's type.", "enum": [ "HACKLE_PROPERTY", "USER_PROPERTY", "SEGMENT", "AB_TEST", "FEATURE_FLAG", "COHORT" ], "type": "string" } }, "required": [ "type", "name" ], "type": "object" }, "match": { "additionalProperties": false, "properties": { "operator": { "enum": [ "IS_ONE_OF", "IS_NOT_ONE_OF", "IS_STARTS_WITH", "IS_NOT_STARTS_WITH", "IS_ENDS_WITH", "IS_NOT_ENDS_WITH", "IS_CONTAINS", "IS_NOT_CONTAINS", "EQ", "NOT_EQ", "GT", "GTE", "LT", "LTE", "IS_TRUE", "IS_FALSE", "VERSION_EQ", "VERSION_NOT_EQ", "VERSION_GT", "VERSION_GTE", "VERSION_LT", "VERSION_LTE" ], "type": "string" }, "valueType": { "enum": [ "NUMBER", "STRING", "BOOLEAN", "VERSION" ], "type": "string" }, "values": { "description": "Values of targeting condition's key. Followings are some special cases: The values will be treated as names if you are using SEGMENT. Only strings 'A' and 'B' are allowed if type is AB_TEST. Only boolean values are accepted if type is FEATURE_FLAG. You should put cohort's id if type is COHORT.", "items": { "type": [ "string", "number", "boolean" ] }, "type": "array" } }, "required": [ "operator", "valueType", "values" ], "type": "object" } }, "required": [ "key", "match" ], "type": "object" }, "type": "array" } }, "required": [ "conditions" ], "type": "object" } }, "required": [ "ruleName", "remoteConfigValue", "target" ], "type": "object" }, "type": "array" }, "dataType": { "description": "Type of Remote Config's value. You must provide remote config's value type to match with this field.", "enum": [ "STRING", "JSON", "NUMBER", "BOOLEAN" ], "type": "string" }, "remoteConfigDefaultValue": { "type": [ "string", "number", "boolean" ] } }, "required": [ "dataType", "remoteConfigDefaultValue", "conditionalValues" ], "type": "object" }, "remoteConfigId": { "description": "Remote config's id.", "exclusiveMinimum": 0, "type": "number" } }, "required": [ "remoteConfigId", "body" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hackle-io/hackle-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server