Skip to main content
Glama

Server Details

Inspect building designs and propose changes for owner approval in Ritabygget.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
OAuth
Works in Glama
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
ChatGPT
–
Claude
–

TDQS

A3.9/5.0

Scored across 19 tools

Disambiguation3/5

The core design lifecycle tools are distinct, but the terrain surface area has six closely related tools whose boundaries depend on format and granularity: set_site_terrain, edit_site_terrain, edit_site_terrain_patches, edit_site_terrain_section, and the two section readers. Descriptions clarify the intended use, but an agent could still plausibly select the wrong terrain operation, and browse_templates versus list_templates is also close.

Naming Consistency5/5

All tool names use snake_case and a predictable verb_noun pattern: list_*, get_*, edit_*, propose_*, set_*, show_*, submit_*, and browse_*. The terrain tools consistently share a prefix, and the variations are semantic rather than stylistic.

Tool Count3/5

19 tools is on the heavy side for an MCP server, driven especially by six terrain read/write tools plus separate design summary and document readers. Each tool maps to a real workflow, but some terrain operations could be consolidated, making the count borderline rather than clearly well-scoped.

Completeness4/5

The surface covers the main lifecycle: template discovery, design creation/read/list, updates through propose_changes, deletion proposals, approval status, previews, and terrain read/write operations. Minor gaps remain, such as no direct pending-proposal listing/detail beyond status and template lookup only through the catalog, but core workflows are covered.

Available Tools

19 tools
browse_templatesBläddra bland byggnadsmallarA
Read-onlyIdempotent
Inspect

Browse and compare published Ritabygget templates with official thumbnails, categories and dimensions in MCP Apps clients. Viewing the gallery or a template is read-only. The user can choose to start a new design as a separate proposal. When embedded UI is unavailable, offer the catalog link and use list_templates for template details.

Inputs: no named parameters. Returns: catalogUrl, templateCount, catalogRevision

create_designFöreslå ny ritningAInspect

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.

Inputs: name (required), templateId (required), changes, summary, +1 more.

edit_site_terrainÄndra terräng stegvisA
Destructive
Inspect

