Skip to main content
Glama
Scalekit MCP Server

Scalekit MCP Server

Official

remove_redirect_uri

DestructiveIdempotent

Delete a login callback URL from an environment's allowed redirect list. Use it to revoke an OAuth callback that should no longer receive authorization responses.

Instructions

Remove one login callback URL from an environment. Use remove_post_logout_redirect_uri to remove a post-logout URL. Use list_redirect_uris to read the current list. Requires the caller OAuth token. This deletes that URL from the allowed list.

Input Schema

NameRequiredDescriptionDefault
uriYesLogin callback URL to remove from the allowed redirect list.
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: +"Login callback URL to remove from the allowed redirect list."
  2. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds genuinely new context beyond them: the caller OAuth token requirement and confirmation of what is destroyed ("deletes that URL from the allowed list"). It does not say what happens if the URI is absent, which keeps it short of a 5.

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?

Four short sentences, front-loaded with the action before the routing hints. The final sentence partially restates the opening (removal of the URL), a minor redundancy that keeps it off a 5.

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

Completeness4/5

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

For a two-parameter mutation tool with no output schema and full annotation coverage, the description covers purpose, alternatives, auth requirement and effect. Edge behavior (unknown URI, effect on active sessions) is unstated but not essential to invoke it correctly.

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%, so both parameters (uri, environmentId with its env_<id> pattern) are fully documented in the schema. The description adds no format or constraint detail beyond it, 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?

States a specific verb and resource with scope: "Remove one login callback URL from an environment." It also explicitly contrasts itself with the near-identical sibling remove_post_logout_redirect_uri, so an agent can pick correctly without opening either schema.

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?

Names two alternatives with the condition that selects each: remove_post_logout_redirect_uri for post-logout URLs and list_redirect_uris for reading the current list. This is exactly the disambiguation needed among the redirect-URI siblings (add_redirect_uri, remove_initiate_login_uri).

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