Skip to main content
Glama

ordercloud.xp.get

Read extended properties (xp) from OrderCloud resources such as Products, Categories, Orders, Users, and Buyers by specifying the resource type and its identifiers.

Instructions

Read extended properties (xp) from any OrderCloud resource (Product, Category, Order, User, Buyer)

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": {
      "resourceType": "<resourceType>",
      "identifiers": "<identifiers>"
    },
    "name": "ordercloud.xp.get"
  }
}

Input Schema

NameRequiredDescriptionDefault
identifiersYesResource identifiers, e.g. {"productId": "abc"}
resourceTypeYesThe resource type

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 supplied, so the description carries the full burden, and it only implies read-only via the verb 'Read'. It says nothing about permissions/authorization needed, what is returned when a resource has no xp (empty object vs error), or behavior for unknown identifiers.

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; the parenthetical list is compact and relevant. It is arguably over-compressed, but nothing is wasted.

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

Completeness3/5

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

The tool is simple and its input schema is fully documented, but with no output schema the description should say what comes back (an xp key/value object) and how a missing/empty xp set is represented. That return-shape gap leaves it merely adequate.

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 coverage is 100%, with both parameters described in the schema (including the identifiers example), so the schema already does the heavy lifting. The description's resource-type list merely echoes the existing enum rather than adding format or constraint detail.

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 ('Read') and a specific resource ('extended properties (xp)') and scopes it to the enumerated OrderCloud resource types, which maps directly to the resourceType enum. It is clearly distinct from the write counterpart ordercloud.xp.patch, though it never names that sibling explicitly.

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 / when-not-to-use guidance and no mention of alternatives; an agent must infer from the verb 'Read' alone that mutation belongs to ordercloud.xp.patch. The resource-type list is scope, not usage guidance.

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