Skip to main content
Glama

Nightstand size calculator

nightstand_size
Read-only

How tall a nightstand should be for a mattress (level with its top to 2 inches above; 3 inches either way still works), the typical width for the bed size, depth, the gap to leave, and the widest one that fits beside the bed on a given wall. Gives the designer rule of thumb; the page linked in the answer shows the sources.

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": {
      "top": "<top>"
    },
    "name": "nightstand_size"
  }
}

Input Schema

NameRequiredDescriptionDefault
bedNoBed size. Default queen.queen
topYesFloor to the top of the mattress, topper included, in inches.
wallNoWidth of the wall behind the bed, in feet. Optional: leave it out to skip the side-space check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds that results are a designer rule of thumb with a sources page linked in the answer, which tells the agent the output is advisory and sourced rather than a definitive computation. The tolerance detail ('level with its top to 2 inches above; 3 inches either way still works') further characterizes the result's precision.

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?

A single dense sentence, front-loaded with the primary height calculation and then enumerating secondary outputs. It is efficient and waste-free, though the parenthetical tolerance clause and trailing sources note slightly interrupt the scan.

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?

There is no output schema, and the description compensates by enumerating every returned value (height, width, depth, gap, max fitting width) plus the rule-of-thumb nature of the answer. Only the exact shape of the sources link and how the optional wall parameter affects output when omitted are left implicit, both already partly covered by the schema.

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 the baseline is 3, but the description adds meaning about what each input drives: height is derived from the mattress top, width from the bed size, and the wall value enables the side-space fit check ('the widest one that fits beside the bed on a given wall'). That clarifies the consequence of each parameter beyond the schema's field-level text.

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 concrete verb-and-resource: computes recommended nightstand height relative to mattress top, typical width for a given bed size, depth, wall gap, and the widest nightstand that fits a wall. The enumerated outputs make it unmistakably distinct from sibling size calculators such as rug_size or sofa_size.

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 — the tool is a rule-of-thumb calculator, and the description notes it 'gives the designer rule of thumb' rather than specifying when to prefer it over another tool. No exclusions, prerequisites, or alternatives are named, but none are obviously needed given the sibling set.

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