Skip to main content
Glama

ordercloud.spendingAccounts.get

Fetches a single OrderCloud spending account using buyer and spending account IDs to support balance, limit, or account-status checks.

Instructions

Get a single OrderCloud spending account by ID

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

Input Schema

NameRequiredDescriptionDefault
buyerIdYesThe buyer ID
spendingAccountIdYesThe spending account ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.2/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 of behavioral disclosure, and it discloses almost nothing beyond the operation name. It does not indicate what happens if the ID is unknown (e.g., 404 behavior), what permissions or buyer scoping are required, or what fields the returned record contains. For a read-only tool with zero annotation coverage this is a substantial gap, though the read nature is at least implied.

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?

It is a single front-loaded sentence with no filler or redundancy — nothing could be trimmed without losing meaning. Brevity here is not a flaw in structure, though the space saved is not reinvested in any useful detail.

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 simple two-parameter read with a fully documented schema and no output schema, the definition covers the essentials of what to call and with which IDs. It stops short of anything an agent might need for edge cases — missing-record behavior, buyer scoping semantics, or what the response shape looks like — leaving it minimally viable rather than complete.

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% for both parameters (buyerId, spendingAccountId), so the schema already supplies their meaning. The description only echoes that lookup is by ID and adds no format, scoping, or validation detail beyond the schema — 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 states a specific verb+resource combination ("Get a single OrderCloud spending account") with the lookup key (ID), which is unambiguous on its own. It does not explicitly distinguish itself from sibling ordercloud.spendingAccounts.list, though "single ... by ID" implicitly contrasts with a list operation.

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?

The phrase "by ID" implies the tool is for fetching one known account rather than enumerating, which weakly suggests when to use it over the list sibling. There is no explicit when-to-use condition, no mention of prerequisites (buyer scoping, permissions), and no named alternative.

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