Skip to main content
Glama

Airlok

Включить Data API

set_data_api
Idempotent

Включить или выключить Data API приложения на хостинге (нужна база — заведётся сама) и задать настройки входа: site_url — куда вернуть после подтверждения почты, redirect_urls — ещё адреса для redirectTo (можно с ), signup — регистрируются сами, confirm_email — подтверждать почту письмом, yandex_client_id и yandex_secret — вход через Яндекс ID (в Яндексе Redirect URI — callback_url из get_data_api, в коде provider 'custom:yandex'). Переданные поля ложатся поверх текущих. Адрес и ключи сами попадают в переменные VITE_SUPABASE_, NEXT_PUBLIC_SUPABASE_* и SUPABASE_ — после включения опубликуйте приложение заново. Только по просьбе пользователя.

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": {
      "app": "<app>"
    },
    "name": "set_data_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesid приложения, его имя или «сервер/имя»
signupNo
enabledNo
site_urlNo
confirm_emailNo
redirect_urlsNo
yandex_secretNoClient secret того же приложения; без него прежний
yandex_client_idNoClientID приложения с oauth.yandex.ru для входа через Яндекс ID; пустая строка — выключить

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior4/5

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

Goes well past the annotations by disclosing that the database is provisioned automatically, that passed fields are merged over current values, that the URL and keys are written into VITE_SUPABASE_*/NEXT_PUBLIC_SUPABASE_*/SUPABASE_* variables, and that the app must be republished afterwards. It does not state permission requirements or what happens to stored settings when the API is disabled.

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 primary action, then settings, then side effects, then the usage caveat — a sensible order with no filler sentences. It is a dense single paragraph, and the parenthetical asides make it slower to scan than it needs to be.

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 an eight-parameter mutation tool with no output schema, the description covers merge semantics, side effects, follow-up steps, and the sibling read tool. Remaining gaps are permissions and the effect of disabling on existing data and settings.

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

Parameters5/5

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

With only 38% schema coverage, the description carries the load and does so: it explains site_url, redirect_urls (including the ** wildcard), signup, confirm_email, and both Yandex fields including the empty-string disable convention and the 'custom:yandex' provider detail. Only 'enabled' is left implicit, and its meaning is obvious from the opening verb pair.

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 specific verbs (enable/disable) against a specific resource (the app's Data API on hosting) and enumerates the settings it controls. The distinction from get_data_api is implicit but visible through the callback_url cross-reference.

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 a real gating rule — 'only at the user's request' — and points to get_data_api as the source of the Yandex Redirect URI, which implies reading before writing. It does not name a when-not condition or an explicit alternative for changing these settings.

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