Skip to main content
Glama

create_portal

Create a new portal for the project. A portal is the client-facing interface with a menu, a dashboard and access rights.

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_id": "<app_id>",
      "name": "<name>"
    },
    "name": "create_portal"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPortal name
colorNoColor: 0=White, 1=Black, 2=Grey (design/legal), 3=Blue (corporate/banks), 4=Green (agro/medicine), 5=Orange (logistics/restaurants), 6=Red (cars/entertainment). Strictly 0-6.
themeNoTheme: 0=Standard/Minimalist, 1=Professional, 3=Professional Opened (CRM/ERP), 4=Professional Wide, 9=Fullscreen, 11=Carbon (dark), 13=Right List, 15=Jalousie. Do NOT use theme:2.
app_idYesProject ID (from list_projects)
default_permissionsNo0 = public, 1 = registered users only, 3 = a group

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / color / description
      Previous value: -"Колір: 0=White, 1=Black, 2=Grey (дизайн/юрист), 3=Blue (корпоратив/банки), 4=Green (агро/медицина), 5=Orange (логістика/ресторани), 6=Red (авто/розваги). Суворо 0-6."New value: +"Color: 0=White, 1=Black, 2=Grey (design/legal), 3=Blue (corporate/banks), 4=Green (agro/medicine), 5=Orange (logistics/restaurants), 6=Red (cars/entertainment). Strictly 0-6."
    • changedInput schema / properties / default_permissions / description
      Previous value: -"0=публічний, 1=тільки зареєстровані, 3=група"New value: +"0 = public, 1 = registered users only, 3 = a group"
    • changedInput schema / properties / name / description
      Previous value: -"Назва порталу"New value: +"Portal name"
    • changedInput schema / properties / theme / description
      Previous value: -"Тема: 0=Standard/Minimalist, 1=Professional, 3=Professional Opened (CRM/ERP), 4=Professional Wide, 9=Fullscreen, 11=Carbon (dark), 13=Right List, 15=Jalousie. НЕ використовувати theme:2."New value: +"Theme: 0=Standard/Minimalist, 1=Professional, 3=Professional Opened (CRM/ERP), 4=Professional Wide, 9=Fullscreen, 11=Carbon (dark), 13=Right List, 15=Jalousie. Do NOT use theme:2."
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare a non-readonly, non-destructive, non-idempotent, closed-world mutation, so the safety profile is covered. The description's definition of a portal usefully implies that menus, dashboards and access rights are configured afterwards by other tools, but it says nothing about naming collisions, what default state the portal lands in, or visibility/publication.

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

Conciseness5/5

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

Two sentences, front-loaded with the action, and the second sentence earns its place by defining the resource. No filler.

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?

With 5 fully documented parameters, no output schema and complete annotations, the description covers enough to invoke the tool correctly. It could go further by noting the typical follow-on setup steps, but nothing required for a correct call is missing.

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

Parameters3/5

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

Schema description coverage is 100%, and color/theme/default_permissions carry unusually detailed semantics (enumerated values, the theme:2 exclusion), so the schema does the heavy lifting. The description adds no parameter-level meaning at all, which is the expected baseline for a fully documented schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Create a new portal") scoped to a project, and adds a useful definition of what a portal is (menu, dashboard, access rights). It doesn't explicitly contrast with adjacent sibling creators like create_portal_page or create_portal_group, so an agent must infer that this tool creates the container, not its parts.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to create a portal versus the many adjacent tools (create_portal_group, create_portal_page, add_portal_menu_item, invite_portal_user). No prerequisites beyond the implied project context, no note that app_id must come from list_projects (only the schema says that).

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