Skip to main content
Glama
scalekit-inc

Scalekit MCP Server

Official

create_environment_role

Create a new role in a Scalekit environment by providing environment ID, role name, display name, description, and default status.

Instructions

Create a new role in the specified environment. Requires environmentId parameter (format: env_). The tool requires 4 parameters: roleName (name of the new role), displayName (name that will be displayed on dashboard), description (description of the role) and isDefault (boolean to indicate if the role is default or not).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roleNameYes
isDefaultNo
descriptionNo
environmentIdYes
roleDisplayNameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the behavioral burden, but it only says 'Create' and lists parameters. It does not disclose permissions, side effects, idempotency, potential duplicates, or return behavior for this mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loaded with the action and target environment. The inaccurate parameter count and mismatched parameter name cost it a perfect score, but the overall size is appropriate.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation with five parameters, no annotations, and no output schema, the description is incomplete. It omits required/optional distinction, does not describe the response, and leaves the agent to reconcile the schema mismatch.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does give meanings for roleName, displayName, description, and isDefault. However, it names 'displayName' while the schema property is 'roleDisplayName', states that 4 parameters are required when the schema marks description and isDefault optional, and narrows environmentId to env_<number> although the schema pattern accepts more.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource: 'Create a new role in the specified environment.' It clearly identifies the operation as role creation and distinguishes it from sibling tools like create_environment_scope and list_environment_roles.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives a prerequisite (environmentId) but no guidance on when to use this tool versus alternatives. It does not state when not to use it or mention any sibling comparison.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.