Skip to main content
Glama

Record the chosen design

choose_design_option

Record which design option the owner picked (its letter, e.g. "B", or id), after asking them. Until a design is chosen, write_page, write_file, edit_files, apply_template, build_app and the shop tools refuse. Saves the direction in the brief and a decision note, so every AI app builds in that style. Returns how to build it: apply_template with that direction, or the option HTML (for designs the AI made) to take the CSS from.

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": "<site>",
      "option": "<option>"
    },
    "name": "choose_design_option"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesSite slug (e.g. "kopitiam-muar") or id
optionYes
decided_byNo"owner" when the owner picked it (the normal case); "ai" only when the owner explicitly asked you to decideowner

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only give the safety triad (readOnlyHint=false, destructiveHint=false, openWorldHint=false), so the description carries the real burden and does: it discloses the side effect ("saves the direction in the brief and a decision note") and the gating consequence on other tools. It loses a point only because it never says whether re-calling overwrites a prior choice or what a failure looks like.

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?

Three sentences, front-loaded with the action then the enforcement rule then the return contract, with no filler. Mildly dense in the final sentence (the template-vs-HTML return branch takes a re-read), but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description steps in to explain exactly what comes back (the apply_template direction, or option HTML for AI-authored designs). Combined with the blocking rule and the side-effect disclosure, an agent has everything needed for this three-parameter mutation.

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?

With 67% schema coverage, the description adds real meaning: "option" accepts a letter or id, and "after asking them" reinforces why decided_by defaults to owner. The ai case is only covered by the schema's own enum description, so the description does not fully compensate for the remaining gap.

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 verb and resource ("Record which design option the owner picked") with the accepted value form (letter "B" or id). It also scopes itself against the constellation of build/write tools by declaring that those refuse until this is called, so an agent can place it precisely.

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 precondition ("after asking them") and an explicit blocking rule naming the specific tools that fail without it (write_page, write_file, edit_files, apply_template, build_app, shop tools). That is when-to-use and what-happens-otherwise in one place.

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