Skip to main content
Glama

Integration Status

get_integration_status
Read-only

Check one provider's connection state (shopify | amazon | qbo | xero | zoho_books | etsy): connected/active plus, for Shopify, the latest pre-connect order-backfill run when one exists. For QBO, includes both purchase and sales history backfill status and surfaces authentication failures. salesHistory (and, for QBO, purchaseHistory) says what has landed so far: ordersImported, firstOrderDate/lastOrderDate (account-local days) and importState (running | needs_review | completed | failed; null when no import run exists). Report those numbers, and while importState is running move on to the next source instead of waiting. Poll this after handing the start_integration_connect URL to a human. Requires an operator (unpinned) org token.

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": {
      "provider": "<provider>"
    },
    "name": "get_integration_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
providerYesshopify | amazon | qbo | xero | zoho_books | etsy

Output Schema

NameRequiredDescriptionDefault
isActiveNo
providerNo
connectedNo
connectedAtNo
salesHistoryNo
salesBackfillNo
purchaseHistoryNo
purchaseBackfillNo
authenticationStatusNo
shopifyOrderBackfillNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/non-destructive/non-open-world, yet the description adds real behavioral context beyond them: the operator (unpinned) org token requirement, that authentication failures are surfaced, and that the tool is a poll target after a human completes a connect flow. The importState vocabulary (running | needs_review | completed | failed, null when no run exists) further clarifies what state means.

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 the verb and provider set, then ordered from connection state to import fields to polling guidance. Dense but nearly every clause carries operational weight; the provider list is duplicated from the schema and the long parentheticals slow scanning slightly.

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 what an agent needs: which provider values are valid, what differs per provider, what the import fields mean, when to call it relative to the connect tool, how to behave while an import runs, and the auth prerequisite. With an output schema present, the field-level explanation is more than sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With a single parameter at 100% schema coverage, the schema already carries the provider enumeration, so the description's repetition of the list is redundant. It does add meaning by explaining that the provider value changes the response shape (Shopify-only backfill, QBO-only purchaseHistory), which the schema does not convey.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Check one provider's connection state" is a specific verb+resource, and the description enumerates the exact provider set and the provider-specific variations (Shopify backfill run, QBO purchase and sales history). An agent can distinguish this from start_integration_connect and other status getters without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

"Poll this after handing the start_integration_connect URL to a human" explicitly names the alternative tool and the sequencing condition that selects this one. It also gives a non-obvious operational rule: while importState is running, move on to the next source rather than waiting.

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