Skip to main content
Glama

Headboard size calculator

headboard_size
Read-only

The headboard width for a bed size (2 to 4 inches wider than the mattress), the typical height above the mattress, the height from the floor, and whether the wall leaves room for nightstands beside it. 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": {
      "bed": "<bed>"
    },
    "name": "headboard_size"
  }
}

Input Schema

NameRequiredDescriptionDefault
bedYesBed size. Default queen.queen
topNoFloor to the top of the mattress in inches. Optional.
wallNoWidth of the wall behind the bed in feet. Optional: leave out to skip the nightstand check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this is a safe, closed-domain read, so the description's main added value is the disclosure that results are a designer rule of thumb rather than authoritative dimensions, plus the note that a source page is linked in the answer. It does not say how the nightstand check resolves when wall width is marginal, nor how outputs are formatted or rounded.

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 compact sentences with no filler, and the output list comes first. The opening sentence is a noun-phrase list rather than a lead verb, slightly slowing comprehension, but nothing is redundant.

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?

With no output schema, the description carries the burden of describing returns, and it does so by enumerating all four computed values, including the conditional nightstand verdict. Units for the two height values are left implicit (inches, matching the schema), which is a minor gap for a simple read-only calculator.

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 coverage is 100%, so the enum values, the queen default, and the 'leave out to skip the nightstand check' behavior for wall are already documented. The description adds only that headboard width is 2–4 inches wider than the mattress, which describes output rather than input meaning; baseline 3 applies.

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 the exact resource and enumerates the four outputs it produces (headboard width, height above mattress, height from floor, nightstand clearance), which clearly separates it from siblings like nightstand_size or bed-size tools. It lacks an explicit verb such as 'calculates', but the scope is unambiguous.

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

Usage Guidelines2/5

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

There is no statement of when to reach for this versus related sizing tools (e.g., nightstand_size for the companion check), and no prerequisites or exclusions. The phrase 'Gives the designer rule of thumb' hints it is a heuristic reference rather than a precise spec, but that is not framed as usage guidance.

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