Skip to main content
Glama

ordercloud.spendingAccounts.list

Retrieve OrderCloud spending accounts for a buyer using pagination, keyword search, field-level filters, and sorting to support admin reporting.

Instructions

List OrderCloud spending accounts with filtering, pagination, and sorting

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>"
    },
    "name": "ordercloud.spendingAccounts.list"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-based)
searchNoKeyword search across spending account fields
sortByNoSort field, prefix with ! for descending
buyerIdYesThe buyer ID
filtersNoField-level filters
pageSizeNoItems per page (max 100)

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?

No annotations are supplied, so the description carries the burden; it communicates a non-destructive read that supports paging and sorting. It omits permission/auth requirements, default page size, maximum result behavior, and anything about the response shape. For a straightforward list operation this is acceptable but thin.

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?

A single front-loaded sentence with no filler; the resource and its capabilities appear immediately and 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 a simple filtered list with all six parameters documented in the schema and no output schema, so the description need not explain return values. Still, it leaves unaddressed what a spending account is and whether buyerId scoping restricts results, which an agent might want before invoking.

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%, with each parameter self-documented including the max-100 page size and the '!' descending sort convention. The description only restates the capability categories and adds no meaning beyond the schema, so the baseline 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 uses a specific verb and resource ('List OrderCloud spending accounts') and names the supported capabilities (filtering, pagination, sorting). It is clearly a collection-read operation, which implicitly separates it from the create/delete/patch/get siblings. It stops short of explicitly routing the agent away from any named alternative.

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?

Usage is only implied: the agent can infer this is the tool for enumerating spending accounts under a buyer, and the mention of filtering/sorting hints at how to narrow results. There is no explicit statement of when to prefer this over other tools, nor any prerequisite or exclusion 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