Skip to main content
Glama

Order price

get_order_price
Read-only

One price for a quantity: parts from the sellers, the board and assembly from the chosen provider's quote, setup fees, and what the total does not include.

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": {
      "design_id": "<design_id>"
    },
    "name": "get_order_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
boardsNoQuantity (default 1).
providerNoProvider id from list_order_providers, e.g. "jlcpcb".
design_idYesThe design id returned by create_design or list_designs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties / design_id / pattern
      Removed value: -"^[A-Za-z0-9_-]{8,80}$"
    • removedInput schema / properties / provider / maxLength
      Removed value: -40
  2. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint true, destructiveHint false) and external dependency (openWorldHint true), so the bar is lower. The description still adds real context: the total is assembled from multiple seller and provider sources and includes setup fees, and it explicitly flags that the result states 'what the total does not include' — a useful disclosure about the limits of the number returned.

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 sentence with no filler, and the core concept (one price for a quantity) is front-loaded. The colon-list construction reads as a fragment rather than a complete statement, which slightly hurts scannability, but nothing is wasted.

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?

With only three fully documented parameters and no output schema, the description needs to convey what comes back. It implies a cost breakdown with exclusions, but does not indicate the response structure, currency handling, or whether prices are live quotes or cached estimates — a meaningful gap for an open-world pricing call.

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 coverage is 100%, so each parameter is already documented. The description only loosely maps its clauses to parameters ('for a quantity' to boards, 'the chosen provider's quote' to provider) and adds no format or constraint detail beyond the schema. Baseline 3 is appropriate.

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?

The description names a concrete output — a single price for a given quantity — and decomposes it into parts, board, assembly, and setup fees. That is specific enough for an agent to know this is a cost-estimation tool rather than a generic 'get' call. It does not explicitly distinguish itself from nearby siblings, but the resource (price) is unambiguous.

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

Usage Guidelines2/5

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

There is no statement of when to call this versus alternatives, and no prerequisites are mentioned. The agent has to infer that this is a pre-order quote step (e.g., before send_order_to_provider) and that provider should come from list_order_providers, which is only visible in the schema, not the description.

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