Skip to main content
Glama

Evaluate Price Book

evaluate_price_book
Read-only

Evaluate an imported price book: what drives its pricing, each attribute's confirmed canonical field/option bindings and deterministic suggestions, the shape of the grid, how many of the supplier's items could be priced today, and exactly what still blocks activation. Read-only — it reports, it never repairs. Call this after pushing a grid and before mapping or activating; the blockers it returns are the same ones activate_price_book enforces.

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>"
    },
    "name": "evaluate_price_book"
  }
}

Input Schema

NameRequiredDescriptionDefault
bookIdYesThe price book id (GUID).

Output Schema

NameRequiredDescriptionDefault
codeNo
gridNo
kindNo
nameNo
bookIdNo
statusNo
clientIdNo
currencyNo
skuMatchNo
warningsNo
attributesNo
supplierIdNo
canActivateNo
itemCoverageNo
supplierNameNo
activationNoteNo
activationBlockersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

The description adds substantial behavioral context beyond the read-only annotations: it reports rather than repairs, lists the categories of information surfaced, and explains that its blockers match those enforced at activation. This informs the agent about the tool's role and consequences without contradicting the safety annotations.

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?

The definition is front-loaded with the core purpose, then adds behavioral and usage guidance in compact sentences. Every clause contributes relevant information, and there is no redundant or filler wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the output schema exists, the description need not detail return values, but it still summarizes the report's contents and emphasizes the read-only nature. It covers when to call the tool and how its blockers relate to activation, making it complete for correct invocation.

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?

The input schema fully documents the single required bookId parameter as a GUID. The description does not add syntax or meaning beyond the schema, so a baseline score of 3 is appropriate given 100% schema description coverage.

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 states a specific verb and resource ('Evaluate an imported price book') and enumerates the exact outputs: pricing drivers, canonical bindings, suggestions, grid shape, priceable item count, and activation blockers. It clearly differentiates from mapping and activating tools by stating it only reports and never repairs.

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?

It gives explicit timing ('Call this after pushing a grid and before mapping or activating') and names the relationship to activate_price_book, noting that the blockers returned are the same ones activation enforces. This tells the agent exactly when to use it and how it relates to adjacent steps.

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