Skip to main content
Glama

set_order_point

Set an article's order point and optional max stock at its stock point, using -1 for non-stocked items ordered when sold; separate from the article's Lagervarning field.

Instructions

Set 'Beställningspunkt' (order point) and max stock on the server's stock point. -1 = not stocked, order when sold. (This is not the article's StockWarning/'Lagervarning' field.)

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>",
      "order_point": "<order_point>"
    },
    "name": "set_order_point"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
max_stockNo
order_pointYes
article_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/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 behavioral burden. It does disclose a meaningful sentinel semantic ('-1 = not stocked, order when sold'), which tells the agent the field drives reordering behavior. However, it omits permissions, reversibility, whether changing the order point triggers reordering, and what the dry_run mode actually does.

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 tight sentences, with the core action front-loaded and the disambiguating parenthetical at the end. Dense but every clause carries information; no filler.

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?

Given a mutation tool with no annotations, no output schema, and zero schema description coverage, the definition covers the most important semantic (order-point sentinel) but is not sufficient on its own for a safe mutation call. Dry-run behavior and max_stock semantics are the notable gaps.

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 0% across 4 parameters, so the description must compensate. It explains order_point via the -1 sentinel and mentions max_stock only in passing, leaving max_stock's null default, dry_run's meaning, and article_number's format entirely undocumented.

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: sets 'Beställningspunkt' (order point) and max stock on the server's stock point. It also explicitly excludes a confusable target (the article's StockWarning/'Lagervarning' field), which sharpens the purpose. It does not name a sibling alternative, keeping it 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 Guidelines3/5

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

Usage is implied rather than stated: the parenthetical tells the agent this is NOT the Lagervarning field, which is negative disambiguation rather than a when-to-use rule. There is no explicit guidance on prerequisites, when to prefer another tool, or how it relates to the many order-related siblings.

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