Skip to main content
Glama

CleanQuote

calculate_quote

Calculate a residential cleaning estimate using a transparent formula: hours = max(1, round((baseHours + bedrooms0.25 + bathrooms0.35) * serviceMultiplier, 0.5)); cost = max(minimumFee, hours * hourlyRate); price = cost / (1 - margin) + add-ons. Returns the full breakdown plus the formula used so you can explain the number.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "calculate_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
addonsNoAdd-on service names, e.g. "Inside oven". Use get_addon_catalog to list valid names.
marginNoTarget profit margin in percent. Default 20.
serviceNoCleaning service type. Default: Regular Cleaning.
bedroomsNoNumber of bedrooms (0 = studio). Default 2.
homeSizeNosmall = under 1000 sq ft, medium = 1000-1999, large = 2000-2999, xlarge = 3000+. Default medium.
bathroomsNoNumber of bathrooms. Default 2.
hourlyRateNoYour team hourly rate in USD. Default 55.
minimumFeeNoYour minimum job fee in USD. Default 120.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does well on output shape ("returns the full breakdown plus the formula used") and discloses the computation, but it never states that this is a pure calculation with no side effects or persistence — an agent cannot tell whether the resulting quote is saved anywhere or must be stored by another tool.

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?

Two sentences, front-loaded with purpose and formula, with no filler. The formula is compressed into a single readable line and the return-value note is one clause.

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?

For an 8-parameter, no-output-schema tool this is nearly complete: defaults live in the schema and the return shape is described. The gap is that the formula introduces a `serviceMultiplier` term and a bare "+ add-ons" that are never defined, so the agent cannot fully explain how service type or add-on selection changes the price.

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 baseline is 3, but the description adds genuine meaning by showing how inputs combine (bedrooms*0.25, bathrooms*0.35, minimumFee floor, margin divisor). That lets an agent reason about sensitivity of the output to each parameter rather than just its type.

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 and resource ("Calculate a residential cleaning estimate") and immediately backs it with the exact pricing formula, so the agent knows precisely what it produces. It is unmistakable against siblings like analyze_quote_history and get_addon_catalog, which read history and list catalog items respectively.

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 name and purpose rather than stated: there is no explicit when-to-use or when-not-to-use guidance. The one routing hint is embedded in a parameter description (use get_addon_catalog to list valid add-on names), which is helpful but is schema-level, not description-level 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