Skip to main content
Glama

HamroLink Business OS MCP Server

website.preflight

Read-only

STEP 1 of website creation (REQUIRED before website.create). Call this whenever the user wants to build/create a website, portfolio, store, school, or restaurant site. Before calling, collect from the user: name, subDomain, phone, email, and their bio/description (location optional). If any of name/subDomain/phone/email is missing, ASK the user in ONE short message for all missing items — do not ask one at a time and do not invent values. This validates the subdomain, checks plan limits, and returns a template preview + businessDetails. Always show that preview to the user including the visual thumbnail 'Template Preview' and ask them to confirm. Creates nothing.

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": {
      "name": "<name>",
      "subDomain": "<subDomain>",
      "templateId": "<templateId>"
    },
    "name": "website.preflight"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPerson or business name shown on the site (e.g. 'Renuka Tamang', 'Kathmandu Coffee'). Ask the user.
emailNoPublic contact email. Ask the user.
phoneNoPublic contact phone / WhatsApp number. Ask the user.
locationNoCity / country / address (e.g. 'Tokyo, Japan', 'Kathmandu').
subDomainYesSubdomain the USER chose (lowercase, letters/numbers/hyphens, e.g. 'renuka-tamang' -> renuka-tamang.hamrolink.com). NEVER invent this — ask the user.
templateIdYesTemplate key from website.list_templates (e.g. 'portfolio-minimal') OR a category: 'portfolio', 'restaurant', 'consultancy', 'school', 'ecommerce', 'business', 'blog'.
descriptionNoThe user's bio, about text, or business description IN THEIR OWN WORDS. Pass the full text the user gave you — it is used to write all site content.
specialtiesNoOptional key skills, services, or products (3-6 items).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces this with 'Creates nothing' while adding real context the annotations cannot convey: it validates the subdomain, checks plan limits, and returns a template preview plus businessDetails. It also prescribes the required follow-up UX (render the thumbnail markdown, ask for confirmation). The only gap is that it does not say what happens when validation or plan limits fail.

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 workflow position and the required-before relationship, then prerequisites, then behavior, then the confirmation step — a sensible order with no filler. It is dense and slightly long, and the enumerated site types ('portfolio, store, school, or restaurant') duplicate categories already documented on templateId.

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 8-parameter, non-destructive read with no output schema, the description covers the return payload (template preview + businessDetails) and the mandatory user-confirmation loop, which is what an agent most needs. The omissions are the required templateId in the collection checklist and any statement of failure behavior when subdomain validation or plan limits reject the input.

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 the baseline is 3, but the description adds genuine meaning: it tells the agent to collect name, subDomain, phone, email and bio from the user and never invent values, and flags location as optional — behavioral rules the schema cannot express. It loses a point because templateId is a required parameter that the collection list never mentions, so an agent following the description could call without it.

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 role ('STEP 1 of website creation') and a specific action set: validates the subdomain, checks plan limits, returns a template preview and businessDetails. It explicitly distinguishes itself from website.create ('REQUIRED before website.create') and from the template lookup implied by templateId, so an agent can place it in the workflow without opening any schema.

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 an explicit trigger ('whenever the user wants to build/create a website, portfolio, store, school, or restaurant site'), an explicit ordering constraint relative to website.create, and an explicit when-not-to-proceed rule: if name/subDomain/phone/email is missing, ask in one message rather than calling. Alternatives and prerequisites are both named.

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.