Skip to main content
Glama

Carpenterwala

Calculate Service Cost & Wastage Estimate

calculate_service_estimate

Calculates instant estimates for painting square footage & paint liters, dripping tap water loss (litres & rupees), or home appliance electrical bill wastage in Bangalore.

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": {
      "calculatorType": "<calculatorType>",
      "params": "<params>"
    },
    "name": "calculate_service_estimate"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYesParameters for the calculator: - For paint_cost: { flatType: "1bhk"|"2bhk"|"3bhk"|"custom", carpetAreaSqFt: number, paintQuality: "economy"|"premium"|"luxury" } - For water_wastage: { drippingTaps: number, dripRate: "slow"|"medium"|"fast" } - For electricity_bill: { appliances: [{ name: "fan"|"ac"|"geyser"|"refrigerator", hoursPerDay: number, count: number }] }
calculatorTypeYesThe calculator type to run.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The only annotation is a title, so the description carries the full behavioral burden. "Calculates instant estimates" plus the fact that only numeric inputs are accepted strongly implies a side-effect-free computation, but it never explicitly says no booking is created and no data is persisted — a meaningful gap given siblings like book_service_job. The locale constraint (Bangalore) and the rupee-denominated outputs are genuine additions beyond the annotations.

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 front-loaded sentence with the verb first and the three modes enumerated in parallel. The parenthetical unit annotations (litres & rupees) earn their place, though the sentence is dense enough that a short second clause on output shape would have been more useful than the inline parentheses.

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 gestures at return values through unit mentions (square footage, litres, rupees) without saying what fields come back or what assumptions the estimate makes. For a three-mode calculator with nested object parameters, that leaves the agent guessing about the response shape even though input semantics are fully covered.

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% and the schema already documents the nested params for all three calculator types, so the baseline of 3 applies. The description restates the three modes in business language (square footage, litres, rupees) but adds no format, unit, or default guidance beyond what the schema supplies.

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 ("Calculates") plus the exact three outputs it produces — paint square footage/liters, dripping-tap water loss in litres and rupees, and appliance electricity wastage — which map one-to-one onto the calculatorType enum. An agent can tell this is a pure estimation tool, distinct from the booking, warranty, and rate-card siblings, without opening the schema.

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?

The word "instant estimates" implies the tool is for quick pre-purchase/pre-booking calculations, and the Bangalore locale scoping is a useful usage constraint. However, it never states when NOT to use it or which sibling to pick instead — notably get_service_rate_card for actual pricing or book_service_job once the estimate is accepted.

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.