MCP tool reference

update_experiment_numbering

Set the experiment prefix and numbering template for the team or one project. Requires mcp:write and the team owner or admin role used by numbering settings. Idea and insight numbering is left unchanged. This does not expose other team administration.

Set the experiment prefix and numbering template for the team or one project. Requires mcp:write and the team owner or admin role used by numbering settings. Idea and insight numbering is left unchanged. This does not expose other team administration.

Permissions

{
  "scope": "mcp:read and mcp:write",
  "role": "Team owner or admin, the same role required to change numbering settings. The mcp:write scope is also required.",
  "plan": "The billing account must have the MCP entitlement. Writes also require a writable billing mode and applicable entity limits.",
  "team": "The OAuth connection is approved for exactly one Team. Other team_id values cannot change the tenant."
}

Input

{
  "properties": {
    "scope": {
      "description": "team applies to every project that does not have its own experiment scheme. project applies to one project.",
      "enum": [
        "team",
        "project"
      ],
      "type": "string"
    },
    "project_id": {
      "description": "Project ID. Required when scope is project.",
      "type": "integer"
    },
    "template": {
      "description": "Numbering template containing one {number} or {number:000} token, for example KPT-{number:000}.",
      "maxLength": 120,
      "type": "string"
    },
    "prefix": {
      "description": "Prefix alternative to template, for example KPT. Combined with padding as KPT-{number:000}.",
      "maxLength": 24,
      "type": "string"
    },
    "padding": {
      "description": "Digits used with prefix. Defaults to 3, which renders KPT-008.",
      "minimum": 0,
      "maximum": 12,
      "type": "integer"
    },
    "initial_number": {
      "description": "Optional next number for new experiments. Already claimed numbers are not reused, and this does not renumber existing experiments.",
      "minimum": 1,
      "type": "integer"
    }
  },
  "type": "object",
  "required": [
    "scope"
  ]
}

Output

{
  "type": "object",
  "properties": {
    "updated": {
      "type": "boolean",
      "const": true
    },
    "data": {
      "type": "object",
      "properties": {
        "scope": {
          "type": "string",
          "enum": [
            "team",
            "project"
          ]
        },
        "project_id": {
          "type": [
            "integer",
            "null"
          ]
        },
        "inherited": {
          "type": "boolean"
        },
        "template": {
          "type": "string"
        },
        "prefix": {
          "type": [
            "string",
            "null"
          ]
        },
        "padding": {
          "type": [
            "integer",
            "null"
          ]
        },
        "initial_number": {
          "type": "integer"
        },
        "next_number": {
          "type": "integer"
        },
        "is_active": {
          "type": "boolean"
        },
        "preview": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "scope",
        "project_id",
        "inherited",
        "template",
        "prefix",
        "padding",
        "initial_number",
        "next_number",
        "is_active",
        "preview"
      ]
    }
  },
  "required": [
    "updated",
    "data"
  ]
}

Examples

Request arguments

{
  "scope": "team",
  "prefix": "KPT",
  "padding": 3
}

Result

{
  "updated": true,
  "data": {
    "scope": "team",
    "project_id": null,
    "inherited": false,
    "template": "KPT-{number:000}",
    "prefix": "KPT",
    "padding": 3,
    "initial_number": 1,
    "next_number": 8,
    "is_active": true,
    "preview": [
      "KPT-008",
      "KPT-009",
      "KPT-010"
    ]
  }
}

Errors

[
  {
    "status": 401,
    "description": "Missing, expired, or revoked OAuth access token."
  },
  {
    "status": 403,
    "description": "Missing MCP scope, team membership, plan entitlement, or user permission."
  },
  {
    "status": 404,
    "description": "The MCP server is disabled."
  },
  {
    "status": 429,
    "description": "Rate limited; honor Retry-After before retrying."
  },
  {
    "description": "Tool execution or validation failures are MCP error results. Inspect isError; a successful HTTP status alone does not indicate a successful tool call."
  }
]

An expired or revoked OAuth connection cannot connect. A missing scope, role, feature entitlement, or team access prevents the operation. See MCP setup.

Was this article helpful?

Need more help? Copy this article's details and paste them into a request on our feedback portal. You may need to sign in.

Open feedback portal

On this page