Skip to main content
Glama

clerk.update_instance_restrictions

Update sign-up and sign-in restriction settings for a connected Clerk instance.

Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account.

Returns the updated instance restrictions.

Cost = 8 tokens.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allowlistNoWhether the allowlist restriction should be enabled.
blocklistNoWhether the blocklist restriction should be enabled.
clerk_instance_idNoClerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account.
block_email_subaddressesNoWhether email subaddresses (plus-addressing) should be blocked.
block_disposable_email_domainsNoWhether disposable email domains should be blocked.
allowlist_blocklist_disabled_on_sign_inNoWhether allowlist and blocklist checks should be skipped during sign-in.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
restrictionsNoUpdated Clerk instance restrictions from the Backend API.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the responsibility of disclosing behavior. It identifies the tool as a mutating update, explains the prerequisite and default-account behavior, states that it returns updated restrictions, and includes a token cost. It does not discuss permissions or failure modes, but the provided context is solid for an update tool.

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

Conciseness5/5

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

The description is concise: three short paragraphs with a clear lead sentence stating the purpose, followed by operational details and return behavior. Every sentence contributes value, and the cost notice is a useful addition without bloating the text.

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?

The description covers the core action, prerequisite, instance selection, and return value. An output schema exists and parameter details are in the schema. A minor gap is not explicitly stating that only provided fields are updated (though defaults imply optionality), but overall the context is sufficient for correct invocation.

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?

The schema already describes all six parameters at 100% coverage, so the baseline is 3. The description adds minimal extra semantics beyond reinforcing the clerk_instance_id behavior already present in the schema. No new meaning is added to other parameters.

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 clearly states a specific verb-action ('Update sign-up and sign-in restriction settings') against a clear resource ('a connected Clerk instance'). It distinguishes from sibling update_instance_* tools by focusing on restrictions, making its purpose unambiguous.

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

Usage Guidelines4/5

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

The description provides clear operational guidance: call 'clerk.get_connected_accounts' first and either pass 'clerk_instance_id' or omit it for the default account. However, it does not explicitly state when to choose this tool over other update_instance_* alternatives, so it stops short of full alternative differentiation.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool has a distinct purpose, further clarified by group prefixes and clear descriptions. Within each group, tools perform different operations (e.g., domains.lookup vs. domains.whois vs. domains.rdap) with no ambiguity.

Naming Consistency5/5

All tools follow a consistent group.tool_name pattern using snake_case. The naming is predictable and uniformly applied across all groups.

Tool Count4/5

78 tools is high, but the server aggregates multiple distinct API domains (11 groups). Each group has a reasonable number of tools, typically under 10, with TikTok having 17. The count reflects breadth, not bloat.

Completeness5/5

Each domain's tool set covers the primary expected operations (e.g., search, details, reviews, metrics, user info). There are no obvious gaps for read-only analytical use; features like posting are likely out of scope.