Skip to main content
Glama

Price lines from the catalogue

lines_resolve
Read-onlyIdempotent

Turn a list of sku or role lines into invoice_create-ready and quote_create-ready items priced from the catalogue as of each line's date. An unknown code is refused by name and never priced. Free.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoThe day the whole list is priced as of, YYYY-MM-DD. Default today
tierNoPrice tier for every line. Default standard
linesYesThe lines to price, each a sku with a quantity or a role with hours
clientNoClient name or id, copied into both payloads. invoice_create and quote_create both need one
currencyNoThe currency for every line. Defaults to the shared business profile's
tax_rateNoVAT percent for lines whose SKU carries no rate of its own, overriding the shared profile

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, idempotentHint=true, destructiveHint=false. The description adds concrete behavioral details beyond annotations: it transforms lines into invoice/quote-ready items, prices from catalogue, refuses unknown codes by name without pricing them, and states the operation is free. These are useful runtime behaviors not encoded in 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?

Two sentences, front-loaded with the main action, and every sentence adds value. It says what the tool transforms, what it produces, the pricing basis, unknown-code refusal, and cost.

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 rich input schema (100% parameter coverage) and the annotations (readOnly, idempotent, non-destructive), the description is complete enough: it explains the purpose, the refusal behavior, and cost. No output schema is needed because the tool feeds well-known invoice_create/quote_create flows.

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 the schema already documents each parameter fully. The description's added value is the overall orchestration (making lines invoice/quote-ready from catalogue pricing) rather than per-parameter semantics, so the baseline 3 is appropriate.

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?

States a specific transformation verb ('Turn a list of sku or role lines into invoice_create-ready and quote_create-ready items priced... from the catalogue as of each line's date') and clearly differentiates from siblings like sku_list, rate_get, and price_list_pdf. It also highlights a key behavioral guarantee (unknown code is refused by name and never priced).

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 description specifies what to use the tool for (build invoice/quote lines) and provides context like 'as of each line's date' and 'free', but doesn't explicitly name alternatives to avoid or state when not to use it. The sibling list is broad, so an explicit 'when not to use' would have been stronger.

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.