Skip to main content
Glama
Prime MCP Server

Prime MCP Server

by MikahDev

prime_update_estimate_item

Update an estimate line item's quantity, price, category, tax, or notes while supplying the current version to prevent conflicting edits.

Instructions

Update an estimate line item. Requires version for optimistic locking.

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": {
      "item_id": "<item_id>",
      "version": "<version>"
    },
    "name": "prime_update_estimate_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNo
notesNo
item_idYesThe item ID to update
versionYesCurrent version for optimistic locking
quantityNo
tax_rateNo
trade_idNo
is_taxableNo
sort_orderNo
unit_priceNoCurrency amount
category_idNo
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the optimistic locking requirement, which is genuinely useful behavioral context beyond the schema. However, it does not say what happens on a stale version (conflict error?), whether this is a partial patch that leaves omitted fields untouched or a full replace, or what permissions are needed.

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 short sentences with the mutation and the locking precondition front-loaded. Nothing is wasted, though the second sentence could be folded in or expanded without harm.

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?

A 12-parameter mutation tool with no annotations and no output schema needs more: partial-update semantics, conflict behavior, and whether the updated item is returned are all unaddressed. The definition is too thin for the complexity of the call surface.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25% across 12 parameters, and the description adds meaning only for version. It says nothing about the other ten optional fields (quantity, unit_price, category_id, sort_order, etc.) or, critically, whether omitting them leaves existing values unchanged.

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 specific verb and resource ("Update an estimate line item"), which cleanly separates it from prime_add_estimate_item and prime_delete_estimate_item siblings. It does not name or contrast with any sibling explicitly, so it stops short of a 5.

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

Usage Guidelines2/5

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

No guidance on when to use this instead of the add/delete item tools or prime_update_estimate, and no note that the item must already exist. The only condition given is the version requirement, which is a parameter constraint rather than usage guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools