Skip to main content
Glama

Set up a support-ticket portal

set_up_support_portal
Idempotent

Everything for "a support portal where my customers log in and raise tickets", in one call: creates the private Support tickets collection (Subject, Details, Status Open / In progress / Resolved, Our reply, date opened), lets each signed-in customer see only their own tickets and open new ones writing just the subject and details (and visitors who are not signed in open one with their email, then follow it with the emailed sign-in link), switches customer login on with email link and Google (or login_methods), and adds a "Client Login" menu link to the customer area (/account) when the menu has none. Safe to run again. Relay tell_owner; google_own_credentials.steps are the optional steps to show the business name on Google's screen, with this site's exact redirect URIs. Costs nothing; visitors see it after the next publish. ON A SITE THAT STILL HOLDS SEVERAL DESIGNS this builds the site: Mondovo copies the chosen design into the working site (or reuses the copy made earlier), adds to that, and the response carries its new site_id and a build_transition — relay its tell_user and use the new site_id from then on. Pass variation_id for the design the user picked; omitted, Mondovo uses the design already built or the only one edited, and otherwise answers choose_design so you can ask the user.

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": {
      "site_id": "<site_id>"
    },
    "name": "set_up_support_portal"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYesThe site, from list_sites
user_goalNoOptional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details.
menu_labelNoThe menu link's label. Default "Client Login" (or e.g. "Support").
variation_idNoOn a site that still holds several designs: the design to build the site from (from list_variations). Mondovo copies it into the working site and adds to that. Omit on a site that is already built.
add_menu_linkNoAdd a menu link to the customer area when the menu has none. Default true.
login_methodsNoSign-in methods to switch on. Default: magic_link and google (our advice; password is the alternative to magic_link).
allow_signed_outNoVisitors who are not signed in may open a ticket with their email, then sign in later with the emailed link to follow it. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover idempotency and non-destructiveness, and the description goes beyond them with real operational context: no cost, visibility only after publish, that on a multi-design site it copies a design into a working site and returns a new site_id plus a build_transition whose tell_user must be relayed. It does not explain failure modes (e.g. missing permissions) or what the collection looks like if it already exists, which keeps it below the top mark.

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

Conciseness3/5

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

The purpose is front-loaded in the first clause, but the body is one long comma-chained sentence with nested parentheticals and a second dense paragraph on multi-design sites. All the content is relevant, yet the lack of paragraph or bullet structure makes it harder 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 a mutating, multi-effect setup tool with seven parameters and no output schema, the description does substantial work by naming the response fields (site_id, build_transition/tell_user, tell_owner, choose_design) and explaining the design-selection branch. It remains slightly incomplete on prerequisites and error handling, but an agent could call it correctly from this text.

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 coverage is 100%, so baseline is 3, but the description adds genuine meaning: why variation_id exists and what omitting it does, why magic_link plus google is the default and password is the alternative, and what allow_signed_out actually produces (email-only ticket then sign-in by emailed link). The tell_owner reference appears to be a response field rather than a parameter, which is slightly confusing in this context.

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?

The description states a concrete verb set and named artifacts: creates the private 'Support tickets' collection with specific fields and statuses, enables customer login with magic link/Google, and adds a 'Client Login' menu link. This is specific enough that an agent can distinguish it from narrower siblings such as create_support_ticket or set_collection_portal_access 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 Guidelines4/5

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

It gives a clear triggering scenario (a user asking for a support portal where customers log in and raise tickets), notes re-run safety, and prescribes the variation_id decision rule including the choose_design fallback when the design is ambiguous. What is missing is an explicit when-not-to-use note or a named alternative for partial needs (e.g. just creating one ticket).

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