Skip to main content
Glama

Link Price-Book Row to Item

link_price_book_row_to_item
DestructiveIdempotent

Point one unmatched row of an item-priced price book at an item — the answer to a supplier SKU that matched nothing, or matched several items and so was left deliberately unresolved. The row becomes priceable immediately (and is switched back on if it had been skipped at activation). On a book that is already live this adds a rung to that item's ladder, so quotes pinned to it are flagged stale the same way any other price change would flag them. Row ids and the reason each is stuck come from evaluate_price_book.

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": {
      "bookId": "<bookId>",
      "rowId": "<rowId>",
      "itemId": "<itemId>"
    },
    "name": "link_price_book_row_to_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowIdYesThe unresolved row's id (GUID), as listed in the evaluation's unmatched queue.
bookIdYesThe price book id (GUID).
itemIdYesThe item (GUID) this row prices.

Output Schema

NameRequiredDescriptionDefault
okNo
rowIdNo
bookIdNo
itemIdNo
supplierSkuNo
remainingUnmatchedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

The annotations already declare the key profile (readOnlyHint=false, destructiveHint=true, idempotentHint=true), so the bar is lower, yet the description still contributes real behavioral context: the row becomes priceable immediately, skipped rows are switched back on, and on a live book quotes pinned to that item are flagged stale. It stops short of permissions, reversibility, or what happens on an already-linked row, so a 3 rather than a 5.

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 sentences, front-loaded with the action and its outcome, with no filler. The middle sentence's clause about quotes going stale is long but carries information an agent cannot get elsewhere, so density is justified rather than padded.

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?

An output schema exists, so return values need not be explained, and the description covers prerequisites (ids from evaluate_price_book), the input state it targets, and the downstream effect on quotes. Reasonably complete for a three-parameter mutation; only failure modes and reversibility are unaddressed.

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 description coverage is 100%, so all three GUIDs are already documented, including rowId's provenance from the evaluation's unmatched queue. The description reinforces the semantic relation (the item this row prices) but adds no format, constraint, or edge-case guidance beyond the schema, which is the expected baseline of 3.

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?

The description gives a precise verb and resource: point one unmatched row of an item-priced price book at an item. It goes further and characterizes the exact input state the tool consumes ('matched nothing, or matched several items and so was left deliberately unresolved'), which lets an agent distinguish this from unrelated row/price-book tools without opening a schema.

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?

It clearly states the situation that calls for this tool (an unresolved supplier-SKU row) and names evaluate_price_book as the source of the row ids and stuck reasons, so the workflow order is inferable. There is no explicit exclusion such as what to do if the row is already linked or the book is archived, which keeps it short of a 5.

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