Skip to main content
Glama

set_price

Sets the sales price (company currency, ex VAT) for an article on a chosen or default Fortnox price list, creating a price row when none exists.

Instructions

Set the sales price (company currency, ex VAT) on a price list (default: the server's price list, FORTNOX_PRICE_LIST). Creates the price row if the article has none on that list.

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": {
      "article_number": "<article_number>",
      "price": "<price>"
    },
    "name": "set_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
priceYes
dry_runNo
price_listNo
article_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.7/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 and does disclose genuinely useful behavior: prices are interpreted in company currency and ex VAT, and a missing row is created rather than failing. It omits other behavior an agent needs for a mutation call – whether an existing price is overwritten, what permissions or failure modes apply, and what the dry_run flag does.

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 tight sentences, front-loaded with the action and unit semantics before the default-value and upsert details. Every clause adds information an agent could not get from the empty schema and missing annotations.

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

Completeness3/5

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

There are no annotations and no output schema, and half the parameters are required, so the description needs to do more work. It covers unit semantics and upsert behavior well but leaves the dry_run preview path and return/error behavior entirely undocumented.

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 0%, so the description must compensate, and it does for three of four parameters: price gets units and tax basis, price_list gets a concrete default string, and article_number is implicitly tied to the article whose price is set. The dry_run boolean, an important behavioral flag, receives no explanation anywhere, leaving real value on the table.

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 verb and resource (set the sales price on a price list) and immediately qualifies it with the unit semantics (company currency, ex VAT) and the default list name FORTNOX_PRICE_LIST. It also discloses the write mode is an upsert ("Creates the price row if the article has none on that list"), which separates it cleanly from the read-oriented sibling get_price.

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

Usage Guidelines3/5

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

Usage is only implied: an agent infers it should call this when it needs to write a price, and the default price-list behavior is spelled out. There is no explicit when-not guidance, no mention of how it relates to get_price for verification, and no stated preconditions such as whether the article must already exist.

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