Skip to main content
Glama

update_house

既存物件の BIM を更新する (要素の追加・差し替え・メタ修正)。会話で作った物件を「ロフトも足して」「プールも」のように続けて編集する時に使う。slug は必須。edit_token は同じ会話セッションで create_house した物件なら自動補完される (ユーザーが会話で提示した場合のみ明示的に渡す。推測・捏造しない)。design_brief に追加・変更したい内容を自由文で渡すと、既存要素を保ったまま該当する特徴要素を追加する。elements を渡すと全要素を差し替える。

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": {
      "slug": "<slug>"
    },
    "name": "update_house"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
slugYes更新する物件 slug (必須)
roomsNo
floorsNo階数。既存と異なる値を渡すと外殻を建て直す (例: 2→3階)。
elementsNobim.json v1 要素配列 (渡すと全要素を差し替え)。省略時は design_brief で追加。
gross_m2No延床面積。既存と大きく異なる値を渡すと外殻を建て直す。
edit_tokenNo編集トークン。同一セッションで作成した物件は省略可 (自動補完)
design_briefNo追加・変更したい内容の自由文 (例: ロフトとプールを追加)
construction_jpyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / floors / description
      Added value: +"階数。既存と異なる値を渡すと外殻を建て直す (例: 2→3階)。"
    • addedInput schema / properties / gross_m2 / description
      Added value: +"延床面積。既存と大きく異なる値を渡すと外殻を建て直す。"
  2. Added
  3. Removed
  4. Changed1 schema field changed
    • changedInput schema / properties / project / description
      Previous value: -"メタ更新 (name / construction_jpy / proposed_gross_m2 / proposed_floors / proposed_structure / proposed_rooms)"New value: +"メタ更新 (name / construction_jpy / proposed_gross_m2 / proposed_floors / proposed_structure / proposed_rooms / project_type['new'|'renovation'|'change_of_use'] / renovation_scope[配列] / renovation_scope_m2 / existing_year_built / seismic_retrofit)。project_type を renovation|change_of_use に変えると、以後この物件の get_build_plan/cost.json は改修工程・改修単価で再計算される (基礎・躯体等は既定でコスト¥0=既存流用)。"
  5. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does disclose the highest-risk behaviors: elements replaces ALL elements wholesale, design_brief instead adds while preserving existing elements, and the edit_token must not be fabricated. That is meaningful disclosure of destructive/mutating semantics. It does not cover failure behavior (e.g., non-existent slug, unauthorized edit) or what a successful call returns.

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-loads purpose, then moves down in priority to token handling and the brief-vs-elements distinction. Every sentence carries rule-bearing content, though the heavy parenthetical nesting makes it dense to parse in one pass.

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 9-parameter mutation tool with no annotations and no output schema, the description covers the operationally critical facts (required slug, token provenance, additive vs. wholesale replacement, shell rebuild triggered by floors/gross_m2 changes). Gaps remain on post-call results and on three parameters that neither schema nor description explain, so it is not fully self-sufficient.

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 67%, and the description fills the most consequential gaps: slug is mandatory, edit_token is auto-completed for same-session creations but only passed explicitly when user-supplied, design_brief is free text for additive changes, and elements means full replacement. It adds little for name, rooms, and construction_jpy, which remain undocumented in both places, but the semantically risky parameters are covered.

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?

Starts with a specific verb+resource (既存物件の BIM を更新する) and immediately scopes it to the three edit types (追加・差し替え・メタ修正), which distinguishes it from create_house in the same catalog. An agent can identify this as the mutation tool for already-created properties without reading the 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?

Gives a concrete trigger condition: use it when continuing to edit a property made in the same conversation (「ロフトも足して」「プールも」). It also supplies a decision rule for the ambiguous edit_token parameter (omit unless the user surfaced it; never guess). It stops short of explicitly stating when to prefer a sibling such as get_house_bim for inspection only, so it is strong but not exhaustive.

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