Skip to main content
Glama
Calculatessqft MCP server

Calculatessqft MCP server

by Mustafa77-7

Price per square foot

price_per_square_foot

Calculate price per square foot or square meter from a total price and an area in square feet to compare property or project costs.

Instructions

Price per square foot (and per square meter) from a total price and an area in square feet.

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": {
      "total_price": "<total_price>",
      "area_sqft": "<area_sqft>"
    },
    "name": "price_per_square_foot"
  }
}

Input Schema

NameRequiredDescriptionDefault
area_sqftYes
total_priceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations and no output schema, the description carries the full burden. It helpfully discloses that the output includes both price per square foot and price per square meter and that the input area is in square feet, but it does not specify return structure, rounding, precision, or currency assumptions.

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?

The description is a single efficient sentence with the core computation and unit conversion front-loaded. There is no superfluous wording.

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?

For a simple two-parameter calculator, the description is adequate to understand the intended inputs and rough output. However, without annotations or an output schema, it should ideally clarify the exact return values and precision to be fully complete.

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%, so the description must compensate. It names both parameters and clarifies that area_sqft is in square feet, but it does not explain total_price semantics beyond the obvious or restate the schema constraints on nonnegative and strictly positive values.

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 computation: derive price per square foot and per square meter from total price and area in square feet. It is clear without opening the schema, though it does not explicitly differentiate itself from siblings such as square_footage or convert_area.

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 stated formula: use this when a total price and an area in square feet are available and a unit price is needed. There is no explicit when-to-use, when-not, or alternative-tool guidance.

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