Skip to main content
Glama
Scalekit MCP Server

Scalekit MCP Server

Official

set_initiate_login_uri

Idempotent

Configure the initiate-login URI for a Scalekit environment so IdP-initiated SSO and external logins redirect to the Scalekit authorize endpoint.

Instructions

Set the initiate-login URI for an environment. That URI is the app endpoint that redirects to the Scalekit authorize endpoint for logins that did not start in the app, including IdP-initiated SSO. Use remove_initiate_login_uri to clear it. Use list_redirect_uris to read it. Requires the caller OAuth token. Setting the same URI again leaves it unchanged.

Input Schema

NameRequiredDescriptionDefault
uriYesApp URL that redirects to the Scalekit authorize endpoint for logins that did not start in the app.
environmentIdYesScalekit environment id. Format: env_<id>.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.0.1
    • addedInput schema / properties / environmentId / description
      Added value: +"Scalekit environment id. Format: env_<id>."
    • addedInput schema / properties / uri / description
      Added value: +"App URL that redirects to the Scalekit authorize endpoint for logins that did not start in the app."
  2. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true, destructiveHint=false, and readOnlyHint=false, so the safety profile is covered. The description adds the genuine non-annotation detail that the caller's OAuth token is required. The closing idempotency sentence largely restates the idempotentHint annotation, so it earns credit for the auth requirement rather than full marks.

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 definition is well front-loaded: the action comes first, then the resource definition, then alternatives, then preconditions. Five short sentences with only one mild redundancy (the repeated idempotency note) keeping it off a 5.

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

Completeness5/5

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

For a two-parameter, non-destructive setter with no output schema, everything an agent needs is present: what the tool sets, what the value means, how to undo it, how to read it, and the auth requirement. No material gap remains.

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

Parameters3/5

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

Schema description coverage is 100% for both parameters, including the exact wording of the uri semantics and the environmentId format pattern. The description adds little beyond the schema's own parameter documentation, so the baseline 3 applies.

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 states a specific verb+resource ("Set the initiate-login URI for an environment") and then defines what that URI actually is, so an agent understands the resource semantically, not just lexically. It also distinguishes itself from siblings by naming remove_initiate_login_uri and list_redirect_uris, making it unambiguous against the other redirect-URI tools.

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

Usage Guidelines5/5

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

It routes the agent explicitly: use remove_initiate_login_uri to clear, use list_redirect_uris to read. Both the alternative and the condition that selects it are named, which is the strongest form of sibling disambiguation in this tool set.

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