_ registry / mcp streamable-http · checked 11h ago

configdirector

https://mcp.configdirector.com

Registry code: a9ebd43e868819fb

api record

ConfigDirector manages remote configuration and feature flags.

An organization owns projects. A project has environments (for example test, staging, production) and configs. A config has a key, a role (feature flag, kill switch, config, or experiment), a lifetime (temporary or permanent; a feature flag and an experiment are always temporary, a kill switch is always permanent, and only a config chooses its lifetime), a value type, and optional constraints. A feature flag can become a kill switch and a kill switch a feature flag; the role is never updated otherwise. Every config carries one set…

endpoint
https://mcp.configdirector.com
protocol
streamable-http ·2025-06-18
authentication
none observed
public key
none — nobody has proven they own this listing · is it yours? claim it
karma
0 · newcomer
_ is it live, free and safe measured by this hub
Is configdirector live?
Yes — it answered the hub's last check (checked 11h ago). It answered 100% of checks over the last 30 days.
Is configdirector free to use?
Not anonymously — it asks for a key or a login before it will serve. Whether that key costs anything is the operator's plan to say: the hub measured the door, not the pricing.
What tools does configdirector have?
38 tools: list_projects, get_environment, create_environment, get_config_activity, delete_segment, get_targeting_rules_reference, find_tag_by_name, get_project, ….
Is configdirector safe to connect?
The hub found no text in its card or tool descriptions aimed at the agent reading them. It measures what the server answers, not its code — grant it only the access its tools need.
reachable
live
uptime, 30 days
100%

90 days 100%· all time 100%

latency
209ms

last good check

priced tools
0

of 38 tools

_ answered our checks, 90 days 1 checks · signed record
  • unknown → live
_ usage and payments 30 days

Calls placed through this hub's router, from its own receipts. Every caller and every payer counts the same; the chain total is counted from three payers.

accounts
0

through this hub

calls served
0

successful

paid through this hub
0 USDC

what callers paid

_ what it can do 38 tools
38 auth-required 38 of 38 classified

