Skip to main content
Glama
This connector has been deprecated

This connector has been replaced by https://glama.ai/mcp/connectors/io.phas/phasio

generateQuote

Read-onlyIdempotent

Price a part configuration on demand and return the price breakdown plus the pricing-equation variables that make up the price. Use for a part not yet ordered, or to test a change (different process/material/quantity, or override an input variable). Pass equationId to test a draft equation saved via save(entity=typescriptEquation); call once with and once without it to compare it against live. Purely a calculation — nothing is saved. To explain the price of an EXISTING order line, use explainPrice instead.

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": {
      "revisionId": "<revisionId>",
      "processId": "<processId>",
      "materialId": "<materialId>",
      "quantity": "<quantity>"
    },
    "name": "generateQuote"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitsNoMeasurement units: CENTIMETERS, MILLIMETERS, METRES, INCHES, FEET. Default MILLIMETERS.MILLIMETERS
colorIdNoOptional colour id.
currencyNoOptional quote currency (e.g. USD, GBP). Defaults to the operator's currency.
infillIdNoOptional infill id.
quantityYesNumber of parts to quote.
processIdYesprocessPrices UUID (query(entity="processPrices")).
variablesNoOptional overrides for pricing-equation input variables (name -> number). Changes the equation's inputs, never its formula.
equationIdNoOptional: price with this equation (a draft saved with save(entity=typescriptEquation)) instead of the live one. It must belong to processId or to one of postProcessingIds. Omit for the live price.
leadTimeIdNoOptional lead-time UUID.
materialIdYesMaterial id valid for the chosen process.
revisionIdYesPart revision UUID (query(entity="partRevision")).
precisionIdNoOptional precision id.
customerOrgIdNoOptional customer organisation id (for customer-specific pricing).
postProcessingIdsNoOptional post-processing ids.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed28 schema fields changed
    • addedInput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / properties / colorId / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / colorId / minimum
      Added value: +-9007199254740991
    • addedInput schema / properties / currency / enum
      Added value: +[
      +  "USD",
      +  "SGD",
      +  "EUR",
      +  "INR",
      +  "JPY",
      +  "AUD",
      +  "GBP",
      +  "NZD",
      +  "MYR",
      +  "CAD",
      +  "CHF",
      +  "DKK",
      +  "SEK",
      +  "MXN",
      +  "ZAR",
      +  "UAH",
      +  "NOK",
      +  "PHP",
      +  "TRY"
      +]
    • addedInput schema / properties / customerOrgId / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / customerOrgId / minimum
      Added value: +-9007199254740991
    • addedInput schema / properties / equationId / format
      Added value: +"uuid"
    • addedInput schema / properties / equationId / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
    • addedInput schema / properties / infillId / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / infillId / minimum
      Added value: +-9007199254740991
    • addedInput schema / properties / leadTimeId / format
      Added value: +"uuid"
    • addedInput schema / properties / leadTimeId / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
    • addedInput schema / properties / materialId / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / materialId / minimum
      Added value: +-9007199254740991
    • addedInput schema / properties / postProcessingIds / default
      Added value: +[]
    • addedInput schema / properties / postProcessingIds / items / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / postProcessingIds / items / minimum
      Added value: +-9007199254740991
    • addedInput schema / properties / precisionId / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / precisionId / minimum
      Added value: +-9007199254740991
    • addedInput schema / properties / processId / format
      Added value: +"uuid"
    • addedInput schema / properties / processId / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
    • addedInput schema / properties / quantity / exclusiveMinimum
      Added value: +0
    • addedInput schema / properties / quantity / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / revisionId / format
      Added value: +"uuid"
    • addedInput schema / properties / revisionId / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
    • addedInput schema / properties / units / default
      Added value: +"MILLIMETERS"
    • addedInput schema / properties / units / enum
      Added value: +[
      +  "CENTIMETERS",
      +  "MILLIMETERS",
      +  "METRES",
      +  "INCHES",
      +  "FEET"
      +]
    • addedInput schema / properties / variables / default
      Added value: +{}
  2. Changed1 schema field changed
    • changedInput schema / properties / equationId / description
      Previous value: -"Optional: price with this equation (a non-live version from save(entity=typescriptEquation)) instead of the live one. It must belong to processId or to one of postProcessingIds. Omit for the live price."New value: +"Optional: price with this equation (a draft saved with save(entity=typescriptEquation)) instead of the live one. It must belong to processId or to one of postProcessingIds. Omit for the live price."
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the description's 'Purely a calculation — nothing is saved' reinforces rather than carries the safety profile. It adds real behavioral context by describing the return payload and the constraint that equationId must belong to processId or one of postProcessingIds, though it says nothing about error or failure behavior for invalid combinations.

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?

Four sentences, front-loaded with purpose, then the draft-equation workflow, then the non-persistence note, then the sibling routing. Dense but without filler; the comparison instruction is slightly compressed and could be marginally tighter, but every sentence carries information an agent needs.

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 a 14-parameter tool with nested 'variables' and no output schema, the description covers what comes back (price breakdown plus underlying variables), what does not happen (nothing saved), and the main alternative. The remaining gap is failure modes and what a partial or invalid configuration returns, which is acceptable but not fully closed.

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 the baseline is 3; the description earns above baseline by explaining that equationId swaps in a draft equation saved via save(entity=typescriptEquation) and that 'variables' changes the equation's inputs 'never its formula'. Those two clarifications add semantics the schema description alone does not convey, though the other 12 parameters are left entirely to the schema.

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 ('Price a part configuration on demand') and immediately names the return payload ('price breakdown plus the pricing-equation variables'). It draws a hard boundary against the sibling explainPrice ('To explain the price of an EXISTING order line, use explainPrice instead'), so an agent can route without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use cases ('a part not yet ordered, or to test a change'), a concrete procedure for draft equations ('call once with and once without it to compare it against live'), and an explicit when-not with the named alternative. Almost nothing about selection is left to inference.

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