Skip to main content
Glama

Föreslå ny ritning

create_design

Propose a NEW design from the published catalog (list_templates or resource ritabygget://templates). Nothing is created until the user approves it in Ritabygget: the proposal appears in their open editor and through the returned link, and Godkänn creates the design and saves revision 1. Optional changes (at most 6, one area, typically the basics: shed.dimensions.set, shed.building-use.change) are applied on top of the template. The new design is the frame only: dimensions, roof, walls and foundation WITHOUT the template's doors and windows, which you add afterwards with propose_changes (all walls' doors and windows may share one step, at most 6 changes); opening and site actions in changes are rejected (set keepTemplateOpenings only when the drawing's openings match the template's). Propose the plot separately after approval. Only one new-design proposal can wait at a time. Poll get_proposal_status: once approved, its designId is the new design; then build it step by step with propose_changes.

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": {
      "templateId": "<templateId>",
      "name": "<name>"
    },
    "name": "create_design"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the new design.
changesNo
summaryNoOptional one-sentence description, shown to the user.
templateIdYesAn id from the current published catalog: call list_templates or read ritabygget://templates first. New templates become available after their repository release is deployed; administrative candidates are excluded. Do not use a construction-recipe id unless it is also present in the catalog.
keepTemplateOpeningsNoKeep the template's doors and windows. Default false: the design starts without openings.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior3/5

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

The annotations already declare the write profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false) and the description adds real value with the approval gate, the one-pending-proposal limit, the returned link, and the fact that Godkänn saves revision 1. It also discloses that the design starts as frame only without the template's doors and windows, and explains when keepTemplateOpenings is legitimate. However, it states 'Nothing is created until the user approves it' alongside a non-read-only annotation, which could momentarily confuse an agent about whether the call itself mutates state; clarifying that the proposal record is what gets written would remove that ambiguity, so this is a 3 rather than higher.

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?

Purpose is front-loaded in the first clause, and each subsequent sentence carries distinct operational information (approval semantics, change limits, frame-only contents, polling). It is dense and parenthetical-heavy, so a reader must parse nested clauses, but no sentence is 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?

For a complex proposal tool with a very large nested schema and no output schema, the description covers the entry point, the constraints, the return hints (link, designId) and the follow-up path, which is enough to call it correctly. It could say more about the summary field and about what the proposal response actually contains beyond the link.

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 80%, so the schema already documents templateId, name, summary, changes and keepTemplateOpenings. The description still adds meaning the schema lacks: the 'at most 6, one area' scoping for changes, which change types are typical (shed.dimensions.set, shed.building-use.change), and the conditional rule for keepTemplateOpenings. It omits any mention of the summary parameter, which is why it falls short of a 5.

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 ('Propose a NEW design') and resource, plus the upstream source ('from the published catalog'), and implicitly distinguishes itself from propose_changes, which the description assigns to post-approval edits. The capitalized NEW makes the boundary explicit.

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 the full workflow: fetch template ids via list_templates or ritabygget://templates, propose, poll get_proposal_status, then continue with propose_changes, and add the plot separately after approval. It also names the exclusion — opening and site actions are rejected in changes — so an agent knows what not to send.

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