Skip to main content
Glama

Solasta Lighting estimates

Estimate from a roofline KML

estimate_from_kml
Read-onlyIdempotent

A tighter price range from the person's roofline KML (check it with check_kml first). Needs the ZIP code for the right dealer and sales tax.

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": {
      "kml": "<kml>",
      "postalCode": "<postalCode>"
    },
    "name": "estimate_from_kml"
  }
}

Input Schema

NameRequiredDescriptionDefault
kmlYesThe full text of the KML file (Google Earth export).
cityNo
stateNo
addOnsNoAdd-ons from list_products the person wants, with quantities.
dealerNoDealer slug from find_dealer. Leave out to use the dealer for the postal code.
streetNoThe street address ("123 Main St"), if the person gave it. Only fills in the quote form link.
postalCodeYes
productSkuNoRail product SKU from list_products. Leave out for the dealer's standard rail.
variantStockItemIdNoColor (variant) stockItemId from list_products, if the person picked one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered. The description adds useful behavior context: the KML must be validated first and the postal code drives dealer routing and tax. It says nothing about what happens with a malformed KML, how the 'tighter' range is derived, or what the result contains beyond a price range.

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 short sentences, zero filler, with the core output (tighter price range) and the prerequisite front-loaded. Every clause carries information the agent needs.

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 the return value ('a tighter price range') without saying what it contains or how it compares to the address-based estimate. For a 9-parameter pricing tool it leaves real gaps, though annotations and schema carry most of the load.

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?

With 67% schema coverage, the schema documents dealer, productSku, variantStockItemId, street, and addOns, so baseline is 3. The description adds meaning only for postalCode (dealer routing plus sales tax) and confirms the kml parameter is the person's roofline file. city, state, and addOns get no added explanation, so it does not compensate for the remaining 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: produce a 'tighter price range' from 'the person's roofline KML'. That input type implicitly separates it from estimate_from_address, and it names check_kml as the validation step. It stops short of explicitly saying 'use this instead of estimate_from_address when you have a KML', so it is clear but not fully sibling-differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a concrete prerequisite chain ('check it with check_kml first') and a hard input requirement ('Needs the ZIP code for the right dealer and sales tax'). The reason for the ZIP requirement is explained, which is more than most. No exclusion rules are given, e.g. what to do when no KML exists.

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