К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/mcp-entitlements.mdиндекс документации — /llms.txt

MCP: entitlements

Обновлено

MCP: entitlements

Это определения инструментов из текущего ToolRegistry, включая полные inputSchema/outputSchema, scope, required_scopes (ALL), risk и версию платформы. Наличие определения не означает, что инструмент уже установлен вашим хостом или разрешён вашим credential. Обновляйте tools/list после изменения бизнеса, readiness и прав. Progressive disclosure через load_domain/describe_tool и существующий meta-dispatch описаны в MCP-руководстве. Scopes и права применяются при вызове; risk не заменяет согласие и отдельные требования денежной операции. JSON ниже — схема, а не успешный результат вызова.

get_entitlements

Read the current entitlement (plan, addons, status) for a user.

{
  "description": "Read the current entitlement (plan, addons, status) for a user.",
  "domain": "entitlements",
  "inputSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "user_id": {
        "description": "Value for user id.",
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "user_id"
    ],
    "type": "object"
  },
  "name": "get_entitlements",
  "outputSchema": null,
  "platform_version": "1.0.19",
  "required_scopes": [
    "entitlements"
  ],
  "risk": "read",
  "scope": "entitlements",
  "title": "Get Entitlements"
}

get_subscription_status

Read the active subscription (period, provider, cancel flag) for a user.

{
  "description": "Read the active subscription (period, provider, cancel flag) for a user.",
  "domain": "entitlements",
  "inputSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "user_id": {
        "description": "Value for user id.",
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "user_id"
    ],
    "type": "object"
  },
  "name": "get_subscription_status",
  "outputSchema": null,
  "platform_version": "1.0.19",
  "required_scopes": [
    "entitlements"
  ],
  "risk": "read",
  "scope": "entitlements",
  "title": "Get Subscription Status"
}