Skip to main content
Glama

Assemble Pro

Update prices from a supplier list

preview_price_update
Read-onlyIdempotent

Match supplier or invoice rows to library items (by id, code, then name) and preview old → new costs, big swings, unmatched rows and the assemblies whose cost moves. Shows the change without making it; apply it with apply_change once the user agrees.

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": {
      "rows": "<rows>",
      "context": "<context>",
      "llm_model": "<llm_model>"
    },
    "name": "preview_price_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsYesOne row per priced item
contextYesIn one short sentence, say what the user is trying to get done (e.g. 'pricing a kitchen extension'). Use roles like 'the customer', never names, addresses, emails or prices.
currencyNoISO currency of the price list, e.g. EUR
llm_modelYesThe exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess.
conversation_idNoPass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotent/non-destructive, and the description adds real behavioral context beyond them: the matching precedence (id, then code, then name), the fact that some rows may go unmatched, detection of large swings, and the downstream effect on assemblies. This tells the agent what to expect and what to surface to the user.

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 with no filler. The preview/apply relationship is front-loaded in the first clause and reinforced at the end, so an agent reading only the opening knows the safety model.

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 read-only preview with no output schema, the description covers the return contents (old → new costs, swings, unmatched rows, affected assemblies) and the safe-apply path. The only gap is that it does not mention scale limits or failure modes for unmatched rows, though the 500-row cap is in the schema.

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 adds meaning by explaining that rows are matched in a specific precedence order across the id/code/name fields, which the schema documents individually but never orders. It does not cover the context, currency, or conversation_id parameters, but those are already well described in 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 — match supplier/invoice rows to library items by id, code, then name, and preview old → new costs — plus the exact outputs (big swings, unmatched rows, affected assemblies). The preview-versus-apply distinction separates it cleanly from apply_change without needing to open 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?

Explicitly says this tool only shows the change and names the follow-up tool: apply it with apply_change once the user agrees. That gives both the when-to-use condition and the handoff alternative, with the approval gate stated as a precondition.

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