Skip to main content
Glama

List price-book items

list_items
Read-onlyIdempotent

Items in the price book — the ids order lines take — with each one's own list price and cost, trade, and whether it is stocked. The list price is BEFORE any price rule: quote_prices says what a particular customer would actually pay.

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_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoName, description or trade.
typeNo
limitNoMaximum rows to return (1-200, default 50).
offsetNoRows to skip, for paging.
entity_idNoAnother entity in the same books (ids from `list_entities`). Leave out to use the entity the person is working in.

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the result was truncated, when it was.
countYesHow many rows are in `results`.
resultsYesThe rows.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuine domain semantics beyond that: list price is pre-price-rule, which prevents an agent from treating this as a quote. Pagination and returned shape are left to the schema and output schema.

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?

Two sentences, with the resource and its fields front-loaded and the disambiguation in the second. The middle clause ('with each one's own list price and cost, trade, and whether it is stocked') is slightly dense and ungrammatical, but nothing is wasted.

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?

With rich annotations, an output schema, no required parameters and 80% schema coverage, the description only needs to establish what the rows are and the one trap (list price is not a quoted price) — both are covered. Only the entity-scoping behavior for callers in multi-entity books goes unmentioned, and the schema already carries that.

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 80%, so the schema already documents q, limit, offset and entity_id, and the description adds no syntax or format detail for any of them. The one piece of added meaning, that 'list price' is pre-rule, concerns the output rather than the inputs, so the baseline 3 applies.

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?

Names the specific resource (price-book items), states what the rows carry (list price, cost, trade, stocked flag) and why the ids matter (order lines take them), and explicitly separates it from quote_prices, which reports what a customer actually pays. An agent can distinguish it from the sibling without opening 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 Guidelines4/5

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

The pricing contrast functions as routing guidance: use this for list prices, use `quote_prices` when the customer-specific price is what matters. It stops short of an explicit 'use X instead when' instruction or any exclusion, so it is clear context rather than fully enumerated when/when-not rules.

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