Skip to main content
Glama

Connect Integration

start_integration_connect
Destructive

Generate the provider authorization URL that starts connecting an integration (providers: shopify — requires shopUrl, amazon, qbo, xero, zoho_books, etsy). IMPORTANT: you cannot complete the connection yourself — hand the returned URL to a human Spark admin to open in their browser, then poll get_integration_status until connected. No secrets or tokens ever pass through this tool. Requires an operator (unpinned) org token.

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": "start_integration_connect"
  }
}

Input Schema

NameRequiredDescriptionDefault
shopUrlNoShopify only (required there): the myshopify.com store domain, e.g. 'my-store.myshopify.com'.
providerNoshopify | amazon | qbo | xero | zoho_books | etsy
environmentNoQBO only (optional): 'production' (default) or 'sandbox'.

Output Schema

NameRequiredDescriptionDefault
providerNo
instructionsNo
authorizationUrlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Adds real context beyond the annotations: an auth requirement ("operator (unpinned) org token"), a human-in-the-loop constraint, and a security guarantee that no secrets or tokens pass through the tool. It does not, however, reconcile the destructiveHint=true flag or explain that repeated calls produce fresh non-idempotent URLs, so a small gap remains.

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 action and output, then the critical use constraint, then the security/auth notes. Every sentence carries information, though the stacked parenthetical provider list inside the first sentence slightly clutters an otherwise tight structure.

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?

For a three-parameter, output-schema-backed connector, the description covers what it returns, who must act on it, the follow-up tool to call, and the credential prerequisites. Nothing an agent needs to invoke it correctly is missing, since return-value shape is covered by the output schema.

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 coverage is 100%, so provider, shopUrl, and environment are already fully documented, including the Shopify-required shopUrl and QBO-only environment semantics. The description's parenthetical largely restates the schema's provider list and its shopUrl requirement rather than adding new meaning, so the baseline of 3 applies.

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?

States a specific verb and output ("Generate the provider authorization URL") plus the resource and scope (connecting an integration, with an enumerated provider list). It is clearly distinguishable from the sibling start_* tools and explicitly names get_integration_status as the downstream step.

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?

Gives explicit sequencing: call this, hand the returned URL to a human Spark admin, then poll get_integration_status until connected. It also states what the tool cannot do ("you cannot complete the connection yourself"), which removes the most likely misuse.

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