Skip to main content
Glama

Client Onboarding Status

get_client_onboarding_status
Read-only

Read one 3PL client's onboarding/feed status — use it to verify a publisher is wired up and its feed is flowing (after create_client + inventory/order pushes). Returns the client's config (name, code, management mode, feed source + cadence/staleness windows), readiness signals (itemCount, sourcingProfileCount, activeTokenCount, lastTokenUsedAt), and feed freshness rolled up plus per external warehouse (last inventory/sales-order sync times + counts, last error, fresh/stale/very_stale state; a never-synced feed reads very_stale). An OPERATOR (unpinned) token must pass clientId (any client in the tenant). A client-PINNED token reads only its OWN client: omit clientId to get it, or pass it — passing a different client is refused. 3PL tenants only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_client_onboarding_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
clientIdNoThe client id (GUID). Required for an operator token; optional for a client-pinned token (defaults to its own client, and any other id is refused).

Output Schema

NameRequiredDescriptionDefault
okNo
codeNo
nameNo
feedsNo
clientIdNo
isActiveNo
itemCountNo
isEntitledNo
managementModeNo
lastTokenUsedAtNo
activeTokenCountNo
externalFeedSourceNo
lastInventorySyncAtNo
lastSalesOrderSyncAtNo
sourcingProfileCountNo
externalFeedExpectedCadenceHoursNo
externalFeedStalenessThresholdHoursNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well past the readOnly/openWorld annotations: it discloses the two token modes (operator vs client-pinned), the refusal behavior when a pinned token passes a foreign clientId, the 3PL-only restriction, and the semantic edge case that a never-synced feed reports 'very_stale'. These are exactly the behavioral facts an agent needs before calling.

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?

Front-loaded with purpose and intended use, then return shape, then authorization rules — a sensible order. The return-value sentence is dense with field names (itemCount, activeTokenCount, lastTokenUsedAt) that the output schema likely already documents, which is the one wasteful element.

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

Completeness5/5

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

Covers purpose, prerequisites, auth modes, tenant restriction, edge-case semantics, and return categories, with an output schema available for exact shapes. Nothing material an agent needs to call this successfully is missing.

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% and the single parameter's schema text already explains the operator/pinned distinction and refusal behavior. The description mostly restates that, adding only the minor detail that an operator token may pass any client in the tenant.

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 opening clause gives a specific verb and resource ('Read one 3PL client's onboarding/feed status') and bounds the scope to a single client in a 3PL tenant. It also signals the rollup-plus-per-warehouse shape that separates it from per-feed readers like get_external_feed_status, 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States a clear use case ('verify a publisher is wired up and its feed is flowing') and even the lifecycle position ('after create_client + inventory/order pushes'). It stops short of explicit when-not guidance or naming an alternative tool to prefer instead.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources