Skip to main content
Glama

Change how customers sign in

update_customer_login_settings
Idempotent

Change how a site's customers sign in: switch customer login on or off (login), turn sign-in methods on (enable_methods) or off (disable_methods), and allow or stop new customers signing themselves up (allow_self_register). Only what you name changes, and one method always stays on. Turning a method on also switches login on when it was only automatically off. Google sign-in needs no setup; an own Google client only changes the name on Google's screen and is set up on the web. Facebook, Apple and other providers are not offered. Visitors see the change after the next publish.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "site_id": "<site_id>"
    },
    "name": "update_customer_login_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
loginNo"on" or "off" sets customer login; "auto" means on only when the site takes bookings, sells or has a client portal.
site_idYesThe site, from list_sites
user_goalNoOptional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details.
enable_methodsNoSign-in methods to turn on: magic_link (email link), password (email + password), google (Continue with Google).
disable_methodsNoSign-in methods to turn off. One method always stays on.
allow_self_registerNoWhether new customers may create their own account (false = only customers the business adds).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false) by disclosing partial-update semantics, the zero-methods guard, the implicit login-on side effect, and that visitors only see changes after the next publish. It also rules out unsupported providers (Facebook, Apple), preventing wasted calls.

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?

A single dense paragraph, front-loaded with the set of operations before the constraints and caveats. Every sentence carries information, though the Google client sentence is slightly tangential and could be compressed.

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 six-parameter mutation tool with no output schema, it covers the important behavioral edges: partial updates, invariant constraints, side effects, and propagation timing. It stops short of saying what the response contains or how failures (e.g., disabling the last method) are surfaced.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds cross-parameter behavior the schema cannot express: enable_methods implicitly switching login on when it was 'auto', and disable_methods being unable to empty the method set. The Google client note adds practical meaning beyond the enum descriptions.

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?

Opens with a specific verb and resource ('Change how a site's customers sign in') and enumerates each knob it controls (login, enable_methods, disable_methods, allow_self_register) by parameter name. Clearly distinct from the read-only sibling get_customer_login_settings by framing itself as a change operation.

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?

Gives clear operational context: partial updates ('Only what you name changes'), the invariant that one method always stays on, and the coupling where enabling a method turns login on. It does not explicitly name get_customer_login_settings as the way to inspect current state before changing it, so routing guidance is implied rather than stated.

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.

Resources