Price is per tool, not per server. An agent whose handshake is open can hold tools that demand a key or a payment, and one figure for the whole agent sends callers into a wall.

  • list_projects auth-required never probed

    List the projects in the organization with their ids and slugs. Environments are not included; call list_environments for a project.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [],
      "properties": {}
    }
    arguments 6 lines
  • get_environment auth-required never probed

    Get one environment of a project by id.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "environmentId"
      ],
      "properties": {
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        },
        "environmentId": {
          "type": "string",
          "minLength": 1,
          "description": "The environment id, as returned by list_environments."
        }
      }
    }
    arguments 20 lines
  • create_environment auth-required never probed

    Create an environment in a project. It starts with Deletion protection off; it is turned on in the dashboard. The slug is the URL-safe identifier used by SDKs and Terraform (lowercase letters, digits, and hyphens, at least 4 characters, unique in the project). The color is for the dashboard. Set live to true for environments that serve real users; the dashboard asks for confirmation before changing targeting rules in a live environment.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "name",
        "slug",
        "color",
        "live"
      ],
      "properties": {
        "live": {
          "type": "boolean",
          "description": "true for an environment that serves real users. The dashboard asks for confirmation before targeting rules change in a live environment."
        },
        "name": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "description": "The environment's display name, up to 200 characters."
        },
        "slug": {
          "type": "string",
          "maxLength": 150,
          "minLength": 4,
          "description": "The environment's URL-safe identifier used by SDKs and Terraform: letters, digits, and hyphens, starting with a letter, 4 to 150 characters, unique in the project, not a UUID."
        },
        "color": {
          "enum": [
            "maroon",
            "red",
            "purple",
            "fuchsia",
            "green",
            "lime",
            "olive",
            "yellow",
            "navy",
            "blue",
            "teal",
            "aqua"
          ],
          "type": "string",
          "description": "The color that marks the environment in the dashboard: one of maroon, red, purple, fuchsia, green, lime, olive, yellow, navy, blue, teal, aqua."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        }
      }
    }
    arguments 52 lines
  • get_config_activity auth-required never probed

    Get the most recent evaluation of a config reported by SDK telemetry, per environment, SDK key kind, SDK name, and SDK version, most recent first. Useful to tell whether a config is still in use.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "configKey"
      ],
      "properties": {
        "configKey": {
          "type": "string",
          "minLength": 1,
          "description": "The config key, as returned by list_configs."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        }
      }
    }
    arguments 20 lines
  • delete_segment auth-required never probed

    Delete a segment and its environment overrides. Refused while the targeting rules of any config use the segment in any environment; the refusal names each config and its environments, so remove the segment conditions with update_targeting_rules first.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "segmentKey"
      ],
      "properties": {
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        },
        "segmentKey": {
          "type": "string",
          "minLength": 1,
          "description": "The segment key, as returned by list_segments."
        }
      }
    }
    arguments 20 lines
  • get_targeting_rules_reference auth-required 11h ago

    The exact format update_targeting_rules accepts: the JSON Schema of a targeting rules update, the two condition kinds (attribute and segment), the operators allowed per target type, the attributes an attribute condition can test, the operators a context kind condition takes, the segment operators, and notes on how rules are evaluated. Read this before composing rules.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [],
      "properties": {}
    }
    arguments 6 lines
  • find_tag_by_name auth-required 11h ago

    Resolve a tag name to its stable project-scoped ID. Ignores leading and trailing whitespace and differences in casing. Returns the original display casing.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "name"
      ],
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 50,
          "minLength": 1,
          "description": "A tag name: 1–50 characters after trimming, allowing spaces and punctuation. Compared case-insensitively within the project; display casing is preserved."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        }
      }
    }
    arguments 21 lines
  • get_project auth-required never probed

    Get one project by id, including its environments when the token can read environments.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId"
      ],
      "properties": {
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        }
      }
    }
    arguments 14 lines
  • create_project auth-required never probed

    Create a project in the organization. The Test and Production environments are created with it. The project and its environments start with Deletion protection off; it is turned on in the dashboard. The slug is the URL-safe identifier: lowercase letters and digits, with single hyphens or underscores between them, unique in the organization, not a UUID.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "name",
        "slug"
      ],
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 255,
          "minLength": 1,
          "description": "The project's display name, up to 255 characters."
        },
        "slug": {
          "type": "string",
          "pattern": "^[\\da-z]+(?:[-_][\\da-z]+)*$",
          "maxLength": 255,
          "minLength": 1,
          "description": "The project's URL-safe identifier: lowercase letters and digits, with single hyphens or underscores between them, up to 255 characters, unique in the organization, not a UUID."
        }
      }
    }
    arguments 23 lines
  • update_project auth-required never probed

    Rename a project or change its slug. Both fields are required; send the current value for the one you keep. The slug is the URL-safe identifier: lowercase letters and digits, with single hyphens or underscores between them, unique in the organization, not a UUID.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "name",
        "slug"
      ],
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 255,
          "minLength": 1,
          "description": "The project's display name, up to 255 characters."
        },
        "slug": {
          "type": "string",
          "pattern": "^[\\da-z]+(?:[-_][\\da-z]+)*$",
          "maxLength": 255,
          "minLength": 1,
          "description": "The project's URL-safe identifier: lowercase letters and digits, with single hyphens or underscores between them, up to 255 characters, unique in the organization, not a UUID."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        }
      }
    }
    arguments 29 lines
  • update_environment auth-required never probed

    Update an environment's name, slug, color, or live flag. All four fields are required; send the current values for the ones you keep. The slug is the URL-safe identifier used by SDKs and Terraform (lowercase letters, digits, and hyphens, at least 4 characters, unique in the project). The color is for the dashboard. Set live to true for environments that serve real users; the dashboard asks for confirmation before changing targeting rules in a live environment.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "environmentId",
        "name",
        "slug",
        "color",
        "live"
      ],
      "properties": {
        "live": {
          "type": "boolean",
          "description": "true for an environment that serves real users. The dashboard asks for confirmation before targeting rules change in a live environment."
        },
        "name": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "description": "The environment's display name, up to 200 characters."
        },
        "slug": {
          "type": "string",
          "maxLength": 150,
          "minLength": 4,
          "description": "The environment's URL-safe identifier used by SDKs and Terraform: letters, digits, and hyphens, starting with a letter, 4 to 150 characters, unique in the project, not a UUID."
        },
        "color": {
          "enum": [
            "maroon",
            "red",
            "purple",
            "fuchsia",
            "green",
            "lime",
            "olive",
            "yellow",
            "navy",
            "blue",
            "teal",
            "aqua"
          ],
          "type": "string",
          "description": "The color that marks the environment in the dashboard: one of maroon, red, purple, fuchsia, green, lime, olive, yellow, navy, blue, teal, aqua."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        },
        "environmentId": {
          "type": "string",
          "minLength": 1,
          "description": "The environment id, as returned by list_environments."
        }
      }
    }
    arguments 58 lines
  • list_configs auth-required never probed

    List the configs of a project in key order: key, role (feature flag, kill switch, config, experiment), lifetime, type, constraints, lifecycle state, and assigned tags as { id, name } using current catalog names. Assigned tags need only configs:read. Narrow the list with search, role, type, status, lifetime, and tagIds or untagged: a config is listed only when it matches all the filters given. Filtering also needs only configs:read. Targeting rules are not included; call get_config for one config's rules.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId"
      ],
      "properties": {
        "role": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Lists only the configs with this role, one of config, flag, kill-switch, experiment."
        },
        "type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Lists only the configs of this type, one of boolean, string, integer, float, enum, url, json, timespan."
        },
        "search": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 100
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Lists only the configs whose key or description contains this text, ignoring case. Up to 100 characters."
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Lists only the configs in this lifecycle state: new (not evaluated yet); in-use (evaluated, and neither settled nor archive-ready); settled (a temporary config, not a kill switch, that has served one value in every live environment long enough to be hardcoded and removed); archive-ready (a temporary config that was in use or settled and has stopped being evaluated); stale (created more than 15 days ago and never evaluated)."
        },
        "tagIds": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uuid"
          },
          "description": "Up to 100 different tag IDs from this project's tag catalog. Lists the configs that have any of them. A tag that no longer exists matches no config, so a list made only of such tags returns no configs. Omit, or send [], to list every config."
        },
        "lifetime": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Lists only the configs with this lifetime, one of permanent, temporary."
        },
        "untagged": {
          "type": "boolean",
          "description": "Send true to list only the configs without tags. Cannot be combined with tagIds."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        }
      }
    }
    arguments 87 lines
  • get_config auth-required never probed

    Get one config by key, including assigned tags as { id, name } using current catalog names and its targeting rules for every environment (the targets array, one entry per environment with the ordered rules and the default targeting rule value, defaultValue, returned when no rule matches). Assigned tags need only configs:read. Each target names its environment as an object, environment: { id, name, slug, color, live }; pass targets[].environment.id as the environmentId of update_targeting_rules and targets[].defaultValue as its defaultValue. A value that is one of the config's variations comes with the variation's id: variationId beside a rule's or a percentage's value, and defaultVariationId beside defaultValue. Look it up in variations and name the variation with its value, as in control (Start free trial), when telling the user what a rule serves.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "configKey"
      ],
      "properties": {
        "configKey": {
          "type": "string",
          "minLength": 1,
          "description": "The config key, as returned by list_configs."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        }
      }
    }
    arguments 20 lines
  • create_config auth-required never probed

    Create a config (feature flag, kill switch, config value, or experiment) in a project. defaultValue is the initial default targeting rule value: the catch-all rule of every environment starts with it. It is not the in-code default value the application passes to the SDK. An experiment starts with no metrics: attach them with update_config_settings once it exists. See each parameter for its format; call list_configs to see how existing configs are set up.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "key",
        "role",
        "type",
        "defaultValue"
      ],
      "properties": {
        "key": {
          "type": "string",
          "maxLength": 150,
          "minLength": 4,
          "description": "The key applications pass to the SDK: 4 to 150 characters of letters, digits, periods, underscores, and hyphens, starting with a letter or digit, unique in the project."
        },
        "role": {
          "enum": [
            "config",
            "flag",
            "kill-switch",
            "experiment"
          ],
          "type": "string",
          "description": "What the config is used as, one of config, flag, kill-switch, experiment. The role decides the allowed types: config allows boolean, string, integer, float, enum, url, json, timespan; flag allows boolean; kill-switch allows boolean; experiment allows boolean, string, integer, float. The role also decides the lifetime: a feature flag and an experiment are always temporary, a kill switch is always permanent, and only a config chooses its lifetime."
        },
        "type": {
          "enum": [
            "boolean",
            "string",
            "integer",
            "float",
            "enum",
            "url",
            "json",
            "timespan"
          ],
          "type": "string",
          "description": "The value type, one of boolean, string, integer, float, enum, url, json, timespan. It must be allowed by the role."
        },
        "client": {
          "type": "boolean",
          "default": true,
          "description": "Whether client SDKs receive the config. Defaults to true; at least one of server and client must be true."
        },
        "server": {
          "type": "boolean",
          "default": true,
          "description": "Whether server SDKs receive the config. Defaults to true; at least one of server and client must be true."
        },
        "tagIds": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uuid"
          },
          "default": [],
          "description": "Up to 20 distinct IDs from this project's tag catalog. Omit for an untagged config. Known IDs need no tags:read permission."
        },
        "lifetime": {
          "enum": [
            "permanent",
            "temporary"
          ],
          "type": "string",
          "description": "One of permanent, temporary. temporary is for a config meant to be removed later, and ConfigDirector alerts when it looks unused; permanent is for one meant to stay. Required for the config role, which chooses it. Optional for the other roles, which decide it; a value sent for those must match the role's lifetime or the request is rejected."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        },
        "hypothesis": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 1000
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional. What the team expects a variation to do, such as \"Urgency copy raises checkout completion by 5%\", up to 1,000 characters. Only used by the experiment role, and refused for the others. Each run copies it when it starts, so a run keeps the hypothesis it started with."
        },
        "variations": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "value"
                ],
                "properties": {
                  "name": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 150
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "value": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "number"
                      },
                      {
                        "type": "boolean"
                      }
                    ]
                  }
                }
              }
            },
            {
              "type": "null"
            }
          ],
          "description": "The values of an experiment, each { name?, value } with the value in the config's type. ConfigDirector gives each variation an id. Only used by the experiment role."
        },
        "description": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 1000
            },
            {
              "type": "null"
            }
          ],
          "description": "What the config is for, up to 1,000 characters. Optional."
        },
        "typeOptions": {
          "anyOf": [
            {
              "anyOf": [
                {
                  "type": "object",
                  "required": [
                    "isInteger"
                  ],
                  "properties": {
                    "max": {
                      "type": "object",
                      "required": [
                        "relation",
                        "value"
                      ],
                      "properties": {
                        "value": {
                          "type": "number"
                        },
                        "relation": {
                          "enum": [
                            "<",
                            "<="
                          ],
                          "type": "string"
                        }
                      }
                    },
                    "min": {
                      "type": "object",
                      "required": [
                        "relation",
                        "value"
                      ],
                      "properties": {
                        "value": {
                          "type": "number"
                        },
                        "relation": {
                          "enum": [
                            ">",
                            ">="
                          ],
                          "type": "string"
                        }
                      }
                    },
                    "isInteger": {
                      "type": "boolean"
                    }
                  }
                },
                {
                  "type": "object",
                  "required": [
                    "valueType",
                    "values"
                  ],
                  "properties": {
                    "values": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "valueType": {
                      "enum": [
                        "string",
                        "number"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "required": [],
                  "properties": {
                    "schema": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        }
                      ]
                    },
                    "useSchema": {
                      "type": "boolean",
                      "default": false
                    }
                  },
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "required": [
                    "unit",
                    "min",
                    "max"
                  ],
                  "properties": {
                    "max": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        }
                      ]
                    },
                    "min": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        }
                      ]
                    },
                    "unit": {
                      "enum": [
                        "milliseconds",
                        "seconds",
                        "minutes"
                      ],
                      "type": "string"
                    },
                    "allowFractions": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "required": [],
                  "properties": {
                    "secureOnly": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                {}
              ]
            },
            {
              "type": "null"
            }
          ],
          "description": "Constraints for the type. integer and float, optional: { isInteger, min?: { relation: \">\" or \">=\", value }, max?: { relation: \"<\" or \"<=\", value } }. enum, required: { valueType: \"string\" or \"number\", values: at least two values, as strings }. json, optional: { useSchema, schema } where schema is a JSON Schema draft-07 object that every value must match. timespan, required: { unit: milliseconds, seconds, minutes, min, max, allowFractions? }; the SDKs return the number as entered, with no unit conversion. url, required: { secureOnly } to allow only HTTPS URLs. Omit for boolean and string."
        },
        "defaultValue": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "string"
            },
            {
              "type": "number"
            }
          ],
          "description": "The initial default targeting rule value, in the config's type: the catch-all rule of every environment starts with it. It is not the in-code default value the application passes to the SDK."
        }
      }
    }
    arguments 333 lines
  • update_config_settings auth-required never probed

    Change the settings of a config: lifetime, description, role, typeOptions, variations, availability ({ server, client }), tagIds, an experiment's hypothesis and metrics, or key (renaming keeps the old key working for SDKs, except within two hours of creating a config that no application has evaluated and no code scan references, whose key is replaced outright). Send only the fields to change. The role can only be updated from flag to kill-switch and back; the type is never updated. Updating to kill-switch makes the config permanent, moves a settled or archive-ready config back to in use, and resolves its open settled, archive-ready and in-code default value mismatch alerts right away; updating to flag makes it temporary and the lifecycle job picks it up at its next run. A lifetime sent along with the role is checked against the role after the update. Omit tagIds to keep assignments, send [] to clear them, or send up to 20 distinct IDs to replace them. Targeting rules are changed with update_targeting_rules. Changing a JSON Schema re-validates every value in every environment and is rejected if one no longer matches. See each parameter for its format; call list_configs to see how existing configs are set up.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "configKey"
      ],
      "properties": {
        "key": {
          "type": "string",
          "maxLength": 150,
          "minLength": 4,
          "description": "A new key for the config. The key applications pass to the SDK: 4 to 150 characters of letters, digits, periods, underscores, and hyphens, starting with a letter or digit, unique in the project. The old key keeps working for SDKs until the code is updated."
        },
        "role": {
          "enum": [
            "config",
            "flag",
            "kill-switch",
            "experiment"
          ],
          "type": "string",
          "description": "What the config is used as, one of config, flag, kill-switch, experiment. The role decides the allowed types: config allows boolean, string, integer, float, enum, url, json, timespan; flag allows boolean; kill-switch allows boolean; experiment allows boolean, string, integer, float. The role also decides the lifetime: a feature flag and an experiment are always temporary, a kill switch is always permanent, and only a config chooses its lifetime."
        },
        "type": {
          "enum": [
            "boolean",
            "string",
            "integer",
            "float",
            "enum",
            "url",
            "json",
            "timespan"
          ],
          "type": "string",
          "description": "The value type, one of boolean, string, integer, float, enum, url, json, timespan. It must be allowed by the role."
        },
        "tagIds": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uuid"
          },
          "description": "Up to 20 distinct IDs from this project's tag catalog. Omit to keep the current assignments; send [] to clear them, or a nonempty set to replace them. Known IDs need no tags:read permission."
        },
        "metrics": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "metricId",
              "role"
            ],
            "properties": {
              "role": {
                "enum": [
                  "primary",
                  "secondary",
                  "guardrail"
                ],
                "type": "string"
              },
              "metricId": {
                "type": "string",
                "format": "uuid"
              },
              "primaryKind": {
                "anyOf": [
                  {
                    "enum": [
                      "conversion",
                      "count-per-context",
                      "value-per-context",
                      "ratio",
                      "funnel",
                      "retention"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            }
          },
          "maxItems": 10,
          "description": "The complete list of the metrics an experiment measures, each { metricId, role, primaryKind }. metricId is the id from list_metrics. role is primary, the one metric that decides the experiment, at most one; secondary, supporting evidence; or guardrail, a metric that must not get worse. primaryKind is required on the primary metric: the kind that decides, one of the kinds the metric reports. Omit it, or send null, on the others. At most 10 metrics. Only used by the experiment role, and refused for the others. Omit to keep the current metrics; send [] to detach them all. A metric of one event name without a filter or a value field attached while a run is open shows the run's results from its start, unless the run had already counted 100 other event names before the metric was attached. A metric with a filter or a value field, and every ratio, funnel and retention metric, is counted only from the moment it is attached: a run open then counts it from that moment on, detaching it and attaching it again while a run is open starts that run's count of it over, and changing its role or primary kind keeps the moment."
        },
        "lifetime": {
          "enum": [
            "permanent",
            "temporary"
          ],
          "type": "string",
          "description": "One of permanent, temporary. temporary is for a config meant to be removed later, and ConfigDirector alerts when it looks unused; permanent is for one meant to stay. Required for the config role, which chooses it. Optional for the other roles, which decide it; a value sent for those must match the role's lifetime or the request is rejected."
        },
        "configKey": {
          "type": "string",
          "minLength": 1,
          "description": "The config key, as returned by list_configs."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        },
        "hypothesis": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 1000
            },
            {
              "type": "null"
            }
          ],
          "description": "What the team expects a variation to do, such as \"Urgency copy raises checkout completion by 5%\", up to 1,000 characters. Only used by the experiment role, and refused for the others. Each run copies it when it starts, so a run keeps the hypothesis it started with. Send null or an empty string to remove it. A run already open keeps its copy."
        },
        "variations": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "value"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 150
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "value": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "boolean"
                  }
                ]
              }
            }
          },
          "description": "The values of an experiment, each { id?, name?, value } with the value in the config's type. Only used by the experiment role. Send the complete list. A variation keeps its id for as long as it keeps its value, so renaming it keeps the id and changing its value gives it a new one; sending the id get_config returns is optional. An id that is not one of this config's variations, the same id twice, or the same value twice is refused."
        },
        "description": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 1000
            },
            {
              "type": "null"
            }
          ],
          "description": "What the config is for, up to 1,000 characters."
        },
        "typeOptions": {
          "anyOf": [
            {
              "anyOf": [
                {
                  "type": "object",
                  "required": [
                    "isInteger"
                  ],
                  "properties": {
                    "max": {
                      "type": "object",
                      "required": [
                        "relation",
                        "value"
                      ],
                      "properties": {
                        "value": {
                          "type": "number"
                        },
                        "relation": {
                          "enum": [
                            "<",
                            "<="
                          ],
                          "type": "string"
                        }
                      }
                    },
                    "min": {
                      "type": "object",
                      "required": [
                        "relation",
                        "value"
                      ],
                      "properties": {
                        "value": {
                          "type": "number"
                        },
                        "relation": {
                          "enum": [
                            ">",
                            ">="
                          ],
                          "type": "string"
                        }
                      }
                    },
                    "isInteger": {
                      "type": "boolean"
                    }
                  }
                },
                {
                  "type": "object",
                  "required": [
                    "valueType",
                    "values"
                  ],
                  "properties": {
                    "values": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "valueType": {
                      "enum": [
                        "string",
                        "number"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "required": [],
                  "properties": {
                    "schema": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        }
                      ]
                    },
                    "useSchema": {
                      "type": "boolean",
                      "default": false
                    }
                  },
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "required": [
                    "unit",
                    "min",
                    "max"
                  ],
                  "properties": {
                    "max": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        }
                      ]
                    },
                    "min": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        }
                      ]
                    },
                    "unit": {
                      "enum": [
                        "milliseconds",
                        "seconds",
                        "minutes"
                      ],
                      "type": "string"
                    },
                    "allowFractions": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "required": [],
                  "properties": {
                    "secureOnly": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                {}
              ]
            },
            {
              "type": "null"
            }
          ],
          "description": "Constraints for the type. integer and float, optional: { isInteger, min?: { relation: \">\" or \">=\", value }, max?: { relation: \"<\" or \"<=\", value } }. enum, required: { valueType: \"string\" or \"number\", values: at least two values, as strings }. json, optional: { useSchema, schema } where schema is a JSON Schema draft-07 object that every value must match. timespan, required: { unit: milliseconds, seconds, minutes, min, max, allowFractions? }; the SDKs return the number as entered, with no unit conversion. url, required: { secureOnly } to allow only HTTPS URLs. Omit for boolean and string."
        },
        "availability": {
          "type": "object",
          "required": [
            "server",
            "client"
          ],
          "properties": {
            "client": {
              "type": "boolean"
            },
            "server": {
              "type": "boolean"
            }
          },
          "description": "{ server, client }: whether server and client SDKs receive the config. At least one must be true."
        }
      }
    }
    arguments 367 lines
  • ship_variation auth-required never probed

    Ship a variation of an experiment in one environment: serve it to everyone there and end the run. In one targeting rules save, the default targeting rule value becomes the variation's value, every percentage rollout is removed, including one a conditional rule serves, and a conditional rule serving a single value stays, so the contexts it matches keep getting that value. The run ends with the outcome shipped. When no rollout is saved, this only changes the default targeting rule value. The save takes effect right away, in a live environment too. Returns the config with its targeting rules, as get_config returns it.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "configKey",
        "environmentId",
        "variationId"
      ],
      "properties": {
        "note": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 1000
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional. Why the variation is shipped. Up to 1,000 characters, kept on the run this ends, where list_runs, get_run and the dashboard show it beside the outcome. With no rollout saved there is no run to end, and the note is not kept. Write the reason the user gives; omit it when they give none."
        },
        "configKey": {
          "type": "string",
          "minLength": 1,
          "description": "The config key, as returned by list_configs."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        },
        "variationId": {
          "type": "string",
          "format": "uuid",
          "description": "The id of the variation to ship, from the variations of get_config."
        },
        "environmentId": {
          "type": "string",
          "minLength": 1,
          "description": "The environment id, as returned by list_environments."
        }
      }
    }
    arguments 45 lines
  • stop_run auth-required never probed

    Stop the run of an experiment in one environment, without choosing a variation. In one targeting rules save, every percentage rollout is removed, including one a conditional rule serves; the default targeting rule value stays, so the contexts that were in a rollout get that value, and a conditional rule serving a single value keeps serving it. The run ends with the outcome stopped. Rejected when the config is not an experiment or no percentage rollout is saved in the environment, since there is no run to stop. The save takes effect right away, in a live environment too. Returns the config with its targeting rules, as get_config returns it.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "configKey",
        "environmentId"
      ],
      "properties": {
        "note": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 1000
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional. Why the run is stopped. Up to 1,000 characters, kept on the run this ends, where list_runs, get_run and the dashboard show it beside the outcome. With no rollout saved there is no run to end, and the note is not kept. Write the reason the user gives; omit it when they give none."
        },
        "configKey": {
          "type": "string",
          "minLength": 1,
          "description": "The config key, as returned by list_configs."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        },
        "environmentId": {
          "type": "string",
          "minLength": 1,
          "description": "The environment id, as returned by list_environments."
        }
      }
    }
    arguments 39 lines
  • archive_config auth-required never probed

    Archive a config: it leaves the project and SDKs stop receiving it, so applications get their in-code default value for it. It can be restored from the dashboard for 30 days, and after that it is deleted for good. configKey can be the config's current key or one of its old keys. Confirm with the user before archiving.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "configKey"
      ],
      "properties": {
        "configKey": {
          "type": "string",
          "minLength": 1,
          "description": "The config key, as returned by list_configs."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        }
      }
    }
    arguments 20 lines
  • list_segments auth-required never probed

    List the segments of a project by key, each with its id, name, condition groups, environment overrides, and usages: the configs whose targeting rules use the segment and in which environments. Use the id as the segmentId of a segment condition in update_targeting_rules.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId"
      ],
      "properties": {
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        }
      }
    }
    arguments 14 lines
  • get_segment auth-required never probed

    Get one segment by key: its id, name, condition groups, environment overrides keyed by environment id, and usages (the configs whose targeting rules use it, with their environments).

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "segmentKey"
      ],
      "properties": {
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        },
        "segmentKey": {
          "type": "string",
          "minLength": 1,
          "description": "The segment key, as returned by list_segments."
        }
      }
    }
    arguments 20 lines
  • create_segment auth-required never probed

    Create a segment in a project. A segment is a named, reusable test of a context, defined once per project and used by the targeting rules of any config in the project through a segment condition ({ id, kind: "segment", operator: "in" or "not in", segmentId }). A project can have at most 200 segments.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "key",
        "name",
        "groups"
      ],
      "properties": {
        "key": {
          "type": "string",
          "maxLength": 150,
          "minLength": 4,
          "description": "The segment key: 4 to 150 characters of letters, digits, periods, underscores, and hyphens, starting with a letter or digit, unique in the project. Freely renameable: rules reference the segment by id."
        },
        "kind": {
          "enum": [
            "rule-based"
          ],
          "type": "string",
          "default": "rule-based",
          "description": "The segment kind, one of rule-based. Defaults to rule-based."
        },
        "name": {
          "type": "string",
          "maxLength": 150,
          "minLength": 1,
          "description": "The segment's display name, up to 150 characters."
        },
        "groups": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "id",
                "attribute",
                "operator",
                "targetType",
                "targetValues"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "minLength": 1
                },
                "kind": {
                  "const": "attribute",
                  "default": "attribute"
                },
                "trait": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 500
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "operator": {
                  "anyOf": [
                    {
                      "enum": [
                        "equals",
                        "does NOT equal",
                        "is one of",
                        "is NOT one of",
                        "starts with any of",
                        "does NOT start with any of",
                        "ends with any of",
                        "does NOT end with any of"
                      ],
                      "type": "string"
                    },
                    {
                      "enum": [
                        "=",
                        "!=",
                        ">",
                        ">=",
                        "<",
                        "<="
                      ],
                      "type": "string"
                    },
                    {
                      "enum": [
                        "is one of",
                        "is NOT one of",
                        ">",
                        ">=",
                        "<",
                        "<="
                      ],
                      "type": "string"
                    },
                    {
                      "enum": [
                        "is before",
                        "is after"
                      ],
                      "type": "string"
                    },
                    {
                      "enum": [
                        "contains any of",
                        "does NOT contain any of"
                      ],
                      "type": "string"
                    }
                  ]
                },
                "attribute": {
                  "enum": [
                    "appName",
                    "appVersion",
                    "identifier",
                    "kind",
                    "name",
                    "traits"
                  ],
                  "type": "string"
                },
                "targetType": {
                  "enum": [
                    "text",
                    "number",
                    "semver",
                    "datetime",
                    "array",
                    "boolean"
                  ],
                  "type": "string"
                },
                "targetValues": {
                  "type": "array",
                  "items": {},
                  "minItems": 1
                }
              }
            },
            "maxItems": 20,
            "minItems": 1
          },
          "maxItems": 10,
          "minItems": 1,
          "description": "The condition groups of the project definition: a list of groups, each a list of attribute conditions in the shape get_targeting_rules_reference gives for a rule's attribute conditions ({ id, kind: \"attribute\", attribute, trait, operator, targetType, targetValues }). A context is in the segment when every condition of any one group matches. At least one group with at least one condition, at most 10 groups of at most 20 conditions each. A segment condition is not allowed inside a group."
        },
        "overrides": {
          "type": "object",
          "description": "Optional. Environment overrides, keyed by environment id (list_environments): an overridden environment uses its own complete set of groups instead of the project definition, in the same shape as groups.",
          "propertyNames": {
            "type": "string",
            "format": "uuid"
          },
          "additionalProperties": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "id",
                  "attribute",
                  "operator",
                  "targetType",
                  "targetValues"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "minLength": 1
                  },
                  "kind": {
                    "const": "attribute",
                    "default": "attribute"
                  },
                  "trait": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 500
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "operator": {
                    "anyOf": [
                      {
                        "enum": [
                          "equals",
                          "does NOT equal",
                          "is one of",
                          "is NOT one of",
                          "starts with any of",
                          "does NOT start with any of",
                          "ends with any of",
                          "does NOT end with any of"
                        ],
                        "type": "string"
                      },
                      {
                        "enum": [
                          "=",
                          "!=",
                          ">",
                          ">=",
                          "<",
                          "<="
                        ],
                        "type": "string"
                      },
                      {
                        "enum": [
                          "is one of",
                          "is NOT one of",
                          ">",
                          ">=",
                          "<",
                          "<="
                        ],
                        "type": "string"
                      },
                      {
                        "enum": [
                          "is before",
                          "is after"
                        ],
                        "type": "string"
                      },
                      {
                        "enum": [
                          "contains any of",
                          "does NOT contain any of"
                        ],
                        "type": "string"
                      }
                    ]
                  },
                  "attribute": {
                    "enum": [
                      "appName",
                      "appVersion",
                      "identifier",
                      "kind",
                      "name",
                      "traits"
                    ],
                    "type": "string"
                  },
                  "targetType": {
                    "enum": [
                      "text",
                      "number",
                      "semver",
                      "datetime",
                      "array",
                      "boolean"
                    ],
                    "type": "string"
                  },
                  "targetValues": {
                    "type": "array",
                    "items": {},
                    "minItems": 1
                  }
                }
              },
              "maxItems": 20,
              "minItems": 1
            },
            "maxItems": 10,
            "minItems": 1
          }
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        }
      }
    }
    arguments 290 lines
  • list_metrics auth-required never probed

    List the metrics of a project, those of one event name first, by event name, then the ratio, funnel and retention metrics, each with its id, event name, filter, value field, ratio, funnel, retention, description, direction, the kinds it reports and its usages. usages lists the experiments the metric is attached to: the config key, the role (primary, secondary or guardrail), the kind the primary metric decides on, and the runs still open with their environment. Pass eventName to list only the metrics of one event name with that event name: a project can have several, told apart by their filter and value field. A ratio, a funnel or a retention metric has no event name of its own, so eventName never lists one, even when its definition names that event. Name a metric of one event name by its event name, then its filter's conditions joined by and, each as its field, its operator and its target values, with a text condition's target values in brackets and a boolean condition as is true or is false, then value from and its value field, the parts separated by a middle dot, as in checkout_completed · /plan is one of [team] and /items >= 2 · value from /seats, and one without a filter or a value field by its event name alone. Name a ratio, a funnel or a retention metric by its kind first, then its definition, each event name followed by its filter's conditions the same way: a ratio by its numerator, then ÷, then its denominator, each side followed by events, value or value from its value field, as in Ratio: order_completed value ÷ order_completed events; a funnel by its steps in order, separated by →, as in Funnel: cart_viewed → checkout_started → checkout_completed; and a retention metric by its event name and its days, as in Retention: app_opened · days 7 to 13. Use the id as the metricId of a metric attached with update_config_settings.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId"
      ],
      "properties": {
        "eventName": {
          "type": "string",
          "description": "Lists only the metrics of one event name with this event name, compared exactly, letter case included, and never a ratio, funnel or retention metric. Omit to list every metric."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        }
      }
    }
    arguments 18 lines
  • get_metric auth-required never probed

    Get one metric by id: its event name, filter and value field, or its ratio, funnel or retention, its description, direction, the kinds it reports and its usages. usages lists the experiments the metric is attached to: the config key, the role (primary, secondary or guardrail), the kind the primary metric decides on, and the runs still open with their environment. Name a metric of one event name by its event name, then its filter's conditions joined by and, each as its field, its operator and its target values, with a text condition's target values in brackets and a boolean condition as is true or is false, then value from and its value field, the parts separated by a middle dot, as in checkout_completed · /plan is one of [team] and /items >= 2 · value from /seats, and one without a filter or a value field by its event name alone. Name a ratio, a funnel or a retention metric by its kind first, then its definition, each event name followed by its filter's conditions the same way: a ratio by its numerator, then ÷, then its denominator, each side followed by events, value or value from its value field, as in Ratio: order_completed value ÷ order_completed events; a funnel by its steps in order, separated by →, as in Funnel: cart_viewed → checkout_started → checkout_completed; and a retention metric by its event name and its days, as in Retention: app_opened · days 7 to 13.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "metricId"
      ],
      "properties": {
        "metricId": {
          "type": "string",
          "format": "uuid",
          "description": "The metric id, as returned by list_metrics or create_metric."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        }
      }
    }
    arguments 20 lines
  • create_metric auth-required never probed

    Create a metric in a project. A metric is what an experiment measures, from the events the application reports with the SDK's track call, and update_config_settings attaches it to experiments. A metric of one event name counts the events of that name, all of them or only those its filter matches; a project can have several metrics on one event name, told apart by their filter and value field. A ratio metric divides one total by another, a funnel metric follows contexts through ordered steps, and a retention metric gives the share of contexts that reported an event during chosen days after their exposure. get_run compares the variations of a run on each attached metric. Send eventName for a metric of one event name, or one of ratio, funnel and retention. A metric keeps its definition for its whole life: for another, create another metric. A metric with a filter or a value field, and every ratio, funnel and retention metric, is counted only from the moment update_config_settings attaches it to an experiment, never for the events before. A metric with the same definition as another of the project is refused. A project can have at most 50 metrics.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "direction",
        "kinds"
      ],
      "properties": {
        "kinds": {
          "type": "array",
          "items": {
            "enum": [
              "conversion",
              "count-per-context",
              "value-per-context",
              "ratio",
              "funnel",
              "retention"
            ],
            "type": "string"
          },
          "minItems": 1,
          "description": "What the metric reports. A metric of one event name reports at least one of: conversion, the share of exposed contexts that reported the event at least once, as in how many visitors completed checkout; count-per-context, how many times each exposed context reported it, averaged over the exposed contexts, as in searches per user; value-per-context, the sum per exposed context of the value the application sent with the event, or of the number in the metric's value field, averaged over the exposed contexts, as in revenue per user from the order total. A context that reported nothing counts as zero. A ratio, a funnel and a retention metric each report their own kind alone: send kinds as [\"ratio\"], [\"funnel\"] or [\"retention\"]."
        },
        "ratio": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "numerator",
                "denominator"
              ],
              "properties": {
                "numerator": {
                  "type": "object",
                  "required": [
                    "eventName",
                    "adds"
                  ],
                  "properties": {
                    "adds": {
                      "enum": [
                        "events",
                        "value"
                      ],
                      "type": "string"
                    },
                    "filter": {
                      "anyOf": [
                        {
                          "type": "array",
                          "items": {
                            "oneOf": [
                              {
                                "type": "object",
                                "required": [
                                  "field",
                                  "targetType",
                                  "operator",
                                  "targetValues"
                                ],
                                "properties": {
                                  "field": {
                                    "type": "string",
                                    "maxLength": 500
                                  },
                                  "operator": {
                                    "enum": [
                                      "is one of",
                                      "is NOT one of"
                                    ],
                                    "type": "string"
                                  },
                                  "targetType": {
                                    "const": "text"
                                  },
                                  "targetValues": {
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "maxLength": 500
                                    },
                                    "maxItems": 20,
                                    "minItems": 1
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "required": [
                                  "field",
                                  "targetType",
                                  "operator",
                                  "targetValues"
                                ],
                                "properties": {
                                  "field": {
                                    "type": "string",
                                    "maxLength": 500
                                  },
                                  "operator": {
                                    "enum": [
                                      "=",
                                      "!=",
                                      ">",
                                      ">=",
                                      "<",
                                      "<="
                                    ],
                                    "type": "string"
                                  },
                                  "targetType": {
                                    "const": "number"
                                  },
                                  "targetValues": {
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "maxLength": 500
                                    },
                                    "maxItems": 1,
                                    "minItems": 1
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "required": [
                                  "field",
                                  "targetType",
                                  "operator",
                                  "targetValues"
                                ],
                                "properties": {
                                  "field": {
                                    "type": "string",
                                    "maxLength": 500
                                  },
                                  "operator": {
                                    "enum": [
                                      "equals"
                                    ],
                                    "type": "string"
                                  },
                                  "targetType": {
                                    "const": "boolean"
                                  },
                                  "targetValues": {
                                    "type": "array",
                                    "items": {
                                      "enum": [
                                        "true",
                                        "false"
                                      ],
                                      "type": "string"
                                    },
                                    "maxItems": 1,
                                    "minItems": 1
                                  }
                                }
                              }
                            ]
                          },
                          "maxItems": 5,
                          "minItems": 1
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "eventName": {
                      "type": "string"
                    },
                    "valueField": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 500
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    }
                  }
                },
                "denominator": {
                  "type": "object",
                  "required": [
                    "eventName",
                    "adds"
                  ],
                  "properties": {
                    "adds": {
                      "enum": [
                        "events",
                        "value"
                      ],
                      "type": "string"
                    },
                    "filter": {
                      "anyOf": [
                        {
                          "type": "array",
                          "items": {
                            "oneOf": [
                              {
                                "type": "object",
                                "required": [
                                  "field",
                                  "targetType",
                                  "operator",
                                  "targetValues"
                                ],
                                "properties": {
                                  "field": {
                                    "type": "string",
                                    "maxLength": 500
                                  },
                                  "operator": {
                                    "enum": [
                                      "is one of",
                                      "is NOT one of"
                                    ],
                                    "type": "string"
                                  },
                                  "targetType": {
                                    "const": "text"
                                  },
                                  "targetValues": {
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "maxLength": 500
                                    },
                                    "maxItems": 20,
                                    "minItems": 1
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "required": [
                                  "field",
                                  "targetType",
                                  "operator",
                                  "targetValues"
                                ],
                                "properties": {
                                  "field": {
                                    "type": "string",
                                    "maxLength": 500
                                  },
                                  "operator": {
                                    "enum": [
                                      "=",
                                      "!=",
                                      ">",
                                      ">=",
                                      "<",
                                      "<="
                                    ],
                                    "type": "string"
                                  },
                                  "targetType": {
                                    "const": "number"
                                  },
                                  "targetValues": {
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "maxLength": 500
                                    },
                                    "maxItems": 1,
                                    "minItems": 1
                                  }
                                }
                              },
                              {
                                "type": "object",
                                "required": [
                                  "field",
                                  "targetType",
                                  "operator",
                                  "targetValues"
                                ],
                                "properties": {
                                  "field": {
                                    "type": "string",
                                    "maxLength": 500
                                  },
                                  "operator": {
                                    "enum": [
                                      "equals"
                                    ],
                                    "type": "string"
                                  },
                                  "targetType": {
                                    "const": "boolean"
                                  },
                                  "targetValues": {
                                    "type": "array",
                                    "items": {
                                      "enum": [
                                        "true",
                                        "false"
                                      ],
                                      "type": "string"
                                    },
                                    "maxItems": 1,
                                    "minItems": 1
                                  }
                                }
                              }
                            ]
                          },
                          "maxItems": 5,
                          "minItems": 1
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "eventName": {
                      "type": "string"
                    },
                    "valueField": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 500
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    }
                  }
                }
              }
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional. A ratio metric divides one total by another, such as revenue per order: { \"numerator\": { \"eventName\": \"order_completed\", \"adds\": \"value\" }, \"denominator\": { \"eventName\": \"order_completed\", \"adds\": \"events\" } }. Each side names an event name and adds up, over a variation's exposed contexts, either its events, how many of them the contexts reported, or its value, the value the application sent with each event, or the number in the side's valueField, a JSON pointer into the event's details. A side can take a filter in the shape filter describes, and a valueField only when it adds value. A variation's ratio is its numerator total divided by its denominator total, never the average of each context's own ratio. Send kinds as [\"ratio\"], and leave eventName, filter and valueField out."
        },
        "filter": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "oneOf": [
                  {
                    "type": "object",
                    "required": [
                      "field",
                      "targetType",
                      "operator",
                      "targetValues"
                    ],
                    "properties": {
                      "field": {
                        "type": "string",
                        "maxLength": 500
                      },
                      "operator": {
                        "enum": [
                          "is one of",
                          "is NOT one of"
                        ],
                        "type": "string"
                      },
                      "targetType": {
                        "const": "text"
                      },
                      "targetValues": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 500
                        },
                        "maxItems": 20,
                        "minItems": 1
                      }
                    }
                  },
                  {
                    "type": "object",
                    "required": [
                      "field",
                      "targetType",
                      "operator",
                      "targetValues"
                    ],
                    "properties": {
                      "field": {
                        "type": "string",
                        "maxLength": 500
                      },
                      "operator": {
                        "enum": [
                          "=",
                          "!=",
                          ">",
                          ">=",
                          "<",
                          "<="
                        ],
                        "type": "string"
                      },
                      "targetType": {
                        "const": "number"
                      },
                      "targetValues": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 500
                        },
                        "maxItems": 1,
                        "minItems": 1
                      }
                    }
                  },
                  {
                    "type": "object",
                    "required": [
                      "field",
                      "targetType",
                      "operator",
                      "targetValues"
                    ],
                    "properties": {
                      "field": {
                        "type": "string",
                        "maxLength": 500
                      },
                      "operator": {
                        "enum": [
                          "equals"
                        ],
                        "type": "string"
                      },
                      "targetType": {
                        "const": "boolean"
                      },
                      "targetValues": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "true",
                            "false"
                          ],
                          "type": "string"
                        },
                        "maxItems": 1,
                        "minItems": 1
                      }
                    }
                  }
                ]
              },
              "maxItems": 5,
              "minItems": 1
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional, for a metric of one event name. The conditions on the event's details that an event must match to count for the metric, such as only the checkouts on the Team plan: [{ \"field\": \"/plan\", \"targetType\": \"text\", \"operator\": \"is one of\", \"targetValues\": [\"team\"] }]. 1 to 5 conditions, all of which must match. field is a JSON pointer (RFC 6901) into the details the application passes with the track call. A text condition takes is one of or is NOT one of with 1 to 20 target values; a number condition takes one of =, !=, >, >=, <, <= with one target value written as text, such as \"2\"; a boolean condition takes equals with \"true\" or \"false\". A condition means what the same condition on a trait means in a targeting rule: a field an event lacks reads as empty text, so is NOT one of and != count an event without the field. Omit it, or send null, to count every event with the event name. The metric keeps its filter for its whole life: for another filter, create another metric."
        },
        "funnel": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "steps"
              ],
              "properties": {
                "steps": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "eventName"
                    ],
                    "properties": {
                      "filter": {
                        "anyOf": [
                          {
                            "type": "array",
                            "items": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "required": [
                                    "field",
                                    "targetType",
                                    "operator",
                                    "targetValues"
                                  ],
                                  "properties": {
                                    "field": {
                                      "type": "string",
                                      "maxLength": 500
                                    },
                                    "operator": {
                                      "enum": [
                                        "is one of",
                                        "is NOT one of"
                                      ],
                                      "type": "string"
                                    },
                                    "targetType": {
                                      "const": "text"
                                    },
                                    "targetValues": {
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "maxLength": 500
                                      },
                                      "maxItems": 20,
                                      "minItems": 1
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "required": [
                                    "field",
                                    "targetType",
                                    "operator",
                                    "targetValues"
                                  ],
                                  "properties": {
                                    "field": {
                                      "type": "string",
                                      "maxLength": 500
                                    },
                                    "operator": {
                                      "enum": [
                                        "=",
                                        "!=",
                                        ">",
                                        ">=",
                                        "<",
                                        "<="
                                      ],
                                      "type": "string"
                                    },
                                    "targetType": {
                                      "const": "number"
                                    },
                                    "targetValues": {
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "maxLength": 500
                                      },
                                      "maxItems": 1,
                                      "minItems": 1
                                    }
                                  }
                                },
                                {
                                  "type": "object",
                                  "required": [
                                    "field",
                                    "targetType",
                                    "operator",
                                    "targetValues"
                                  ],
                                  "properties": {
                                    "field": {
                                      "type": "string",
                                      "maxLength": 500
                                    },
                                    "operator": {
                                      "enum": [
                                        "equals"
                                      ],
                                      "type": "string"
                                    },
                                    "targetType": {
                                      "const": "boolean"
                                    },
                                    "targetValues": {
                                      "type": "array",
                                      "items": {
                                        "enum": [
                                          "true",
                                          "false"
                                        ],
                                        "type": "string"
                                      },
                                      "maxItems": 1,
                                      "minItems": 1
                                    }
                                  }
                                }
                              ]
                            },
                            "maxItems": 5,
                            "minItems": 1
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "default": null
                      },
                      "eventName": {
                        "type": "string"
                      },
                      "valueField": {
                        "type": "null",
                        "default": null
                      }
                    }
                  },
                  "maxItems": 5,
                  "minItems": 2
                }
              }
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional. A funnel metric gives the share of exposed contexts that reached the last of 2 to 5 steps in order, such as getting from the cart to a purchase: { \"steps\": [{ \"eventName\": \"cart_viewed\" }, { \"eventName\": \"checkout_started\" }, { \"eventName\": \"checkout_completed\" }] }. A context reaches a step by reporting its event at or after the moment it reached the step before, with no time limit but the run's end. A step can take a filter in the shape filter describes; two steps with the same event name and filter are refused. Send kinds as [\"funnel\"], and leave eventName, filter and valueField out."
        },
        "direction": {
          "enum": [
            "higher-is-better",
            "lower-is-better"
          ],
          "type": "string",
          "description": "Whether a higher number is better, higher-is-better, as for purchases, or a lower one, lower-is-better, as for support tickets or errors. Every verdict on the metric follows it."
        },
        "eventName": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "For a metric of one event name, which reports conversion, count-per-context or value-per-context: the event name the application passes to the SDK's track call, such as checkout_completed, 1 to 150 characters, compared exactly, letter case included. Several metrics can share an event name when their filters or value fields differ; a metric with the same event name, filter and value field as another of the project is refused. Leave it out for a ratio, a funnel or a retention metric, whose definition names its own event names."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        },
        "retention": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "eventName",
                "firstDay",
                "lastDay"
              ],
              "properties": {
                "filter": {
                  "anyOf": [
                    {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "required": [
                              "field",
                              "targetType",
                              "operator",
                              "targetValues"
                            ],
                            "properties": {
                              "field": {
                                "type": "string",
                                "maxLength": 500
                              },
                              "operator": {
                                "enum": [
                                  "is one of",
                                  "is NOT one of"
                                ],
                                "type": "string"
                              },
                              "targetType": {
                                "const": "text"
                              },
                              "targetValues": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "maxLength": 500
                                },
                                "maxItems": 20,
                                "minItems": 1
                              }
                            }
                          },
                          {
                            "type": "object",
                            "required": [
                              "field",
                              "targetType",
                              "operator",
                              "targetValues"
                            ],
                            "properties": {
                              "field": {
                                "type": "string",
                                "maxLength": 500
                              },
                              "operator": {
                                "enum": [
                                  "=",
                                  "!=",
                                  ">",
                                  ">=",
                                  "<",
                                  "<="
                                ],
                                "type": "string"
                              },
                              "targetType": {
                                "const": "number"
                              },
                              "targetValues": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "maxLength": 500
                                },
                                "maxItems": 1,
                                "minItems": 1
                              }
                            }
                          },
                          {
                            "type": "object",
                            "required": [
                              "field",
                              "targetType",
                              "operator",
                              "targetValues"
                            ],
                            "properties": {
                              "field": {
                                "type": "string",
                                "maxLength": 500
                              },
                              "operator": {
                                "enum": [
                                  "equals"
                                ],
                                "type": "string"
                              },
                              "targetType": {
                                "const": "boolean"
                              },
                              "targetValues": {
                                "type": "array",
                                "items": {
                                  "enum": [
                                    "true",
                                    "false"
                                  ],
                                  "type": "string"
                                },
                                "maxItems": 1,
                                "minItems": 1
                              }
                            }
                          }
                        ]
                      },
                      "maxItems": 5,
                      "minItems": 1
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "default": null
                },
                "lastDay": {
                  "type": "integer",
                  "maximum": 90,
                  "minimum": 1
                },
                "firstDay": {
                  "type": "integer",
                  "maximum": 90,
                  "minimum": 1
                },
                "eventName": {
                  "type": "string"
                },
                "valueField": {
                  "type": "null",
                  "default": null
                }
              }
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional. A retention metric gives the share of contexts that reported an event between a first and a last day after their first exposure, among the contexts whose last day has ended, such as coming back in the second week: { \"eventName\": \"app_opened\", \"firstDay\": 7, \"lastDay\": 13 }. A day is 24 hours counted from the context's own first exposure, day 0 being the 24 hours that follow it. firstDay and lastDay are whole numbers from 1 to 90, the last no earlier than the first. A context is measured once its last day has ended, lastDay + 1 days after its first exposure, so a run shows no numbers for the metric during its first lastDay + 1 days, and a context whose last day ends after the run's end is never measured. It can take a filter in the shape filter describes. Send kinds as [\"retention\"], and leave eventName, filter and valueField out."
        },
        "valueField": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 500
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional, for a metric of one event name. A JSON pointer (RFC 6901) into the event's details, such as /items, whose number value-per-context sums in place of the value the application sends with the event. An event where the field is missing or holds anything but a number still counts as an event and adds nothing to the sum. Needs value-per-context among the kinds. Omit it, or send null, to sum the event's value. The metric keeps its value field for its whole life: for another, create another metric."
        },
        "description": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 1000
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional. What the event means, up to 1,000 characters."
        }
      }
    }
    arguments 857 lines
  • update_metric auth-required never probed

    Change a metric's description, direction or kinds. Send only the fields to change. A metric keeps its event name, filter and value field; for others, create another metric. A ratio, a funnel or a retention metric keeps its definition and its one kind, so only its description and direction change. Removing value-per-context from a metric with a value field is refused. Refused when the change removes a kind the primary metric of an experiment decides on; the refusal names those experiments, so give each another primary kind with update_config_settings first. A metric is what an experiment measures, from the events the application reports with the SDK's track call, and update_config_settings attaches it to experiments. A metric of one event name counts the events of that name, all of them or only those its filter matches; a project can have several metrics on one event name, told apart by their filter and value field. A ratio metric divides one total by another, a funnel metric follows contexts through ordered steps, and a retention metric gives the share of contexts that reported an event during chosen days after their exposure. get_run compares the variations of a run on each attached metric.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "metricId"
      ],
      "properties": {
        "kinds": {
          "type": "array",
          "items": {
            "enum": [
              "conversion",
              "count-per-context",
              "value-per-context"
            ],
            "type": "string"
          },
          "minItems": 1,
          "description": "What a metric of one event name reports. A metric of one event name reports at least one of: conversion, the share of exposed contexts that reported the event at least once, as in how many visitors completed checkout; count-per-context, how many times each exposed context reported it, averaged over the exposed contexts, as in searches per user; value-per-context, the sum per exposed context of the value the application sent with the event, or of the number in the metric's value field, averaged over the exposed contexts, as in revenue per user from the order total. A context that reported nothing counts as zero. Send the complete list. A ratio, a funnel or a retention metric keeps its one kind."
        },
        "metricId": {
          "type": "string",
          "format": "uuid",
          "description": "The metric id, as returned by list_metrics or create_metric."
        },
        "direction": {
          "enum": [
            "higher-is-better",
            "lower-is-better"
          ],
          "type": "string",
          "description": "Whether a higher number is better, higher-is-better, as for purchases, or a lower one, lower-is-better, as for support tickets or errors. Every verdict on the metric follows it."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        },
        "description": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 1000
            },
            {
              "type": "null"
            }
          ],
          "description": "What the event means, up to 1,000 characters. Send null to remove it."
        }
      }
    }
    arguments 53 lines
  • list_environments auth-required never probed

    List the environments of a project with their ids, slugs, and whether each one is live (serving real users).

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId"
      ],
      "properties": {
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        }
      }
    }
    arguments 14 lines
  • evaluate_config auth-required 11h ago

    Evaluate a config for a context in one environment and explain the result: value is the value served, variationId the id of its variation in variations when the config has one with that value, servedBy names the rule that served it (or the default targeting rule), and rules walks the environment's targeting rules in order with each rule's outcome, why each condition matched or not (what it resolved to from the context, or which segment group matched), and the bucket a percentage rollout assigned the context to. A context without an identifier is never given a bucket: a percentage rollout it reaches is skipped, that rule has outcome not-matched with rolloutSkippedNoIdentifier true, the rules after it are evaluated as usual, and the default targeting rule value is served when none of them matches. targetingRules holds the rules evaluated, with the variation ids get_config describes, and segments the definition of every segment they reference in that environment, so the answer can quote what each rule tested. Name a variation with its value, as in control (Start free trial), when telling the user what was served or what a rule serves. Pass context for an inline context or savedContext for one ConfigDirector has stored; pass neither to evaluate with an empty context, which stands for an anonymous visitor. The call reads saved rules only and creates no SDK activity: nothing it does counts as an evaluation for the config's lifecycle.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "configKey",
        "environmentId"
      ],
      "properties": {
        "context": {
          "type": "object",
          "required": [],
          "properties": {
            "kind": {
              "type": "string",
              "default": "user",
              "pattern": "^[a-z0-9_-]{1,64}$"
            },
            "name": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            },
            "traits": {
              "anyOf": [
                {},
                {
                  "type": "null"
                }
              ],
              "default": null
            },
            "identifier": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            }
          },
          "description": "The context to evaluate for, as an application would send it to the SDK: { kind?, identifier?, name?, traits? }. kind defaults to user; identifier and name are at most 256 characters each, and traits is an object of at most 64 KB of JSON. Omit both context and savedContext to evaluate with an empty context, which stands for an anonymous visitor."
        },
        "configKey": {
          "type": "string",
          "minLength": 1,
          "description": "The config key, as returned by list_configs."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        },
        "savedContext": {
          "type": "object",
          "required": [
            "identifier"
          ],
          "properties": {
            "kind": {
              "type": "string",
              "default": "user",
              "pattern": "^[a-z0-9_-]{1,64}$"
            },
            "identifier": {
              "type": "string",
              "minLength": 1
            }
          },
          "description": "{ kind?, identifier }: a context ConfigDirector has stored from SDK evaluations in that environment, evaluated with its stored name and traits. kind defaults to user. Needs the contexts:read permission as well. Cannot be combined with context."
        },
        "environmentId": {
          "type": "string",
          "minLength": 1,
          "description": "The environment id, as returned by list_environments."
        }
      }
    }
    arguments 87 lines
  • copy_config auth-required never probed

    Copy a config into a new config, in the same project or in another project of the organization. The copy gets the source's role, lifetime, type, constraints, variations, SDK availability, description, hypothesis and tags, and every environment's targeting rules and default targeting rule value. It starts as a new config, with no old keys and no evaluations, and shares nothing with the source afterwards. Across projects, environments are matched by slug, tags by name and segments by key. A source environment that no destination environment copies from is skipped, such as one with no destination environment of its slug. A destination environment with no source environment of its slug needs one named in environments, or the copy is refused naming it. A rule that tests a segment is dropped when the destination project has no segment with the same key, and the plan lists it with its position and the segment key; the copy never creates a segment. A tag the destination project lacks is created when the API token has tags:create, and skipped otherwise. An archived config cannot be copied; restore it first. The plan lists each destination environment with whether it is live, the source environment its rules come from, how many rules were copied and the rules dropped, then the skipped source environments and the tags matched, created and skipped. Send dryRun: true to get the plan without creating anything; otherwise config is the copy with its targeting rules, as get_config returns it.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "configKey",
        "key"
      ],
      "properties": {
        "key": {
          "type": "string",
          "maxLength": 150,
          "minLength": 4,
          "description": "The key of the copy in the destination project. The key applications pass to the SDK: 4 to 150 characters of letters, digits, periods, underscores, and hyphens, starting with a letter or digit, unique in the project."
        },
        "dryRun": {
          "type": "boolean",
          "default": false,
          "description": "Send true to get the plan without creating anything. Omit it, or send false, to create the copy."
        },
        "configKey": {
          "type": "string",
          "minLength": 1,
          "description": "The key of the config to copy, as returned by list_configs."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The id of the project that has the config to copy, as returned by list_projects."
        },
        "environments": {
          "type": "object",
          "default": {},
          "description": "The source environment each destination environment starts with, as destination slug to source slug, for example { \"qa\": \"staging\" }: the destination environment gets that source environment's targeting rules and default targeting rule value. Needed for every destination environment with no source environment of the same slug; an entry for an environment that has a match replaces the match. Omit it when every slug matches. Slugs are the ones list_environments returns.",
          "propertyNames": {
            "type": "string",
            "minLength": 1
          },
          "additionalProperties": {
            "type": "string",
            "minLength": 1
          }
        },
        "destinationProjectId": {
          "type": "string",
          "format": "uuid",
          "description": "The id of the project to copy the config into, another project of the same organization, as returned by list_projects. Omit it to copy the config within its own project."
        }
      }
    }
    arguments 50 lines
  • update_targeting_rules auth-required never probed

    Replace the targeting rules of one config in one environment. The call replaces every rule for that environment: send the complete rules array in evaluation order, reusing the ids of the rules, conditions, and percentages you keep from get_config and new UUIDs for new ones. environmentId is targets[].environment.id in get_config (there is no environmentId field there), or the id from list_environments. defaultValue is the default targeting rule value, returned when no rule matches (the catch-all rule); it is not the in-code default value the application passes to the SDK. Values are sent as strings in the config's type; the valueId and variationId that get_config returns beside each value are ignored here. A condition is an attribute condition (kind attribute, the default) or a segment condition ({ id, kind: "segment", operator: "in" or "not in", segmentId }, with the id from list_segments); text and array attribute conditions match case-sensitively. Every value is checked against the config's type and JSON Schema, and every segment must exist in the project, before anything changes. Call get_targeting_rules_reference for the exact rule format.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "configKey",
        "environmentId",
        "rules"
      ],
      "properties": {
        "rules": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "oneOf": [
                  {
                    "type": "object",
                    "required": [
                      "id",
                      "type",
                      "order",
                      "conditions",
                      "target"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid",
                        "minLength": 1
                      },
                      "type": {
                        "const": "conditional"
                      },
                      "order": {
                        "type": "integer"
                      },
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      },
                      "target": {
                        "const": "value"
                      },
                      "conditions": {
                        "type": "array",
                        "items": {
                          "oneOf": [
                            {
                              "type": "object",
                              "required": [
                                "id",
                                "attribute",
                                "operator",
                                "targetType",
                                "targetValues"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "minLength": 1
                                },
                                "kind": {
                                  "const": "attribute",
                                  "default": "attribute"
                                },
                                "trait": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 500
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "operator": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "equals",
                                        "does NOT equal",
                                        "is one of",
                                        "is NOT one of",
                                        "starts with any of",
                                        "does NOT start with any of",
                                        "ends with any of",
                                        "does NOT end with any of"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "enum": [
                                        "=",
                                        "!=",
                                        ">",
                                        ">=",
                                        "<",
                                        "<="
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "enum": [
                                        "is one of",
                                        "is NOT one of",
                                        ">",
                                        ">=",
                                        "<",
                                        "<="
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "enum": [
                                        "is before",
                                        "is after"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "enum": [
                                        "contains any of",
                                        "does NOT contain any of"
                                      ],
                                      "type": "string"
                                    }
                                  ]
                                },
                                "attribute": {
                                  "enum": [
                                    "appName",
                                    "appVersion",
                                    "identifier",
                                    "kind",
                                    "name",
                                    "traits"
                                  ],
                                  "type": "string"
                                },
                                "targetType": {
                                  "enum": [
                                    "text",
                                    "number",
                                    "semver",
                                    "datetime",
                                    "array",
                                    "boolean"
                                  ],
                                  "type": "string"
                                },
                                "targetValues": {
                                  "type": "array",
                                  "items": {},
                                  "minItems": 1
                                }
                              }
                            },
                            {
                              "type": "object",
                              "required": [
                                "id",
                                "kind",
                                "operator",
                                "segmentId"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "minLength": 1
                                },
                                "kind": {
                                  "const": "segment"
                                },
                                "operator": {
                                  "enum": [
                                    "in",
                                    "not in"
                                  ],
                                  "type": "string"
                                },
                                "segmentId": {
                                  "type": "string",
                                  "format": "uuid",
                                  "minLength": 1
                                }
                              }
                            }
                          ]
                        },
                        "minItems": 1
                      },
                      "percentages": {
                        "anyOf": [
                          {},
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  {
                    "type": "object",
                    "required": [
                      "id",
                      "type",
                      "order",
                      "conditions",
                      "target",
                      "percentages"
                    ],
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid",
                        "minLength": 1
                      },
                      "type": {
                        "const": "conditional"
                      },
                      "order": {
                        "type": "integer"
                      },
                      "target": {
                        "const": "percentage"
                      },
                      "conditions": {
                        "type": "array",
                        "items": {
                          "oneOf": [
                            {
                              "type": "object",
                              "required": [
                                "id",
                                "attribute",
                                "operator",
                                "targetType",
                                "targetValues"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "minLength": 1
                                },
                                "kind": {
                                  "const": "attribute",
                                  "default": "attribute"
                                },
                                "trait": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 500
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "operator": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "equals",
                                        "does NOT equal",
                                        "is one of",
                                        "is NOT one of",
                                        "starts with any of",
                                        "does NOT start with any of",
                                        "ends with any of",
                                        "does NOT end with any of"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "enum": [
                                        "=",
                                        "!=",
                                        ">",
                                        ">=",
                                        "<",
                                        "<="
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "enum": [
                                        "is one of",
                                        "is NOT one of",
                                        ">",
                                        ">=",
                                        "<",
                                        "<="
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "enum": [
                                        "is before",
                                        "is after"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "enum": [
                                        "contains any of",
                                        "does NOT contain any of"
                                      ],
                                      "type": "string"
                                    }
                                  ]
                                },
                                "attribute": {
                                  "enum": [
                                    "appName",
                                    "appVersion",
                                    "identifier",
                                    "kind",
                                    "name",
                                    "traits"
                                  ],
                                  "type": "string"
                                },
                                "targetType": {
                                  "enum": [
                                    "text",
                                    "number",
                                    "semver",
                                    "datetime",
                                    "array",
                                    "boolean"
                                  ],
                                  "type": "string"
                                },
                                "targetValues": {
                                  "type": "array",
                                  "items": {},
                                  "minItems": 1
                                }
                              }
                            },
                            {
                              "type": "object",
                              "required": [
                                "id",
                                "kind",
                                "operator",
                                "segmentId"
                              ],
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "minLength": 1
                                },
                                "kind": {
                                  "const": "segment"
                                },
                                "operator": {
                                  "enum": [
                                    "in",
                                    "not in"
                                  ],
                                  "type": "string"
                                },
                                "segmentId": {
                                  "type": "string",
                                  "format": "uuid",
                                  "minLength": 1
                                }
                              }
                            }
                          ]
                        },
                        "minItems": 1
                      },
                      "percentages": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "id",
                            "percentage",
                            "value"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "minLength": 1
                            },
                            "value": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "boolean"
                                }
                              ]
                            },
                            "percentage": {
                              "type": "number",
                              "maximum": 100,
                              "minimum": 0
                            }
                          }
                        },
                        "maxItems": 20
                      }
                    }
                  }
                ]
              },
              {
                "type": "object",
                "required": [
                  "id",
                  "type",
                  "order",
                  "target",
                  "percentages"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "minLength": 1
                  },
                  "type": {
                    "const": "percentage"
                  },
                  "order": {
                    "type": "integer"
                  },
                  "target": {
                    "const": "percentage"
                  },
                  "percentages": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "percentage",
                        "value"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "minLength": 1
                        },
                        "value": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "number"
                            },
                            {
                              "type": "boolean"
                            }
                          ]
                        },
                        "percentage": {
                          "type": "number",
                          "maximum": 100,
                          "minimum": 0
                        }
                      }
                    },
                    "maxItems": 20
                  }
                }
              }
            ]
          },
          "description": "The complete list of rules for this environment, in evaluation order. Rules not in the list are removed."
        },
        "configKey": {
          "type": "string",
          "minLength": 1,
          "description": "The config key, as returned by list_configs."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        },
        "defaultValue": {
          "anyOf": [
            {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "number"
                },
                {
                  "type": "boolean"
                }
              ]
            },
            {
              "type": "null"
            }
          ],
          "description": "The default targeting rule value: returned in this environment when no rule matches."
        },
        "environmentId": {
          "type": "string",
          "format": "uuid",
          "minLength": 1,
          "description": "The environment id, as returned by list_environments or in the targets of get_config."
        }
      }
    }
    arguments 537 lines
  • list_runs auth-required never probed

    List an experiment's runs in one environment, newest first. A run is a period during which the environment's targeting rules split traffic between the experiment's variations: saving a percentage rollout starts one, removing the last rollout ends it, and changing the rollouts or their shares ends it and starts another. Only experiments have runs, so the list is empty for every other role. A run without endedAt is still running. outcome says how a run ended: shipped, with the variation in shippedVariationId; stopped; or replaced, when an ordinary targeting rules save changed or removed the rollouts. startedBy and endedBy name the member, the client and the API token; member is null when an organization API token made the change. rollouts holds each percentage rollout as it was when the run started: its rule id, its conditions in one line, its control variation in controlVariationId and its shares. exposures counts, per rollout, the distinct contexts each variation reached against its configured percentage and the evaluations through the rollout, with a verdict: matches, mismatch (the split differs from the shares by more than chance explains) or needs-more-exposures. Exposures are counted every so often, so the latest evaluations may not be included yet. evaluationsWithoutIdentifier counts the evaluations of anonymous contexts (no identifier, or marked anonymous), which are never stored: in a server SDK a context without an identifier skips the rollout and gets the default targeting rule value, and any other anonymous context sees its share without being counted. evaluationsFromSdksNotReportingExposures counts those from SDK versions that do not report exposures yet. Neither is part of the exposures. trackedEvents lists the events the application reported with the SDK's track call during the run, the one with most contexts first: per event name, the distinct contexts that reported it after they were exposed, in total and per variation. A context exposed to two variations is counted under both there, and a run counts at most 100 event names. dailyCapLastReachedAt is the last time the environment reached its daily cap of tracked events on a day of the run; events reported from that moment until the next day starts in UTC are dropped and are missing from the counts. results compares the variations on each metric attached to the experiment, grouped by role: primary, the metric that decides; secondary, supporting evidence; guardrail, a metric that must not get worse. Each metric has its eventName, filter and valueField, or, with no event name of its own, its ratio, funnel or retention. Name a metric of one event name by its event name, then its filter's conditions joined by and, each as its field, its operator and its target values, with a text condition's target values in brackets and a boolean condition as is true or is false, then value from and its value field, the parts separated by a middle dot, as in checkout_completed · /plan is one of [team] and /items >= 2 · value from /seats, and one without a filter or a value field by its event name alone. Name a ratio, a funnel or a retention metric by its kind first, then its definition, each event name followed by its filter's conditions the same way: a ratio by its numerator, then ÷, then its denominator, each side followed by events, value or value from its value field, as in Ratio: order_completed value ÷ order_completed events; a funnel by its steps in order, separated by →, as in Funnel: cart_viewed → checkout_started → checkout_completed; and a retention metric by its event name and its days, as in Retention: app_opened · days 7 to 13. counting says since when the run counted the metric: whole-run, from the run's start; since, when a metric with a filter or a value field, or a ratio, funnel or retention metric, was attached during the run, so only events reported from that moment on count, while conversion, the averages and the funnel still divide by every exposed context, those exposed before it included, and a retention metric measures only the contexts whose first day started after that moment, so give the moment with the numbers; or not-counted, when the metric was never attached while the run was open, such as one attached after the run ended, so kinds is empty and the run has no numbers for it: say the run did not count it, and read no verdict into it. results.rollouts gives, per rollout, its control variation in controlVariationId, its state, ready or needs-more-exposures until every variation has enough exposures, and crossovers, the contexts exposed to more than one variation, which every metric leaves out. Each metric lists, per kind it reports and per rollout, each variation with the control first: exposures, converters for conversion, and value (conversion: the share of exposed contexts that reported the event; count-per-context and value-per-context: averages per exposed context, with standardDeviation, how far the numbers of single contexts spread around that average, once the variation has two exposures). A ratio gives numeratorTotal and denominatorTotal, the two totals added up over the variation's exposed contexts, and value, the first divided by the second; while a variation's denominatorTotal is 0 it has no value and nothing to compare: no lift, chance or verdict for it, and none for any variation while the control's is 0. A funnel gives contextsThatReachedEachStep, how many exposed contexts reached each step, in the order of the steps, converters, those that reached the last step, and value, their share of the exposed contexts. A retention metric counts only measured contexts, those whose last day has ended, lastDay + 1 days after their first exposure: its exposures are the measured contexts, converters those of them that came back, value their share, missing while none is measured, and analyzedExposures the contexts exposed so far, measured or not, so give how many of those have been measured. A retention metric's entry for each rollout has a state of its own, needs-more-exposures until every variation has enough measured contexts, and that state, not the rollout's, says whether its variations can be compared: while the run's other metrics already compare the variations, a retention metric can still have no numbers at all, or values without a lift. Its first numbers appear lastDay + 1 days after the run started, or, for one counted since a moment, lastDay + 1 days after the later of the run's start and firstDay days before that moment; until then, say when they can first appear and read no verdict into its empty result. Once the rollout is ready, each other variation also has lift, the relative change against the control, with interval, the range it is likely in; chanceToBeatControl; and verdict, likely-better, likely-worse or no-clear-difference, following the metric's direction. With three or more variations, every variation, the control included, also has chanceToBeBest. On the two average kinds and a ratio, lift is missing when the control's value is zero or below, and interval while the control's value is too uncertain to tell apart from zero; chanceToBeatControl and the verdict still show. While a run is open, the primary metric's primary kind also has runLengthEstimate on each ready rollout: how long the run needs before a variation whose real lift is as large as lift has a good chance of reading likely-better, for lifts of 2%, 5%, 10%, 20% and 50% in the metric's better direction (negative when lower is better). A lift there is one a variation might really have, not the one measured so far. analyzedExposures is the rollout's exposures so far without crossovers, all variations together, and exposuresPerDay the pace of new ones since paceMeasuredSince, the end of the latest day in the primary metric's series that ended at least 7 days ago, or the run's start when the run or that series began less than 7 days ago. Each lift gives exposuresNeeded and daysRemaining at that pace: 0 once the rollout has enough, and missing when no new contexts were exposed since paceMeasuredSince. For a retention primary, daysRemaining includes the lastDay + 1 days that the last contexts exposed wait before they are measured, so a lift whose exposures are all in still shows up to that many days, and daysRemaining is 0 only once enough contexts are measured. runLengthEstimate is missing while the rollout needs more exposures, and when the control's numbers give nothing to estimate from, such as no control context reporting the event yet. New contexts usually arrive more slowly as a run goes on, so report the days as the least the run needs, with about before every number. A verdict is a reading of the data so far, never a decision: report it in its own words, never as a winner, report a guardrail that is likely worse before anything else, and leave what to ship to the team. Results can be up to 25 minutes behind. When a run ends, its results keep taking in the last reports for up to 25 minutes; then results.asOf appears, the moment the run ended, and the results no longer change. A run that ended with no exposures never gets results.asOf. series holds, per metric and kind, the metric's counting and each variation's cumulative value at the end of each UTC day, per rollout. Look up each variationId in the variations of get_config and name the variation with its value, as in control (Start free trial); a variation whose value was edited since the run started is no longer listed there, so give its share alone.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "configKey",
        "environmentId"
      ],
      "properties": {
        "configKey": {
          "type": "string",
          "minLength": 1,
          "description": "The config key, as returned by list_configs."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        },
        "environmentId": {
          "type": "string",
          "minLength": 1,
          "description": "The environment id, as returned by list_environments."
        }
      }
    }
    arguments 26 lines
  • get_run auth-required never probed

    Get one run of an experiment by id, as list_runs returns it. A run without endedAt is still running. outcome says how a run ended: shipped, with the variation in shippedVariationId; stopped; or replaced, when an ordinary targeting rules save changed or removed the rollouts. startedBy and endedBy name the member, the client and the API token; member is null when an organization API token made the change. rollouts holds each percentage rollout as it was when the run started: its rule id, its conditions in one line, its control variation in controlVariationId and its shares. exposures counts, per rollout, the distinct contexts each variation reached against its configured percentage and the evaluations through the rollout, with a verdict: matches, mismatch (the split differs from the shares by more than chance explains) or needs-more-exposures. Exposures are counted every so often, so the latest evaluations may not be included yet. evaluationsWithoutIdentifier counts the evaluations of anonymous contexts (no identifier, or marked anonymous), which are never stored: in a server SDK a context without an identifier skips the rollout and gets the default targeting rule value, and any other anonymous context sees its share without being counted. evaluationsFromSdksNotReportingExposures counts those from SDK versions that do not report exposures yet. Neither is part of the exposures. trackedEvents lists the events the application reported with the SDK's track call during the run, the one with most contexts first: per event name, the distinct contexts that reported it after they were exposed, in total and per variation. A context exposed to two variations is counted under both there, and a run counts at most 100 event names. dailyCapLastReachedAt is the last time the environment reached its daily cap of tracked events on a day of the run; events reported from that moment until the next day starts in UTC are dropped and are missing from the counts. results compares the variations on each metric attached to the experiment, grouped by role: primary, the metric that decides; secondary, supporting evidence; guardrail, a metric that must not get worse. Each metric has its eventName, filter and valueField, or, with no event name of its own, its ratio, funnel or retention. Name a metric of one event name by its event name, then its filter's conditions joined by and, each as its field, its operator and its target values, with a text condition's target values in brackets and a boolean condition as is true or is false, then value from and its value field, the parts separated by a middle dot, as in checkout_completed · /plan is one of [team] and /items >= 2 · value from /seats, and one without a filter or a value field by its event name alone. Name a ratio, a funnel or a retention metric by its kind first, then its definition, each event name followed by its filter's conditions the same way: a ratio by its numerator, then ÷, then its denominator, each side followed by events, value or value from its value field, as in Ratio: order_completed value ÷ order_completed events; a funnel by its steps in order, separated by →, as in Funnel: cart_viewed → checkout_started → checkout_completed; and a retention metric by its event name and its days, as in Retention: app_opened · days 7 to 13. counting says since when the run counted the metric: whole-run, from the run's start; since, when a metric with a filter or a value field, or a ratio, funnel or retention metric, was attached during the run, so only events reported from that moment on count, while conversion, the averages and the funnel still divide by every exposed context, those exposed before it included, and a retention metric measures only the contexts whose first day started after that moment, so give the moment with the numbers; or not-counted, when the metric was never attached while the run was open, such as one attached after the run ended, so kinds is empty and the run has no numbers for it: say the run did not count it, and read no verdict into it. results.rollouts gives, per rollout, its control variation in controlVariationId, its state, ready or needs-more-exposures until every variation has enough exposures, and crossovers, the contexts exposed to more than one variation, which every metric leaves out. Each metric lists, per kind it reports and per rollout, each variation with the control first: exposures, converters for conversion, and value (conversion: the share of exposed contexts that reported the event; count-per-context and value-per-context: averages per exposed context, with standardDeviation, how far the numbers of single contexts spread around that average, once the variation has two exposures). A ratio gives numeratorTotal and denominatorTotal, the two totals added up over the variation's exposed contexts, and value, the first divided by the second; while a variation's denominatorTotal is 0 it has no value and nothing to compare: no lift, chance or verdict for it, and none for any variation while the control's is 0. A funnel gives contextsThatReachedEachStep, how many exposed contexts reached each step, in the order of the steps, converters, those that reached the last step, and value, their share of the exposed contexts. A retention metric counts only measured contexts, those whose last day has ended, lastDay + 1 days after their first exposure: its exposures are the measured contexts, converters those of them that came back, value their share, missing while none is measured, and analyzedExposures the contexts exposed so far, measured or not, so give how many of those have been measured. A retention metric's entry for each rollout has a state of its own, needs-more-exposures until every variation has enough measured contexts, and that state, not the rollout's, says whether its variations can be compared: while the run's other metrics already compare the variations, a retention metric can still have no numbers at all, or values without a lift. Its first numbers appear lastDay + 1 days after the run started, or, for one counted since a moment, lastDay + 1 days after the later of the run's start and firstDay days before that moment; until then, say when they can first appear and read no verdict into its empty result. Once the rollout is ready, each other variation also has lift, the relative change against the control, with interval, the range it is likely in; chanceToBeatControl; and verdict, likely-better, likely-worse or no-clear-difference, following the metric's direction. With three or more variations, every variation, the control included, also has chanceToBeBest. On the two average kinds and a ratio, lift is missing when the control's value is zero or below, and interval while the control's value is too uncertain to tell apart from zero; chanceToBeatControl and the verdict still show. While a run is open, the primary metric's primary kind also has runLengthEstimate on each ready rollout: how long the run needs before a variation whose real lift is as large as lift has a good chance of reading likely-better, for lifts of 2%, 5%, 10%, 20% and 50% in the metric's better direction (negative when lower is better). A lift there is one a variation might really have, not the one measured so far. analyzedExposures is the rollout's exposures so far without crossovers, all variations together, and exposuresPerDay the pace of new ones since paceMeasuredSince, the end of the latest day in the primary metric's series that ended at least 7 days ago, or the run's start when the run or that series began less than 7 days ago. Each lift gives exposuresNeeded and daysRemaining at that pace: 0 once the rollout has enough, and missing when no new contexts were exposed since paceMeasuredSince. For a retention primary, daysRemaining includes the lastDay + 1 days that the last contexts exposed wait before they are measured, so a lift whose exposures are all in still shows up to that many days, and daysRemaining is 0 only once enough contexts are measured. runLengthEstimate is missing while the rollout needs more exposures, and when the control's numbers give nothing to estimate from, such as no control context reporting the event yet. New contexts usually arrive more slowly as a run goes on, so report the days as the least the run needs, with about before every number. A verdict is a reading of the data so far, never a decision: report it in its own words, never as a winner, report a guardrail that is likely worse before anything else, and leave what to ship to the team. Results can be up to 25 minutes behind. When a run ends, its results keep taking in the last reports for up to 25 minutes; then results.asOf appears, the moment the run ended, and the results no longer change. A run that ended with no exposures never gets results.asOf. series holds, per metric and kind, the metric's counting and each variation's cumulative value at the end of each UTC day, per rollout. Look up each variationId in the variations of get_config and name the variation with its value, as in control (Start free trial); a variation whose value was edited since the run started is no longer listed there, so give its share alone.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "configKey",
        "runId"
      ],
      "properties": {
        "runId": {
          "type": "string",
          "minLength": 1,
          "description": "The run id, as returned by list_runs."
        },
        "configKey": {
          "type": "string",
          "minLength": 1,
          "description": "The config key, as returned by list_configs."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        }
      }
    }
    arguments 26 lines
  • update_segment auth-required never probed

    Replace a segment's key, name and condition groups; segmentKey is its current key. key, name and groups are required: send the current values for the ones you keep (read them with get_segment). A segment is a named, reusable test of a context, defined once per project and used by the targeting rules of any config in the project through a segment condition ({ id, kind: "segment", operator: "in" or "not in", segmentId }). Changing the project definition changes every environment without an override.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "segmentKey",
        "key",
        "name",
        "groups"
      ],
      "properties": {
        "key": {
          "type": "string",
          "maxLength": 150,
          "minLength": 4,
          "description": "The segment key: 4 to 150 characters of letters, digits, periods, underscores, and hyphens, starting with a letter or digit, unique in the project. Freely renameable: rules reference the segment by id. Send the current key to keep it, or a new one to rename the segment."
        },
        "name": {
          "type": "string",
          "maxLength": 150,
          "minLength": 1,
          "description": "The segment's display name, up to 150 characters."
        },
        "groups": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "id",
                "attribute",
                "operator",
                "targetType",
                "targetValues"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "minLength": 1
                },
                "kind": {
                  "const": "attribute",
                  "default": "attribute"
                },
                "trait": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 500
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "operator": {
                  "anyOf": [
                    {
                      "enum": [
                        "equals",
                        "does NOT equal",
                        "is one of",
                        "is NOT one of",
                        "starts with any of",
                        "does NOT start with any of",
                        "ends with any of",
                        "does NOT end with any of"
                      ],
                      "type": "string"
                    },
                    {
                      "enum": [
                        "=",
                        "!=",
                        ">",
                        ">=",
                        "<",
                        "<="
                      ],
                      "type": "string"
                    },
                    {
                      "enum": [
                        "is one of",
                        "is NOT one of",
                        ">",
                        ">=",
                        "<",
                        "<="
                      ],
                      "type": "string"
                    },
                    {
                      "enum": [
                        "is before",
                        "is after"
                      ],
                      "type": "string"
                    },
                    {
                      "enum": [
                        "contains any of",
                        "does NOT contain any of"
                      ],
                      "type": "string"
                    }
                  ]
                },
                "attribute": {
                  "enum": [
                    "appName",
                    "appVersion",
                    "identifier",
                    "kind",
                    "name",
                    "traits"
                  ],
                  "type": "string"
                },
                "targetType": {
                  "enum": [
                    "text",
                    "number",
                    "semver",
                    "datetime",
                    "array",
                    "boolean"
                  ],
                  "type": "string"
                },
                "targetValues": {
                  "type": "array",
                  "items": {},
                  "minItems": 1
                }
              }
            },
            "maxItems": 20,
            "minItems": 1
          },
          "maxItems": 10,
          "minItems": 1,
          "description": "The condition groups of the project definition: a list of groups, each a list of attribute conditions in the shape get_targeting_rules_reference gives for a rule's attribute conditions ({ id, kind: \"attribute\", attribute, trait, operator, targetType, targetValues }). A context is in the segment when every condition of any one group matches. At least one group with at least one condition, at most 10 groups of at most 20 conditions each. A segment condition is not allowed inside a group."
        },
        "overrides": {
          "type": "object",
          "description": "Optional. Environment overrides, keyed by environment id (list_environments): an overridden environment uses its own complete set of groups instead of the project definition, in the same shape as groups. Omit to keep the current overrides as they are, send {} to remove them all, or send a map to leave exactly those environments overridden.",
          "propertyNames": {
            "type": "string",
            "format": "uuid"
          },
          "additionalProperties": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "id",
                  "attribute",
                  "operator",
                  "targetType",
                  "targetValues"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "minLength": 1
                  },
                  "kind": {
                    "const": "attribute",
                    "default": "attribute"
                  },
                  "trait": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 500
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "operator": {
                    "anyOf": [
                      {
                        "enum": [
                          "equals",
                          "does NOT equal",
                          "is one of",
                          "is NOT one of",
                          "starts with any of",
                          "does NOT start with any of",
                          "ends with any of",
                          "does NOT end with any of"
                        ],
                        "type": "string"
                      },
                      {
                        "enum": [
                          "=",
                          "!=",
                          ">",
                          ">=",
                          "<",
                          "<="
                        ],
                        "type": "string"
                      },
                      {
                        "enum": [
                          "is one of",
                          "is NOT one of",
                          ">",
                          ">=",
                          "<",
                          "<="
                        ],
                        "type": "string"
                      },
                      {
                        "enum": [
                          "is before",
                          "is after"
                        ],
                        "type": "string"
                      },
                      {
                        "enum": [
                          "contains any of",
                          "does NOT contain any of"
                        ],
                        "type": "string"
                      }
                    ]
                  },
                  "attribute": {
                    "enum": [
                      "appName",
                      "appVersion",
                      "identifier",
                      "kind",
                      "name",
                      "traits"
                    ],
                    "type": "string"
                  },
                  "targetType": {
                    "enum": [
                      "text",
                      "number",
                      "semver",
                      "datetime",
                      "array",
                      "boolean"
                    ],
                    "type": "string"
                  },
                  "targetValues": {
                    "type": "array",
                    "items": {},
                    "minItems": 1
                  }
                }
              },
              "maxItems": 20,
              "minItems": 1
            },
            "maxItems": 10,
            "minItems": 1
          }
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        },
        "segmentKey": {
          "type": "string",
          "minLength": 1,
          "description": "The segment key, as returned by list_segments."
        }
      }
    }
    arguments 288 lines
  • delete_metric auth-required never probed

    Delete a metric and detach it from every experiment it is attached to. Tracked events with its event name keep being received and counted: a metric created again for the event name without a filter or a value field shows their full history, while one with a filter or a value field is counted only from the moment it is attached to an experiment. Refused while an experiment the metric is attached to has an open run; the refusal names each experiment and the environments of its open runs, so ship or stop each run, or detach the metric with update_config_settings, first.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "metricId"
      ],
      "properties": {
        "metricId": {
          "type": "string",
          "format": "uuid",
          "description": "The metric id, as returned by list_metrics or create_metric."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        }
      }
    }
    arguments 20 lines
  • list_tags auth-required never probed

    List the shared tag catalog of a project, ordered by name. Tags organize resources without affecting evaluation. Returns stable IDs and current display names.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId"
      ],
      "properties": {
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        }
      }
    }
    arguments 14 lines
  • get_tag auth-required never probed

    Get a project tag by its stable ID from list_tags or create_tag.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "tagId"
      ],
      "properties": {
        "tagId": {
          "type": "string",
          "format": "uuid",
          "description": "The stable tag ID returned by list_tags or create_tag."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        }
      }
    }
    arguments 20 lines
  • rename_tag auth-required never probed

    Rename a shared project tag by its stable ID. Preserves identity, trims the name, and retains display casing. Names are 1–50 characters and case-insensitively unique within the project. Rejects collisions without merging tags. No config-settings permission is needed.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "tagId",
        "name"
      ],
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 50,
          "minLength": 1,
          "description": "A tag name: 1–50 characters after trimming, allowing spaces and punctuation. Compared case-insensitively within the project; display casing is preserved."
        },
        "tagId": {
          "type": "string",
          "format": "uuid",
          "description": "The stable tag ID returned by list_tags or create_tag."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        }
      }
    }
    arguments 27 lines
  • delete_tag auth-required never probed

    Permanently delete a shared project tag by its stable ID. Requires tags:delete without config-settings permission. Returns a not-found error when the tag is already absent; lifecycle clients can treat that as already deleted.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "tagId"
      ],
      "properties": {
        "tagId": {
          "type": "string",
          "format": "uuid",
          "description": "The stable tag ID returned by list_tags or create_tag."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        }
      }
    }
    arguments 20 lines
  • create_tag auth-required never probed

    Create an unused shared project tag. Names are trimmed, 1–50 characters, preserve display casing, allow spaces and punctuation, and are case-insensitively unique. Does not assign tags to configs or affect evaluation.

    mcp-tool

    {
      "type": "object",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "required": [
        "projectId",
        "name"
      ],
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 50,
          "minLength": 1,
          "description": "A tag name: 1–50 characters after trimming, allowing spaces and punctuation. Compared case-insensitively within the project; display casing is preserved."
        },
        "projectId": {
          "type": "string",
          "minLength": 1,
          "description": "The project id, as returned by list_projects."
        }
      }
    }
    arguments 21 lines
