Skip to main content
Glama
Prime MCP Server

Prime MCP Server

by MikahDev

prime_add_estimate_item

Add a line item to an estimate by specifying quantity, unit price, and description, with optional category, notes, and tax settings.

Instructions

Add a line item to an estimate. Specify quantity, unit price, description, and optional category.

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": {
      "estimate_id": "<estimate_id>",
      "description": "<description>",
      "unit_price": "<unit_price>"
    },
    "name": "prime_add_estimate_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNoUnit of measure
notesNoItem notes
quantityNoQuantity
tax_rateNoTax rate percentage
trade_idNoTrade type ID
is_taxableNoWhether item is taxable
sort_orderNoSort order for display
unit_priceYesPrice per unit
category_idNoThe category ID this item belongs to
descriptionYesItem description
estimate_idYesThe estimate ID this item belongs to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. 'Add' implies mutation but the description never states side effects such as estimate total recalculation, required permissions, whether the item is returned, or idempotency behavior.

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 core action front-loaded and no padding. The second sentence largely repeats schema-documented fields, which slightly reduces its value but costs little space.

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?

For an 11-parameter mutation tool with no annotations and no output schema, the description is thin. It omits which parameters are required (estimate_id, description, unit_price), the meaning of tax/trade fields, and what the call returns.

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 defines all 11 parameters. The description only echoes four of them (quantity, unit price, description, category) and adds no format or constraint detail beyond the schema, so the baseline of 3 applies.

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 gives a specific verb and resource ('Add a line item to an estimate'), which is clearly distinct from the update/delete/item siblings. It does not explicitly name an alternative, but the operation is unambiguous.

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?

There is no guidance on when to use this versus prime_update_estimate_item or prime_create_estimate, and no stated prerequisites such as the estimate needing to exist. The only usage hint is a restatement of fields to supply.

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