Skip to main content
Glama

List Price Lists

list_price_lists
Read-only

List the tenant's customer price lists, as the Price lists page does: name, code, status (Draft, Active or Archived), validity window (validFrom through validUntil, tenant-local days, both included), whether it prices today, whether its prices are net (no discount taken off), how it prices unlisted items, whether it is the tenant default, and its active line and assignment counts. Filter by status or a name/code search. With priceList (id or code) it also returns that list's assignments and one page of its lines (linesLimit default 100, max 500). To see what a customer pays, call resolve_customer_price. Requires an operator (unpinned) credential and a User.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_price_lists"
  }
}

Input Schema

NameRequiredDescriptionDefault
searchNoOptional case-insensitive substring of the name or code.
statusNoOptional status filter: draft, active or archived.
priceListNoOptional price list id (GUID) or code: add its assignments and a page of its lines.
linesLimitNoWith priceList: lines per page (default 100, max 500).
linesOffsetNoWith priceList: zero-based line offset (default 0).
includeInactiveLinesNoWith priceList: true also returns inactive lines.

Output Schema

NameRequiredDescriptionDefault
linesNo
todayNo
totalNo
linesLimitNo
priceListsNo
totalLinesNo
assignmentsNo
linesOffsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the readOnlyHint annotation, the description discloses an important operational prerequisite — an operator (unpinned) credential and a User — plus concrete paging behavior for embedded lines (default 100, max 500). It omits discussion of rate limits or how large tenants are handled, but the auth requirement is a substantial addition.

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 description is one dense paragraph that front-loads what is listed, then filters, then the priceList expansion, then the alternative tool and credential requirement. Every clause adds information; nothing is redundant with the schema or annotations.

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 an output schema exists, the description does not need to explain return shapes in detail, yet it still summarizes the key returned attributes. Combined with the credential note and paging rules, an agent has everything needed to call it correctly.

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 already 100%, so a baseline of 3 applies. The description adds useful semantics on top: priceList accepts an id or code and, when supplied, also returns assignments plus one page of lines, and it clarifies that the validity window uses tenant-local days with both endpoints included.

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 opens with a specific verb and resource ('List the tenant's customer price lists') and enumerates exactly what is returned: name, code, status, validity window, net pricing, default flag, and line/assignment counts. It is clearly distinguishable from the supplier price book siblings, which are not mentioned here but operate on a different resource type.

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 gives clear usage context, including how to filter (status, name/code search) and an explicit alternative: 'To see what a customer pays, call resolve_customer_price.' It does not explicitly state when not to use it or contrast it with list_supplier_price_books, but the intended use is unambiguous.

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