Skip to main content
Glama

Turn on sign-in

turn_on_sign_in
Destructive

Turns on sign-in for the site's visitors on its Xodia database: Google (Xodia's own Google client, nothing to set up) and, when the site can send email, a code by email; ways already on stay on. Only workspace owners and admins can do it; for anyone else it refuses before anything changes, so tell the user an owner or admin does it in Features (top menu), Members and Google sign-in. Pass emailCode false to leave codes by email off. The rules go to the test and the live data at once. members_sign_in_off: the site has no Xodia database (first turn on the site's Xodia database: turn_on_database once the owner says where most of their visitors are (ask first and suggest a region, since it can't change once data exists; workspace owners and admins only), or the owner turns it on in the Database view in Xodia (Content, Database)) or signs in with Supabase (follow the steps get_members gives). Adding the feature members-sign-in with add_feature does the same in one step.

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": {
      "projectId": "<projectId>"
    },
    "name": "turn_on_sign_in"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailCodeNofalse leaves codes by email off. Optional: on when the site can send email.
projectIdYesProject id from list_projects

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

The annotations declare a destructive, non-read-only mutation, and the description adds exactly the context they cannot: that authorization is checked before any change ('it refuses before anything changes'), that 'ways already on stay on', and critically that the rules propagate to test and live data at once. It also surfaces a named failure mode (members_sign_in_off) and its recovery paths, which is behavior beyond what the structured fields convey.

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

Conciseness3/5

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

Purpose is front-loaded, but the text is dense and run-on, with heavy parenthetical nesting (region guidance, 'Content, Database') inside an error-recovery clause that takes real effort to parse. Each element is useful, yet the same information could be delivered in shorter, better-segmented sentences.

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 mutation with no output schema, the description covers authorization, side effects, reversible-vs-persistent state, prerequisites, an alternate tool route, and an error code with remediation. Nothing an agent needs in order to call it correctly, or to explain a refusal to a user, is missing.

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 the baseline would be 3; the description goes beyond it by explaining the semantic effect of emailCode=false ('leaves codes by email off') and the conditional default ('on when the site can send email'), which the schema states only tersely. The projectId parameter is left to the schema's own 'Project id from list_projects' description, which is adequate.

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 first sentence names a specific verb and resource ('Turns on sign-in for the site's visitors') and immediately scopes what gets enabled (Google via Xodia's own client, optional email codes, existing methods unchanged). It also distinguishes itself from siblings by stating that adding the members-sign-in feature with add_feature 'does the same in one step,' so an agent can choose between two routes 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?

The description states who may call it (workspace owners and admins only), what to do for everyone else (refuse and direct the user to Features > Members and Google sign-in), prerequisites (turn_on_database, or the owner enabling it in the Database view), an explicit alternative (add_feature), and how to handle the members_sign_in_off error. This is close to a complete when/when-not/alternatives map.

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