Skip to main content
Glama

ordercloud.costCenters.patch

Partially update a buyer's cost center by applying only specified fields, so you can change name, status, description, or extended properties without replacing the full record.

Instructions

Update a cost center (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": {
      "buyerId": "<buyerId>",
      "costCenterId": "<costCenterId>",
      "costCenter": "<costCenter>"
    },
    "name": "ordercloud.costCenters.patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
buyerIdYesThe buyer ID
costCenterYesPartial cost center object with fields to update
costCenterIdYesThe cost center ID to update

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and mostly fails to. The parenthetical "partial update" is the only behavioral signal, implying fields not supplied are left unchanged, but it says nothing about required permissions, whether nested objects are merged or replaced, reversibility, or error behavior on unknown fields.

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?

Five words with no padding, so nothing is wasted, but the brevity reflects under-specification rather than disciplined compression. There is no structure beyond the parenthetical qualifier.

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?

This is a mutation tool with a nested object parameter, zero annotations, and no output schema, so the description is the only source of behavioral context — and it supplies almost none. An agent cannot tell from it what merging behavior to expect for the nested costCenter object or what a successful response returns.

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 buyerId, costCenterId, and the nested costCenter object are already documented, making 3 the baseline. The description's only added meaning is "partial", which hints that only supplied fields in costCenter are applied — useful but minimal, and it does not clarify how the nested object's Name/Active/Description/xp merge semantics work.

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 description states a specific verb and resource ("Update a cost center") and adds that it is a partial update, which distinguishes it from a full replace and from ordercloud.costCenters.create/delete/get/list implied by the naming convention. It does not explicitly contrast with siblings, so it stops short of a 5.

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 guidance on when to use this instead of a full update or other cost center operations, no prerequisites (e.g., required buyer context or permissions), and no mention of alternatives. The agent must infer usage entirely from the tool name and schema.

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