Skip to main content
Glama

Israeli Real Estate and Legal Calculators

Construction defects check

construction_defects_check
Read-onlyIdempotent

Construction defects check for an apartment in Israel: for each defect, whether it is still within the inspection (bedek) or warranty period under the Sale (Apartments) Law, notice deadlines, the contractor's right to repair, limitation, and which documents to gather. Runs the official defects diagnoser of il-law.co.il.

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": {
      "bought_from": "<bought_from>",
      "delivery_date": "<delivery_date>",
      "defects": "<defects>"
    },
    "name": "construction_defects_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the result (default he)
defectsYesThe defects (up to 10)
locationNoWhere the defects are: apt = in the apartment; common = common property; both
documentsNoDocuments already held: sale contract and specification, delivery protocol, maintenance instructions, dated photos, notices and replies, repair records, engineer's opinion
bought_fromYesdev = from the contractor/developer; sub = from the first buyer of a new apartment; old = second-hand apartment; self = self-build with a building contractor
contract_dateNoDate, YYYY-MM-DD
delivery_dateYesDate the apartment was delivered to the first buyer, YYYY-MM-DD
self_build_clauseNoself: the contract with the contractor applies the inspection and warranty periods of the Sale Law
building_completedNoDate construction of the building was completed (optional), YYYY-MM-DD

Output Schema

NameRequiredDescriptionDefault
officeYes
reportYesThe calculator report (same text as the content block, without the footer)
disclaimerYes
calculator_urlYesThe URL of the corresponding calculator page on the office website

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / calculator_url / description
      Previous value: -"The calculator page on the office website, to cite"New value: +"The URL of the corresponding calculator page on the office website"
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered; the description adds the substantive behavioral context of what the analysis determines for each defect (period status, deadlines, right to repair, limitation, evidence list). It does not state the 10-defect cap here (only in schema) or what happens with incomplete inputs such as a missing notification date, leaving some operational gaps.

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?

Two sentences with the purpose and the computed outputs front-loaded, then the underlying engine named second. The list of outputs is dense but each item earns its place; the only minor cost is that the long enumeration slows scanning of the primary 'what does this do' statement.

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, schema- and output-schema-rich legal diagnoser, the description gives enough to know what inputs are required in principle and what the result contains, and return-value detail is unnecessary because an output schema exists. What remains missing is edge-case behavior (fewer than 10 defects, missing dates, how 'unk' visibility is treated), which keeps it short of a 5.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and every parameter, including the enumerated category codes and the contractor_response states, is documented inline, so the schema carries the semantic load. The description only gestures at the input domain ('for each defect', 'which documents to gather') without adding format or interpretation guidance beyond it, making the baseline 3 appropriate.

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?

Names a specific resource (construction defects in an apartment in Israel) and enumerates exactly what is computed per defect: inspection (bedek)/warranty status, notice deadlines, contractor's right to repair, limitation, and documents to gather. It also identifies the engine ('the official defects diagnoser of il-law.co.il'), which distinguishes this composite tool from single-answer siblings like warranty_periods, limitation_period, or court_deadline.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the domain: an agent can infer this is for post-delivery defect disputes where periods and deadlines matter. There is no explicit when-to-use statement, no exclusions (e.g. when to use the simpler warranty_periods or limitation_period tools instead), and no note that defects must have been discovered after delivery.

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