Skip to main content
Glama

setup_supabase_sms

Destructive

Supabase phone sign-in without Twilio: connect the Supabase Send SMS hook to the selected SANDBOX project, so Supabase sends its login codes through Telmian. Returns the hook URL and signing secret once: set them in Supabase (Authentication > Hooks > Send SMS hook, type HTTPS) or, for local Supabase, in supabase/config.toml under [auth.hook.send_sms] (enabled = true, uri, secrets); never in client code. If the human already generated a secret in Supabase, pass it as secret. Live projects are connected by the human in the panel (Connections > Integrations). If the project is already connected, the existing hook is returned without a secret: pass rotate:true only to replace the secret (the old one stops working in Supabase at once).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "setup_supabase_sms"
  }
}

Input Schema

NameRequiredDescriptionDefault
rotateNo
secretNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and non-idempotency, and the description explains exactly why: rotating replaces the secret and the old one stops working in Supabase at once. It also discloses that the hook URL and signing secret are returned only once, that an already-connected project returns the existing hook without a secret, and where the values must be stored (server config, never client code).

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?

The core action and the one-time return of URL plus secret are front-loaded, and the parenthetical config paths are genuinely useful. It is dense and runs long as a single paragraph, with the local config.toml detail slightly crowding the operational guidance.

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, no-output-schema setup tool, it covers the action, the return values and their one-time nature, storage destinations, the sandbox-versus-live split, and the already-connected edge case with its rotation escape hatch. Nothing an agent needs in order to call it safely 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 0%, so the description carries the full burden and does so for both parameters: secret means a human-generated Supabase secret, rotate means replace the secret with immediate invalidation of the old one. It does not mention the secret's 20–256 character constraint, so the schema still holds a small amount of undisclosed information.

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: connect the Supabase Send SMS hook to the selected SANDBOX project so login codes flow through Telmian. The scope (sandbox project, not live) is explicit, which distinguishes it from the panel-based live-project flow and from siblings like send_verification.

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 explicit when-to-use context and exclusions: sandbox projects here, live projects connected by the human in the panel. It also routes the two optional parameters with conditions — pass secret if the human already generated one in Supabase, pass rotate:true only to replace the secret.

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.