Skip to main content
Glama
Calculatessqft MCP server

Calculatessqft MCP server

by Mustafa77-7

Read a feet-and-inches length

parse_length

Converts feet-and-inches or metric length inputs into decimal feet, inches, and meters for square-footage and home-project calculations.

Instructions

Turn a length like 12' 6 1/2" or 3.5 m into decimal feet, inches and meters.

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": {
      "length": "<length>"
    },
    "name": "parse_length"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNoUnit used for plain numbersft
lengthYesA length like 12' 6", 10ft 9in, 6 1/2, 3.5 m, or a number in "unit"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the useful behavioral fact that output is expressed in three units (decimal feet, inches, meters), which the schema does not reveal, but it says nothing about rounding/precision, error behavior on invalid input, or how the default unit applies.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with concrete examples and zero filler; the conversion target is stated immediately.

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 only two parameters, full schema coverage, and no output schema, the description does the important remaining work of stating the return units. It falls slightly short on precision/rounding and invalid-input behavior, which an agent may want to know before relying on the result.

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 100%, so the schema already documents both parameters and the unit enum. The description's examples add marginal value by showing accepted literal formats (foot-inch notation, bare fraction like 6 1/2, and metric with suffix), which hints at how bare numbers interact with the unit parameter, but it does not state that interaction directly.

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 states a specific transform (parse/convert) on a specific resource (a length) and names the output forms: decimal feet, inches, and meters. That distinguishes it from siblings such as convert_area or volume_cubic_yards, which handle different quantities, though no sibling is named explicitly.

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 implied by the examples of acceptable input formats, but there is no explicit statement of when to use this versus convert_area or the other measurement tools, and no mention of what happens with an unparseable or mixed-unit string.

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