Skip to main content
Glama

Check physical fit

check_fit
Read-onlyIdempotent

Will this appliance physically fit this space? Compares dimensions plus typical installation clearances and required connections (power, water, gas).

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": {
      "opening": "<opening>"
    },
    "name": "check_fit"
  }
}

Input Schema

NameRequiredDescriptionDefault
hasNoConnections available at the location.
needsNoConnections the product needs, e.g. '120V, water line' or '240V'.
openingYesWidth, height and depth of the space it goes into. Any subset is accepted; missing axes come back as 'missing'.
productNoWhat's being installed, e.g. '36-inch French-door refrigerator'. Used to pick typical clearances.
categoryNo
product_dimensionsNoWidth, height and depth of the product (from its spec sheet). Any subset is accepted; missing axes come back as 'missing'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "candidates": {
      -      "description": "Present when the text matched several models: each option with its own verdict.",
      -      "type": "object"
      -    },
      -    "caveats": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "check_id": {
      -      "type": "string"
      -    },
      -    "checks": {
      -      "items": {
      -        "properties": {
      -          "detail": {
      -            "type": "string"
      -          },
      -          "ok": {
      -            "type": [
      -              "boolean",
      -              "null"
      -            ]
      -          },
      -          "rule": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "conditions": {
      -      "description": "What must be true for a conditional answer (accessory, dependency).",
      -      "items": {
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "confidence": {
      -      "description": "Evidence score from fixed rules (source tier, rule strength). Not a calibrated probability: act on decision, conditions and questions.",
      -      "maximum": 1,
      -      "minimum": 0,
      -      "type": "number"
      -    },
      -    "constraints": {
      -      "items": {
      -        "properties": {
      -          "name": {
      -            "type": "string"
      -          },
      -          "value": {}
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "decision": {
      -      "description": "supported | conditional | incompatible | insufficient_evidence. Act on this, not on confidence alone.",
      -      "enum": [
      -        "supported",
      -        "conditional",
      -        "incompatible",
      -        "insufficient_evidence"
      -      ],
      -      "type": "string"
      -    },
      -    "decision_help": {
      -      "type": "string"
      -    },
      -    "evidence": {
      -      "items": {
      -        "properties": {
      -          "text": {
      -            "type": "string"
      -          },
      -          "type": {
      -            "type": "string"
      -          },
      -          "url": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "fit": {
      -      "type": [
      -        "boolean",
      -        "null"
      -      ]
      -    },
      -    "missing": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "next_step": {
      -      "type": "string"
      -    },
      -    "notice": {
      -      "type": "string"
      -    },
      -    "questions": {
      -      "description": "Exactly what to ask, measure or look up next. blocking=true means no decision until answered.",
      -      "items": {
      -        "properties": {
      -          "answer_with": {
      -            "type": "string"
      -          },
      -          "ask": {
      -            "type": "string"
      -          },
      -          "blocking": {
      -            "type": "boolean"
      -          },
      -          "id": {
      -            "type": "string"
      -          },
      -          "options": {
      -            "items": {
      -              "type": "object"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "receipt": {
      -      "description": "Signed receipt (EdDSA JWS) proving Tethered Trust issued this verdict unaltered. Not a guarantee the verdict is correct.",
      -      "properties": {
      -        "id": {
      -          "type": "string"
      -        },
      -        "jws": {
      -          "type": "string"
      -        },
      -        "url": {
      -          "type": "string"
      -        },
      -        "valid_until": {
      -          "type": "string"
      -        }
      -      },
      -      "type": [
      -        "object",
      -        "null"
      -      ]
      -    },
      -    "required_accessories": {
      -      "items": {
      -        "properties": {
      -          "name": {
      -            "type": "string"
      -          },
      -          "why": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "requirements": {
      -      "type": "object"
      -    },
      -    "summary": {
      -      "type": "string"
      -    },
      -    "terms": {
      -      "type": "string"
      -    },
      -    "valid_until": {
      -      "description": "When this answer should be re-checked (based on how fresh its sources are).",
      -      "type": "string"
      -    },
      -    "verdict": {
      -      "enum": [
      -        "compatible",
      -        "compatible_with_caveats",
      -        "incompatible",
      -        "uncertain",
      -        "needs_detail"
      -      ],
      -      "type": "string"
      -    },
      -    "verified": {
      -      "description": "True only when every spec came from a manufacturer source with a recorded check date.",
      -      "type": "boolean"
      -    }
      -  },
      -  "required": [
      -    "check_id",
      -    "verdict",
      -    "decision",
      -    "confidence",
      -    "summary"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. First observed

TDQS

A3.5/5.0
Behavior3/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 genuinely useful behavioral detail that this is a heuristic comparison against 'typical' clearances rather than exact manufacturer specs, but it never says what the result looks like (pass/fail/marginal reasoning) — a real gap since there is no output schema.

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, front-loaded with the decision the tool supports and followed by the comparison inputs. Nothing redundant; it could be marginally tighter by folding the parenthetical into a single clause, but the structure is clean.

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

Completeness3/5

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

For a six-parameter tool with nested dimension objects and no output schema, the description explains the inputs' purpose but leaves the return contract entirely unspecified beyond the schema's mention that missing axes come back as 'missing'. An agent would not know whether it receives a boolean, a margin in inches, or per-axis verdicts before calling.

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 already 83%, so the baseline is 3. The description earns a bump by explaining the connection side of the check ('power, water, gas'), which clarifies the intent behind the loosely described `has`/`needs` pair, and by tying clearances to the product so the agent understands why `product`/`category` matter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific judgement ('will this appliance physically fit this space') and enumerates the three things it compares: dimensions, typical installation clearances, and required connections (power, water, gas). That is enough to separate it from identify_product or check_recalls, though it never explicitly distinguishes itself from the close sibling check_compatibility.

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?

The framing question ('Will this appliance physically fit this space?') implies the usage context — pre-purchase fit verification against an opening — but there is no explicit when-to-use/when-not language and no named alternative. With a sibling literally called check_compatibility, an agent must guess which of the two handles dimensional fit versus electrical/operational compatibility.

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