Skip to main content
Glama

Price Book Grid

get_price_book_grid
Read-only

A bounded page of a price book's pricing surface: its spec attribute schema (which cost-driver attributes key the grid) and quantity breaks (each row carries its own isActive flag): spec key, minimum quantity, unit cost, flat setup cost. Returns totalBreaks and hasMore; request the next page with offset + breaks.length. Defaults to 100 rows and never returns more than 200, so large grids stay below MCP tool-result limits.

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": "get_price_book_grid"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows to return (default 100, max 200).
bookIdYesThe price book id (GUID).
offsetNoZero-based row offset (default 0).

Output Schema

NameRequiredDescriptionDefault
okNo
bookNo
limitNo
breaksNo
offsetNo
hasMoreNo
nextOffsetNo
totalBreaksNo
returnedBreaksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and closed-world, so safety is covered. The description adds real behavioral context beyond that: default 100 rows, hard cap of 200, totalBreaks/hasMore signaling, and the caveat that each break row carries its own isActive flag.

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?

A single dense but well-ordered sentence: page semantics first, then row contents, then pagination mechanics, then size limits. Every clause carries information; nothing is padding.

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, three-parameter paginated tool with an output schema, this covers paging, sizing, and the per-row isActive nuance. What remains thin is guidance on when to choose this read over the neighbouring break-editing tools.

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, but the description adds meaning the schema lacks: the relationship between offset and breaks.length for paging, and the rationale for the limit ceiling (staying below MCP tool-result limits). bookId itself is left to the schema, which is acceptable.

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?

States a concrete resource and scope: 'a bounded page of a price book's pricing surface' with spec attribute schema and quantity breaks, plus the row fields returned. It is clear what the tool retrieves, though it does not explicitly contrast itself with the mutation siblings (append/replace_price_book_breaks) it complements.

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

Usage Guidelines3/5

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

Pagination usage is spelled out ('request the next page with offset + breaks.length'), but there is no when-to-use framing relative to alternatives such as replace_price_book_breaks or evaluate_price_book. The read-only inspection role is only implied by the content 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