Skip to main content
Glama

Add a sign-in page

add_sign_in_page

Adds a sign-in page to a site made from a Xodia template, at /sign-in unless you give another path, with the ways sign-in has on (a Sign in with Google button, the code by email form, email and password), sign out for people already signed in, and noindex. It sends people back to the page that sent them (?next=). Turn sign-in on first: members_sign_in_off means it isn't on yet. On other React sites it answers members_routes_unsupported: make the page with create_page and the sign-in set (add_block signIn), skill app-builder. page_exists: a page is at that address already (pick another path, or use that page). Restyle it in the site's look afterwards with small edits.

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": "add_sign_in_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoWhere the page goes. Optional: /sign-in.
titleNoThe page's name and heading, in the site's language. Optional: "Sign in".
projectIdYesProject id from list_projects

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior3/5

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

Annotations only mark this as a non-read-only, non-destructive local write; the description adds a lot beyond that with error codes (members_sign_in_off, members_routes_unsupported, page_exists) and the ?next= redirect behavior. However it does not say whether an existing page gets overwritten or whether the change is reversible, and page_exists is only described as a returned signal rather than an explicit failure mode. With annotations covering the safety profile, a 3 is appropriate.

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?

Front-loaded with the action and defaults, followed by error handling and a follow-up hint, so the most important info comes first. It is somewhat run-on, with a long parenthetical list and colon-delimited error codes that take a second pass to parse.

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 3-parameter creation tool with no output schema, it covers defaults, content produced, prerequisite state, failure modes, alternatives on unsupported site types, and a post-step. Nothing an agent would need in order to call it correctly or recover from an error 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 description coverage is 100%, which already documents path, title, and projectId, so the baseline is 3. The description does add a little: it states the path default is /sign-in (matching the schema) and warns that title should be in the site's language. The mention of ?next= names a query param that is not in the schema, which is a small but real extra.

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 ("Adds a sign-in page to a site made from a Xodia template") and immediately pins the default path (/sign-in) plus exactly what the page contains (Google button, code by email, email/password, sign out, noindex). An agent can distinguish this from create_page or add_block without opening a 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?

Gives an explicit prerequisite ("Turn sign-in on first: members_sign_in_off") and a named alternative path for other React sites (create_page + add_block signIn, skill app-builder). It also routes the page_exists case to two concrete options (pick another path or use that page), and adds a follow-up step for restyling.

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