Skip to main content
Glama

Fits Space

fits_space

Check if a toom article fits a car load area, doorway, or shelf from its dimensions and free space in cm. Returns fits true, false, or unclear when dimensions are unknown, plus weight.

Instructions

Does an article fit into a space (a car's load area, a doorway, a shelf)? Uses the dimensions toom states.

Give the free space in cm. Without max_depth_cm that axis is treated as unlimited. The answer is fits true only if it fits however unknown dimensions turn out, false only if it cannot fit whatever they are, otherwise null ("unklar"): a dimension toom does not state is never guessed. Dimensions are those of the article as listed (for a door: the leaf, not the wall opening, and without frame or packaging); leave margin. The weight is returned for your own judgement.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skuYes
marketNo
max_depth_cmNo
max_width_cmYes
max_height_cmYes
allow_rotationNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does so well: it discloses the trivalent return semantics (true only if it fits under every possible unknown, false only if it can never fit, otherwise null/'unklar'), states that unstated dimensions are never guessed, and specifies which dimensions are measured (door leaf, excluding frame/packaging). The main omission is any note on required authorization or market scoping.

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, followed by the interpretive rules an agent actually needs. Sentences are dense but each carries a distinct rule (axis treatment, trivalent logic, dimension convention, margin/weight). Framing headers like 'Give the free space in cm' add slight verbosity without much cost.

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?

An output schema exists, yet the description still explains the return semantics (fits tri-state plus weight), which is genuinely helpful rather than redundant. Together with the dimension conventions and depth-axis rule, the definition is nearly complete for invocation; only allow_rotation and market scoping remain unexplained.

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 0% across 6 parameters, so the description must compensate and only partially does: it establishes the cm unit for all dimension inputs, explains that omitting max_depth_cm treats that axis as unlimited, and clarifies which physical dimensions of the article are meant. However, allow_rotation (which materially changes fit results and defaults to true) and market are never addressed.

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+resource combination — determining whether an article (identified by SKU) fits a given space — and illustrates the resource with concrete contexts (car load area, doorway, shelf). No sibling tool (search_products, compare_articles, find_article_nearby, delivery_info) overlaps this purpose, so an agent can route unambiguously.

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?

The opening parenthetical supplies clear usage contexts (car's load area, doorway, shelf), and the instruction to 'leave margin' plus the note that weight is returned 'for your own judgement' tells the agent how to act on the result. There is no explicit when-not guidance or named alternative, but for a single-purpose geometric check this is adequate context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.