Skip to main content
Glama
@cmssy/mcp-server

@cmssy/mcp-server

Official

Set company tax rounding

set_company_tax_rounding
Destructive

Set VAT rounding for net-price buyers of a company record to per_line, per_rate, or null to inherit the workspace default; applies only to new carts.

Instructions

Set how VAT is rounded for the net-price buyers of a company record: per_line or per_rate; null falls back to the workspace's companyTaxRounding (update_cart_config). Gross-price buyers and consumers are always rounded per_line. Applies to carts started after the change; existing carts and orders keep the method they were priced with. Refused for a record that is not a company (a model with the Company capability). Returns the record id with its priceDisplayMode and taxRoundingMethod.

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": {
      "recordId": "<recordId>",
      "method": "<method>"
    },
    "name": "set_company_tax_rounding"
  }
}

Input Schema

NameRequiredDescriptionDefault
methodYesper_line rounds VAT on each line, per_rate once per rate; null falls back to the workspace's companyTaxRounding
recordIdYesThe company record's id (a record of a model with the Company capability; a customer's company.id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.73.2

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only flag readOnlyHint=false and destructiveHint=true; the description goes further by disclosing blast radius (only carts started after the change, existing carts and orders keep their priced method), which buyers are unaffected (gross-price buyers and consumers always per_line), and the refusal condition. It does not explain why the operation is marked destructive or whether it can be reverted, which keeps it from a 5.

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?

Four sentences, each carrying distinct information — accepted values, fallback, scope of effect, refusal condition, return value — with the core action front-loaded and no filler.

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

Completeness5/5

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

For a 2-parameter mutation with no output schema, the description covers inputs, preconditions, effect timing, and the returned fields (record id, priceDisplayMode, taxRoundingMethod), leaving nothing an agent needs in order to call it correctly.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description still adds meaning by clarifying that method only governs net-price buyers and that null defers to the workspace companyTaxRounding, tying the parameter to a behavioral rule rather than restating the enum.

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 how VAT is rounded ... for a company record') and names the concrete values (per_line / per_rate), which distinguishes it from the many sibling set_company_* tools that touch other company fields.

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?

Gives clear preconditions (record must be a company with the Company capability; refused otherwise) and points at update_cart_config as the workspace-level counterpart for the null fallback. It stops short of an explicit 'use X instead when...' routing statement against set_company_price_display_mode or update_cart_config.

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