Skip to main content
Glama

ordercloud.orders.getWorksheet

Retrieves the complete worksheet for an OrderCloud order, including line items, promotions, and payments, so you can review the full order state before fulfillment or auditing.

Instructions

Get the full order worksheet (order + line items + promotions + payments) for an OrderCloud order

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": {
      "direction": "<direction>",
      "orderId": "<orderId>"
    },
    "name": "ordercloud.orders.getWorksheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderIdYesThe order ID
directionYesOrder direction

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden. It does valuable work by naming the four resource types that get aggregated, which hints at a heavier composite read than a single-order fetch, but it says nothing about permission requirements, cost/latency, or whether any data is trimmed.

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?

One sentence, zero filler, and the payload enumeration is front-loaded so the agent learns what it gets before anything else. Nothing here could be cut without losing information.

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?

For a two-parameter read with no output schema, the description partially compensates by describing the aggregate contents of the response. It is still missing the guidance that would matter most: how this differs operationally from ordercloud.orders.get and whether direction changes the shape of the result.

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 both parameters (orderId, direction enum) are already documented in the schema. The description adds no meaning beyond that — in particular it never explains what Incoming vs Outgoing direction implies for the worksheet contents. Baseline 3 applies when the schema does the heavy lifting.

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 ('Get') and resource ('full order worksheet') and enumerates the payload contents (order + line items + promotions + payments), which implicitly distinguishes it from the plain ordercloud.orders.get sibling. It stops short of naming that sibling, so an agent must infer the distinction from the parenthetical rather than being told outright.

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?

There is no explicit when-to-use or when-not-to-use statement, no mention of the lighter ordercloud.orders.get alternative, and no prerequisites or caveats. Usage is only implied by the phrase 'full order worksheet', which suggests reaching for this when the aggregate view is needed.

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