Skip to main content
Glama

Field Service Business Platform by Doing Work

pricebook_saveItem

Add a price book item, or change one when item_id is given (owner or office). Items are a pick list for quote lines that workers write; they are never filled into a quote automatically.

Input Schema

NameRequiredDescriptionDefault
kindNotask: a flat rate task that bundles labor and parts at one price
nameNo
unitNoeach, hour, foot, and so on
partsNoTasks only: the price book materials the task uses, for costing. Never shown as a price and never taken from stock on its own.
item_idNo
shop_idYes
taxableNo
categoryNoCategory name; made if new
task_codeNoTasks only: the shop's code, like AC-CAP. Unique in the shop. Empty string clears it.
cost_minorNoWhat it costs the shop, in cents. Never shown to customers.
descriptionNo
est_minutesNoTasks only: estimated labor minutes, for costing
warranty_noteNoShown to the customer with the task, like 1 year parts and labor. Empty string clears it.
markup_percentNoInstead of unit_price_minor: price = cost times (1 + markup/100), rounded to the cent
unit_price_minorNoPrice to the customer, in cents
member_price_minorNoTasks only: price for customers on an active maintenance plan, in cents. Not above the price. null clears it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure. It adds meaningful context: this is an upsert-style save, scoped to owner or office, and does not automatically populate quotes. However, it does not describe permissions, reversibility, partial-update behavior, or side effects such as category creation.

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 two efficient sentences with the core action and update condition front-loaded. Every sentence adds useful context without repetition or filler.

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

Completeness2/5

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

This is a 16-parameter mutation tool with no annotations and no output schema. The description gives the basic save/update condition and item purpose, but it does not cover permissions, response behavior, or important side effects for tasks, categories, and pricing fields. For this complexity, it leaves significant contextual gaps.

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 moderate at 69%, so the schema already documents many parameters. The description adds useful meaning for item_id by indicating it switches the operation from add to change. Most other parameter semantics, such as parts, task_code, cost, markup, and member pricing, are left to the schema.

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?

The description states a specific verb and resource: add or change a price book item. It also clarifies the conditional update path via item_id. It does not explicitly differentiate from siblings such as pricebook_archiveItem or pricebook_taskCost, but the save/upsert purpose is still clear.

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 explicitly says to add when no item_id is given and to change when item_id is present. It also gives useful context that items are a pick list for quote lines and are never auto-filled. No alternative sibling tool is named, but the core usage condition is clear.

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