Skip to main content
Glama

ordercloud.addresses.patch

Partially updates a buyer or supplier address by applying only the supplied field changes, so you can correct address details without replacing the full record.

Instructions

Partially update an address on a Buyer or Supplier

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": {
      "entityType": "<entityType>",
      "entityId": "<entityId>",
      "addressId": "<addressId>",
      "patch": "<patch>"
    },
    "name": "ordercloud.addresses.patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
patchYesFields to update, e.g. {"Street1": "New Street", "City": "New City"}
userIdNoFor buyer addresses, optionally specify user ID
entityIdYesThe buyer or supplier ID
addressIdYesThe address ID to update
entityTypeYesType of entity the address belongs to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.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 provided, so the description carries the full behavioral burden. "Partially update" usefully signals merge semantics rather than replacement, but nothing is said about required permissions, what happens to omitted fields, whether the response returns the updated address, or failure behavior for an unknown addressId.

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?

A single front-loaded sentence with no filler. It is efficient, though the same brevity is part of why behavioral context is missing.

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 no annotations, no output schema, and a nested free-form patch object — the riskiest shape in the set. The description should say what the patch does to existing fields, what permissions are needed, and what is returned; none of that is present.

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 every parameter is already documented, including the patch example and the optional userId. The description only restates the entityType enum as "Buyer or Supplier" and adds no new semantics, so the baseline of 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?

The description gives a specific verb ("Partially update") and resource ("an address") plus the entity scope ("on a Buyer or Supplier"), which separates it from addresses.create/delete/get in the sibling list. It stops short of naming an alternative, but the operation is unambiguous.

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 choose this over a full update, over updating the parent entity (e.g. ordercloud.buyers.patch), or over creating a new address. No preconditions, no note about which address IDs are valid for which entity type.

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