Skip to main content
Glama

ordercloud.specs.patch

Update an OrderCloud spec partially by supplying the spec ID and only the fields to change. Modify name, description, required status, default value, or ordering settings.

Instructions

Update an OrderCloud spec (partial update)

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": {
      "specId": "<specId>",
      "spec": "<spec>"
    },
    "name": "ordercloud.specs.patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYesPartial spec object with fields to update
specIdYesThe spec ID to update

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

C2.5/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 it largely does not: nothing about whether omitted fields are preserved or cleared, whether the operation is reversible, what permissions are needed, or what errors occur for an unknown specId. The single useful disclosure is that the update is partial, which is already the semantic implied by 'patch' in the name.

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?

The phrase is front-loaded and contains no filler, but for a nested-object mutation it is under-sized rather than concise — one parenthetical is the entire body. Appropriate brevity here would still require one sentence on partial-update semantics.

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?

The tool has a nested spec object with seven updatable fields, no annotations, and no output schema, so the description is the only place PATCH semantics could be explained. The critical question for a partial update — whether an omitted field is left untouched or reset — is unanswered, leaving the definition incomplete for its complexity.

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% and the nested spec object documents each of its seven fields with types and a description, so the schema does the heavy lifting. The description adds only the word 'partial', providing no syntax or nested-object guidance beyond what the schema already states ('Partial spec object with fields to update'). Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a verb ('Update') and resource ('OrderCloud spec') and parenthetically clarifies the mutation is partial, which distinguishes it from the sibling create/delete/get/list tools. However, it is a bare phrase with no scope detail, and an agent must infer that 'spec' means a product spec rather than a specification document. Minimum viable, not differentiating beyond verb+resource.

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?

No guidance on when to use patch versus ordercloud.specs.create, nor any prerequisites such as required roles or the need for an existing specId. The word 'partial' implies the alternative is a full replacement, but the agent is left to infer this rather than being told.

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