Skip to main content
Glama
Shopify MCP Server

Shopify MCP Server

by morsimohsen

add_order_note

Add or update a note on a Shopify order using its order ID and note text, so store staff can record context or internal follow-up details.

Instructions

Add or update an order note

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": {
      "id": "<id>",
      "note": "<note>"
    },
    "name": "add_order_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesOrder ID
noteYesNote text

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 behavioral burden and does not meet it. 'Add or update' leaves the key mutation semantics undefined: with only an order id and note text in the schema, it is unclear how an existing note is identified, whether the call appends or replaces text, and whether it is idempotent. Nothing is said about permissions or return behavior for this write operation.

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?

Six words, front-loaded with the verb and resource, with no filler. It is efficient but borders on under-specification rather than being trimmed to essentials.

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 mutation tool with no annotations and no output schema, the description should explain overwrite/append behavior and any permission expectations. Neither is present, leaving the most consequential aspect of the call — how existing note content is affected — 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 100%, with both 'id' and 'note' documented inline, so the baseline of 3 applies. The description adds no meaning beyond the schema, such as whether 'note' is plain text, a full replacement body, or subject to length limits.

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 pair and resource: 'Add or update an order note'. It is clear this tool writes note text onto an order, which distinguishes it implicitly from update_order (order fields) and get_order (read). It stops short of naming any sibling or scoping the operation further.

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 when-to-use guidance, no prerequisites, and no mention of alternatives for reading or managing notes. An agent must infer entirely from the name when this tool is appropriate versus update_order.

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