Skip to main content
Glama

Simple House Planner

Dining table size calculator

calculate_dining_table
Read-only

Use this when someone asks what size of dining table fits a room or how many people a table seats. Calculates dining tables in four shapes (rectangle, square, round, oval) for a number of people, with the smallest room for each at the minimum (36 in, 914 mm) and comfortable (44 in, 1118 mm) clearance from the table edge to the walls; or, from a room size, the table of each shape with the most seats that fits. Rules: 24 in (snug) or 30 in (comfortable) of table edge per person (Dimensions.com); width 36 in up to 8 people and 42 in for more; one person at each end of a rectangle or oval from 5 people; round diameter = people × edge per person ÷ π; clearances from NKBA Kitchen Planning Guideline 8.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "calculate_dining_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
endsNoSeat one person at each end of a rectangular or oval table that seats more than four. Default true.
roomNoThe dining room, for the largest table of each shape that fits.
seatsNoNumber of people at the table. Give seats or room, not both.
spaceNoTable edge per person: snug 24 in (610 mm), comfortable 30 in (762 mm). Default snug.
widthNoA fixed table width, also the smallest square side and round diameter; default 914 (36 in) for up to 8 people and 1067 (42 in) for more, in millimeters.
clearanceNoFrom the table edge to the walls: minimum 36 in (914 mm) to edge past seated guests, comfortable 44 in (1118 mm) to walk past them. Default minimum.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, destructiveHint false and openWorldHint false, so the safety profile is covered. The description adds real value by disclosing the underlying sizing rules and citing their sources (Dimensions.com, NKBA guideline 8), which lets an agent judge plausibility of results. It still does not say how results are returned or whether both modes can be combined in one call beyond the 'seats or room' hint.

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?

Single dense sentence with the trigger front-loaded, followed by a rules block that is compact and scannable. It is information-heavy but nearly every clause carries the unit conversions, defaults, or formulas an agent would otherwise have to guess.

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?

There is no output schema, and the description only loosely implies the return shape ('the smallest room for each', 'the table of each shape with the most seats that fits') without stating the structure or units of results. For a rule-based calculator with six optional parameters this is workable but leaves the agent guessing at output format.

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 100%, so baseline is 3, but the description goes further by explaining cross-parameter behavior: width scales from 36 in to 42 in past 8 people, ends applies only from 5 people on rectangles/ovals, and round diameter is derived from seats × edge ÷ π. These rules clarify how parameters interact in ways the flat schema cannot.

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 and resource ('calculates dining tables') and covers both directions of the calculation, plus the four supported shapes. An agent can distinguish it from calculate_rug_size or calculate_sofa_size purely from this text.

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 sentence gives a clear trigger ('when someone asks what size of dining table fits a room or how many people a table seats') and implicitly names the two input modes. It does not explicitly say when not to use it or name a sibling, but the sibling set is disjoint calculators so the risk of mis-routing is low.

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