Skip to main content
Glama

Create public Wave product

wave_create_product

Create a Wave product with an exact decimal string unit price and optional income or expense account IDs to set sold or bought intent. Write access is audited and denied by default.

Instructions

Creates a product with exact decimal string price. Sold/bought intent uses income/expense account IDs, never invented boolean mutation fields. Explicit null account clearing is passed as provider input, not a proven live flag guarantee. Denied by default; audit awaited.

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": {
      "name": "<name>",
      "unitPrice": "<unitPrice>"
    },
    "name": "wave_create_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
unitPriceYes
businessIdNo
descriptionNo
incomeAccountIdNo
expenseAccountIdNo
defaultSalesTaxIdsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=true, so safety basics are covered elsewhere. The description adds meaningful behavioral context with "Denied by default" and "audit awaited," signaling the write may be rejected and that results are audited, but frames it so vaguely that an agent cannot tell whether a denial is a policy gate or an error. Note that "Explicit null account clearing is passed as provider input, not a proven live flag guarantee" is a candid caveat about unverified semantics.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loads the create action, which is good, but sentences like "never invented boolean mutation fields" and "not a proven live flag guarantee" read as meta-commentary about a prior failure mode rather than usable instruction. Density is high but signal-to-noise is mixed.

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 a 7-parameter, non-idempotent, open-world write with no output schema and zero schema coverage, the description should cover the unaddressed parameters and what a successful or denied creation returns. It omits businessId scoping, defaultSalesTaxIds, and response shape, and leaves "Denied by default" ambiguous as to whether required permissions exist.

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% across 7 parameters, so the description carries the explanatory burden and only partly meets it. It clarifies unitPrice formatting (exact decimal string) and the semantics of incomeAccountId/expenseAccountId including null-clearing, but businessId, description, and defaultSalesTaxIds are never explained, leaving 4 of 7 parameters undiscussed.

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 first sentence names a specific verb and resource ("Creates a product") plus the salient constraint that price is an exact decimal string, which distinguishes it from list/get/update siblings. The core purpose is identifiable, though the remaining sentences drift into implementation rationale rather than scope.

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?

The description gives real usage rules for sold/bought intent (use income/expense account IDs rather than boolean fields) and for null account handling, which an agent needs at call time. It never states when to use this instead of wave_update_product, wave_create_invoice, or the list/get tools, so sibling routing is left to inference.

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