Skip to main content
Glama

Washawash

calculate_laundry_quote

Read-onlyIdempotent

Calculate an estimate in integer cents. Quantity uses hundredths. Not a reservation or payment.

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": {
      "zip": "<zip>",
      "service_id": "<service_id>",
      "quantity": "<quantity>"
    },
    "name": "calculate_laundry_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipYes
optionsNo
quantityYesHundredths of a pound for pound pricing; whole bag count times 100 for bag pricing; 100 for fixed pricing.
service_idYes

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered structurally. The description adds the useful clarifier that the result is a side-effect-free estimate and that the unit is integer cents, but says nothing about rounding, fees, tax, or expiration of the quote.

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?

Three short sentences, front-loaded with the core action and output unit, and the negative scoping comes last where it belongs. The 'Quantity uses hundredths' sentence partially duplicates the schema's quantity description, which is the only minor waste.

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?

An output schema exists and annotations are rich, so return shape and safety need not be restated. For a four-parameter pricing tool the remaining gap is provenance — how to obtain service_id/options and whether zip affects pricing — which the description never addresses.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25% — quantity is documented in-schema, while zip, service_id and options are bare. The description reinforces the quantity unit ('hundredths') but adds no meaning for the opaque 32-hex service_id, the options array, or the zip requirement, so it fails to compensate for the coverage gap.

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?

States a specific verb and resource ('Calculate an estimate' for a laundry quote) and pins the output unit ('integer cents'), which is more precise than the tool name alone. It does not distinguish itself from pricing-adjacent siblings such as get_pricing or get_estimated_turnaround, so an agent must still infer the boundary.

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?

'Not a reservation or payment' excludes the ordering/checkout siblings (confirm_order, create_order_draft), which is genuine when-not guidance. However, there is no positive statement of when to call this versus get_pricing, and no prerequisite noted (e.g. that service_id comes from get_services).

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