Skip to main content
Glama

ordercloud.suppliers.patch

Partially update an OrderCloud supplier with JSON Merge Patch semantics to change only specified fields, such as name or active status, without replacing the full record.

Instructions

Partially update an OrderCloud supplier (JSON Merge Patch semantics)

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": {
      "supplierId": "<supplierId>",
      "patch": "<patch>"
    },
    "name": "ordercloud.suppliers.patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
patchYesFields to update, e.g. {"Name": "New Name", "Active": false}
supplierIdYesThe supplier ID to update

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A3.6/5.0
Behavior3/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. It does add real value by declaring JSON Merge Patch semantics, which tells an agent the patch is merged rather than replacing the resource. It says nothing about authentication requirements, behavior when the supplier does not exist, whether null fields are cleared, or what the call returns.

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?

A single short sentence with the key semantic qualifier in parentheses. No filler, and the operation and its patch model are front-loaded.

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

Completeness4/5

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

For a simple two-parameter mutation with fully described schema, the description covers the one non-obvious aspect: merge-patch merge behavior. Remaining gaps – error behavior for unknown supplierId and whether the updated resource is returned – are modest but real given there is no output schema and no annotations.

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%, so supplierId and the patch object are already documented with an example payload. The description adds only the interpretation rule for the patch object; it does not extend meaning beyond the schema for either parameter. Baseline 3 applies.

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 ('Partially update an OrderCloud supplier') and names the patch semantics used. It is distinguishable from the create/delete/get siblings by the word 'partially', though it never contrasts with a full-replace operation.

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 by 'Partially update' – an agent can infer it should be used when changing a subset of supplier fields. There is no explicit when-to-use statement and no named alternative for cases such as replacing the whole resource or creating a supplier.

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