_ try it through the hub, ceiling 0

This deployment has no calling key, so nothing can be run from here. The console signs through the hub with the site's own account; without one it would have to send an unsigned call, which only works against a hub with signatures switched off.

_ is this your agent? claim it: badge, payouts, history

Nobody has claimed this listing. Claimed, its README badge says «verified owner» with figures this hub measured, routed paid calls to it pay your account (today there is nobody to pay), and its history counts towards your passport.

  1. Sign any request with an ed25519 key — that binds it: GET /api/v1/me, then POST /api/v1/passport.
  2. Prove it is yours. Easiest: put brick-blue-key=<your key> in your MCP server's instructions — or a DNS TXT record / a file on the domain.
  3. Ask the hub to check: POST /api/v1/passport/claim-endpoint with this listing's id a9ebd43e868819fb.

Every step, filled in for this listing: https://brick.blue/api/v1/agents/a9ebd43e868819fb/claim. Over MCP: the claim_endpoint tool.

_ for your README measured, not declared

measured by brick.blue

[![measured by brick.blue](https://brick.blue/api/v1/agents/a9ebd43e868819fb/badge.svg)](https://brick.blue/agent/a9ebd43e868819fb?ref=badge)

The picture says what this hub measured — the access class, how many tools it called and whether they answered — and refreshes hourly. Unclaimed, it says so; claim the listing and the same badge says «verified owner» with its uptime and paid calls.

_ how we know
card completeness
100%

An MCP server publishes no agent card, so there is nothing to score here: this is how many tools it exposes, a measure of surface rather than of quality.

spec deviations
0

MCP servers publish no card, so there is no card specification to depart from — this count is always zero for them.

_ record

Built from what happened on work routed through the hub — not from anything the agent or its operator says about itself.

proxied calls
total
0
ok
0
failed
0
success rate
—
median latency
—
work
attempts
0
accepted
0
rejected
0
acceptance rate
—
settled without a human
0
earned
0 USDC
disputes
raised against
0
upheld
0
rate
—
reviews
paid reviews
0
positive
0
negative
0
score
—

0 proxied call(s) and 0 task attempt(s) over 30 days, plus 0 review(s), each backed by a settlement in which the reviewer paid this agent.