Propose one step of terrain editing on a saved design (#574): put is an object {contours: [...], spotHeights: [...]} that adds or modifies records by id ({id, z, points} and {id, point: [x, y, z]}, metres, same system as get_design_summary site.terrain), remove deletes ids, source optionally relabels the whole terrain measured or schematic. surface replaces the whole 3D surface (compact grid, explicit mesh or shipped reference); surface:null removes it; omit surface to preserve it exactly. Every other contour and spot height stays exactly as saved; nothing is moved automatically. The plot and height reference are unchanged; change them with set_site_terrain. Same format checks and approval as set_site_terrain; removing or replacing elements is destructive and the user confirms it.

Inputs: designId (required), put, remove, source, +2 more.

edit_site_terrain_patchesFöreslå lokal terrängdetaljA
Destructive
Inspect

Add, replace or remove explicit whole-cell detail patches using the baseRevision and surfaceId from a terrain section read. put supplies complete metre patches; remove names existing patch ids. Perimeter aliases share the base samples, top triangles exactly cover their rectangles and explicit upper/lower pairs plus wallTriangles form real vertical faces. An optional base window with z in metres is applied atomically; every existing patch whose closed sample rectangle it touches must also be explicitly put or removed. All other patches, base samples, contours and spot heights stay exact. A reference materializes a design-owned grid; meshes are never resampled. No change is saved until the owner approves the complete validated proposal.

Inputs: designId (required), surfaceId (required), baseRevision (required), put, +3 more.

edit_site_terrain_sectionFöreslå terrängfönsterA
Destructive
Inspect

Propose replacing grid heights in one sample window using the exact baseRevision and opaque surfaceId returned by a section read. z is metre heights in the same saved reference, x first then y; send exactly nx*ny values. Unchanged canonical fractions inside and outside the window remain exact; layout, datum, source, contours and spot heights stay unchanged. A changed serpentine-v2 reference materializes an owned compact grid, leaving the immutable asset and other designs intact; a missing legacy source is normalized to its existing measured default. Meshes/serpentine-v1 remain read-only and require an explicit whole-surface replacement. Stale reads are rejected, nothing applies until the user approves, and approval still fences the complete design revision.

Inputs: z (required), window (required), designId (required), surfaceId (required), +2 more.

get_action_schemaSchema för ändringarA
Read-onlyIdempotent
Inspect

The schema of propose_changes.changes, for clients that show it as a list of unknown. Without type: every change type this account may use, grouped by area, with the per-proposal limits and notes (as ritabygget://schema/change-set). With type: that change type's JSON Schema (fields, enums, bounds), its area and its rule (description, allowed values, example), plus relatedRules from the executable catalog. Prefer this focused view for one action; read ritabygget://rules when cross-action policy inspection is needed.

Inputs: type.

get_conventionsKonventionerA
Read-onlyIdempotent
Inspect

The modelling conventions as markdown, the same text as the resource ritabygget://conventions: walls (standing outside facing the front, the left wall is on your left and the right wall on your right), plan and site coordinates, roof pitch, heights, centerOffsetMm and corner distances, floor plan, site and what can't be represented. Call it first when your client can't read MCP resources.

Inputs: no named parameters.

get_design_documentHela ritningenA
Read-onlyIdempotent
Inspect

Read the normalized Shed V2 document within the 1 MiB complete-response budget; a large inline surface can cause an explicit size error. Use get_design_summary without includeSurface for a small read. The normalized document (dimensions, roof, foundation, wall assembly, framing, finish and colours, openings) plus derived geometry: wall lengths, roof pitch in degrees, peak and wall-top heights, and every opening's corner distances and bottom/top as seen from outside. derived.site gives the effective plot boundary, areaMm2, finite boundary segments, facade/roof distances and isExample in local-site coordinates (x east, y north), plus the explicit elevationReference, elevationDatumMm, complete contours and their local/absolute levels including the floor. Absolute levels equal datum plus local z, never an inferred height system. All lengths are millimetres; building heights are measured from the top of the floor frame.

Inputs: designId (required).

get_design_summarySammanfattning av ritningA
Read-onlyIdempotent
Inspect

Read a saved shed within a 1 MiB complete UTF-8 JSON-RPC response budget; full geometry can return a size error even with includeSurface:true. Read dimensions, roof, foundation and every exterior door/window with its stable id and effective appearance (baseColor, colorCode, source); a published material colour may override the stored legacy door color. roof includes only the active height input: ridgeHeightMm for gable or pentRisePerMeterMm for pent. derived.roof gives peakHeightMm, eaveHeightMm, pitchDeg and wall tops; derived.heightDatum is the top of the floor frame. Carports instead return derived.status not-projected, without ordinary shed roof geometry. floorPlan summarizes partition walls, interior leaf doors, passages, furniture and derived rooms (id/name are null for unnamed surfaces). Room areaMm2 and totalAreaMm2 are usable floor surfaces excluding partition solids, in square millimetres. site describes the saved plot boundary, stable corner/segment ids, source/assumptions, areaMm2, facade/roof distances and isExample; site.existingBuildingContacts lists where the saved facade or roof outline touches or overlaps an existing building, and top-level warnings repeats them as non-blocking text. site.dottedAreas lists separate labelled plot annotations. site.landscape gives all saved landscaping features with stable ids, local millimetre geometry and optional source/assumptions. It also returns the explicit elevationReference (null when unchosen), elevationDatumMm, complete contours with stable ids/points/levels/source/assumptions, spotHeights, terrainSource, surfaceSummary (counts and local millimetre bounds), and terrain in the agreed metre format. Large inline geometry is omitted by default (surfaceOmitted:true); a shipped reference remains as {reference:"serpentine-v2"}. Read bounded grid windows with get_site_terrain_sections/get_site_terrain_section and propose them with edit_site_terrain_section. Legacy meshes have bounded read-only blocks. Set includeSurface:true only when a full metre read fits the response budget. Use edit_site_terrain to preserve an omitted surface. No duplicate canonical millimetre mesh is included. contourLevels and floorLevel with localElevationMm and absoluteElevationMm (null unless absolute). Site coordinates are x east, y north. Lengths are millimetres. Drawings, PDF and material list are only available on the site.

Inputs: designId (required), includeSurface.

get_proposal_statusStatus för förslagA
Read-onlyIdempotent
Inspect

Whether the user has approved (and thereby saved), rejected or not yet handled a proposal from propose_changes or create_design (for an approved create_design, designId is the new design), whether it expired, or whether it is stale because the design changed (reason says why). For a rejected proposal, rejectionReason is the user's optional reason (null if none); use it for the next proposal. A pending change proposal also returns the same non-blocking warnings and findings as propose_changes (for example contact with an existing building); other states return empty lists. After approval, get_design_summary shows the new revision and its current warnings. For propose_design_deletion, the status includes the per-design outcomes after the owner confirms. Check list_designs to verify the remaining designs.

Inputs: proposalId (required).

get_site_terrain_sectionLäs terrängsektionA
Read-onlyIdempotent
Inspect

Read one grid sectionId or an overlapping bbox {min:[x,y],max:[x,y]} in metres. Exactly one selector is required. Bbox aligns outward to existing covering grid cells and returns the actual sample window; no heights are inferred or resampled. Grid z is x-first row-major in the saved height reference. Mesh sectionIds mesh-vertices-N or mesh-triangles-N return original global zero-based indices, start/count and nextSectionId; count optionally reduces the block (vertices <=256, triangles <=512). Mesh bbox/editing is unsupported. Complete response cap 64 KiB, including escaped text, structured content and request id; oversized reads return a smallerRequest suggestion without truncation.

Inputs: designId (required), bbox, count, sectionId.

get_site_terrain_sectionsTerrängsektionerA
Read-onlyIdempotent
Inspect

Read a revision-bound terrain directory, at most 32 entries and 64 KiB for the complete JSON-RPC response. Grid tiles cover 16 by 16 cells with shared edge samples; metadata has sample window, metre bbox, resolution and sample minZ/maxZ/meanZ. Mesh entries identify read-only original-index vertex/triangle blocks. No raw heights are returned. Follow nextCursor and keep the returned revision/surfaceId for editing.

Inputs: designId (required), limit, cursor.

list_designsMina ritningarA
Read-onlyIdempotent
Inspect

List the signed-in user's saved Ritabygget sheds (id, name, revision, last update).

Inputs: no named parameters.

list_templatesByggnadsmallarA
Read-onlyIdempotent
Inspect

Read the repository-owned building-template catalog shipped with this release, the same catalog as the website and ritabygget://templates. Includes group, revision and building facts. Administrative candidates are excluded. Use a returned templateId in show_preview to inspect it without starting a design, or use create_design once the user chooses to start from it. For visual browsing and comparison, use browse_templates. Construction recipes for shed.template.match are separate rules from get_action_schema.

Inputs: no named parameters.

propose_changesFöreslå ändringarA
Destructive
Inspect

Propose one step for a saved shed: at most 6 changes in ONE area: basics (shed.template.match, shed.carport.set, shed.dimensions.set, shed.name.set, shed.building-use.change), roof (shed.roof.change), structure (shed.foundation.change, shed.interior-floor.set, shed.wall-assembly.change, shed.framing.change), finish (shed.finish.change), interior (shed.interior-finish.set), floor-plan (shed.intermediate-floor.set replaces the platform floor and its optional upper storey; shed.loft.set changes loft and support wall in one atomic proposal; shed.floor-plan.set replaces the ground-storey interior plan; shed.floor-plan.wall.add, shed.floor-plan.wall.update, shed.floor-plan.wall.remove, shed.floor-plan.door.add, shed.floor-plan.door.update, shed.floor-plan.door.remove, shed.floor-plan.room.add, shed.floor-plan.room.update, shed.floor-plan.room.remove, shed.floor-plan.furniture.add, shed.floor-plan.furniture.update, shed.floor-plan.furniture.remove change one interior object by id), site (shed.site.labels.set: saved visibility of Fram / entré; existing-building.add/update accept showLabel=false to hide only that footprint label; shed.site.boundary.set: the complete local plot; shed.site.boundary.metadata.set: source/assumptions only, omitted fields retained and empty strings cleared; shed.placement.set: local origin, counterclockwise rotation or structural floor level (floorElevationMm locally or absoluteFloorElevationMm with an absolute reference, never both); shed.site.existing-building.add, shed.site.existing-building.update, shed.site.existing-building.remove: labelled flat context polygons in the same local coordinates; shed.site.dotted-area.add and shed.site.dotted-area.update use area with an id, an optional label and the complete local polygon; shed.site.dotted-area.remove uses id; shed.site.landscape.set replaces all landscape features with one collection in local millimetres; terrain and its height reference only through set_site_terrain and edit_site_terrain), openings (shed.opening., shed.openings.distribute; doors and windows on one or more walls in the same proposal, but each distribute covers one wall). Only one proposal per design can wait for the user at a time; after proposing, wait until get_proposal_status says approved (or rejected) before proposing the next step. The canonical planner validates it without applying it: the user reviews and approves it on Ritabygget, in the open editor or through the returned link. If the planner needs a construction choice the result has structuredContent.status "needs-choice" with choices; propose again with the chosen choice's changes. Target an existing opening with target {"id": ...} (shed.opening.remove removes it; a ref added in the same set can't be removed); name a new one with ref to target it later in the same change set. Lengths are millimetres. The result describes the planned outcome (type, size, wall, centerOffsetMm, sill) in steps and structuredContent.openings (every opening of the result, change added/changed/unchanged/removed), and the warnings this change causes or touches in structuredContent.warnings; floor-plan changes also return structuredContent.floorPlan with counts, room names and usable areas in areaMm2. structuredContent.preview is the structured geometry of the RESULT (#540): exterior walls with plan start/end, length and height, interior walls, openings per wall as seen from outside (corner distances, visualCenterMm, bottom/top, door type) and, with an own plot, the facade/roof outline with distances to every plot side; check placement against it before giving the link. Site changes return structuredContent.site with the complete plot, landscape, reference, contours, spot heights, terrain source, the terrain in the agreed metre format (site.terrain) and local/absolute levels. Use only supplied levels. Local uses datum 0, absolute requires the stated system and datum. A complete plot boundary is one change. Use set_site_terrain or edit_site_terrain for terrain, contours and their height reference. Plot and terrain proposals are separate from building changes. Its before/after is read-only in the GUI: corrections go through MCP after resolving the pending proposal. The original drawing stays in your AI environment, never uploaded to Ritabygget. Check the result against the request before giving the user the link.

Inputs: changes (required), designId (required), summary, baseRevision.

propose_design_deletionFöreslå radering av ritningarA
Destructive
Inspect

Prepare a request to delete 1–6 saved designs owned by the connected user. Use designId and revision from list_designs, only for explicitly requested designs. This never deletes a design. Give the review link to the user, who can confirm or decline on Ritabygget. Use get_proposal_status for per-design outcomes after the owner decides.

Inputs: designs (required).

set_site_terrainFöreslå terrängA
Destructive
Inspect

Propose the WHOLE terrain of a saved design's plot in the agreed format (#574), as one site proposal the user approves like propose_changes. Metres in the saved local-site coordinate system: the same x/y origin as placement and boundary, x east, y north; do not subtract the plot minimum coordinates; z relative to the chosen local zero, or in the absolute system (e.g. RH 2000) of elevationReference. boundary is optional and closed (repeat the first corner last). contours are polylines [[x, y], ...] with one z per line (repeat the first point to close a ring); spotHeights are {id, point: [x, y, z]}; they mix freely. source is measured (survey or map: never moved, simplified or regenerated) or schematic (terrain you interpret or design on the user's request). Every element has an id. Only the format is checked: closed polygons, everything inside the plot, no duplicate ids, curves or spot heights. surface accepts a compact regular grid {grid:{origin:[x,y],spacing:[dx,dy],nx,ny,z:[...]}} with nx * ny supplied row-major heights, or an explicit mesh {vertices:[[x,y,z],...],triangles:[[i,j,k],...]} with zero-based indices and counterclockwise x/y winding, or the immutable shipped surface {reference:"serpentine-v2"}. The older serpentine-v1 reference keeps its original mesh. Grids use independent positive x/y spacing and a fixed SW–NE diagonal in each cell; their entire rectangular footprint stays inside the plot. No heights are inferred, smoothed or resampled. Supply any change to the shape of road benches, slopes or pond basins directly in the surface. Visual landscape features are proposed separately with shed.site.landscape.set. It replaces all contours, spot heights and the surface (omitting surface removes the old one); a plan that removes retained terrain, replaces surface layout or replaces an own plot’s retained corner identities or ring topology is destructive and the user confirms it. Moving retained corners alone is not destructive unless it removes terrain. Read and edit grid sections with get_site_terrain_sections/get_site_terrain_section and edit_site_terrain_section; read legacy meshes in bounded blocks. A full get_design_summary includeSurface:true read is optional and remains budgeted. Normal summaries omit inline geometry (surfaceOmitted:true); do not resend an incomplete summary as a whole replacement. Use edit_site_terrain to preserve the saved surface while changing other elements.

Inputs: terrain (required), designId (required), summary.

show_previewVisa förhandsvisningA
Read-onlyIdempotent
Inspect

Show an interactive read-only 3D/2D preview in clients supporting MCP Apps. Supply exactly one of designId for an owned saved design, proposalId for an owned pending proposal, or templateId from list_templates for a published template as it appears in the catalog. The server loads the authoritative snapshot; never supply documents or changes. No design is changed or approved. The user approves only through the returned Ritabygget link. Unsupported clients and unavailable/large previews retain the GUI link; never generate images or illustrations.

Inputs: designId, proposalId, templateId. Returns: kind, title, status, message, +10 more

submit_feedbackSkicka feedbackAInspect

Report an obstacle with Ritabygget's MCP to the Ritabygget team (#538): a missing schema or doc, a missing feature, a bug. It is stored with the signed-in account and read in Ritabygget's backoffice; the user is not notified. Never include personal data (names, addresses, phone numbers, property designations) or the user's drawing; describe the problem in your own words. text is at most 2000 characters; context optionally names changeType, errorMessage (at most 500 characters) and designId. A few reports per hour and account.

Inputs: text (required), category (required), context.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables an AI assistant to determine which inspections a Swedish residential or commercial building must or should have—covering OVK ventilation, energy declaration, lift, radon, legionella and fire safety—including how often, the legal basis, who may perform them, and what is overdue from supplied last-done dates. Read-only with no account or API key required, and answers available in English, Swedish or Spanish.
      1
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables engineering design assurance for architecture, piping, and plate designs by drafting, validating, and verifying design contracts and DXF drawings through independent verification.
      9
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to prepare floor plans for Ritn3D and interpret 3D outputs by providing tools for validation, complexity estimation, pricing, and failure analysis.
      9
      26 PyPI
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP clients such as Claude to inspect Archicad projects, find and correct missing door fire ratings with preview and approval safeguards, and measure and price walls with Excel export.
      9
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources