Skip to main content
Glama

Connect a data source

get_connect_links
Read-onlyIdempotent

A link per data source that connects it to this brand, or reconnects one that is failing, plus whether it is connected already. Use when the user asks to connect or reconnect a store, ad account or email platform, or when get_data_status shows a source missing or in error. Pass source to get one link. The link opens Nuira, where the user approves access on the provider's own screen — nothing is connected by calling this.

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_connect_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / source / enum
      Previous value: -[
      -  "shopify",
      -  "meta",
      -  "google",
      -  "klaviyo",
      -  "google_analytics",
      -  "google_merchant",
      -  "prestashop",
      -  "odoo",
      -  "gorgias",
      -  "mirakl",
      -  "tiktok",
      -  "channable",
      -  "openai_ads",
      -  "nuira_pixel"
      -]New value: +[
      +  "shopify",
      +  "meta",
      +  "google",
      +  "klaviyo",
      +  "google_analytics",
      +  "google_merchant",
      +  "prestashop",
      +  "odoo",
      +  "gorgias",
      +  "mirakl",
      +  "tiktok",
      +  "channable",
      +  "openai_ads",
      +  "nuira_pixel",
      +  "search_console"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / source / enum
      Previous value: -[
      -  "shopify",
      -  "meta",
      -  "google",
      -  "klaviyo",
      -  "google_analytics",
      -  "google_merchant",
      -  "prestashop",
      -  "odoo",
      -  "gorgias",
      -  "mirakl",
      -  "tiktok",
      -  "channable",
      -  "openai_ads"
      -]New value: +[
      +  "shopify",
      +  "meta",
      +  "google",
      +  "klaviyo",
      +  "google_analytics",
      +  "google_merchant",
      +  "prestashop",
      +  "odoo",
      +  "gorgias",
      +  "mirakl",
      +  "tiktok",
      +  "channable",
      +  "openai_ads",
      +  "nuira_pixel"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / source / enum
      Previous value: -[
      -  "shopify",
      -  "meta",
      -  "google",
      -  "klaviyo",
      -  "google_analytics",
      -  "google_merchant",
      -  "prestashop",
      -  "odoo",
      -  "gorgias",
      -  "mirakl",
      -  "tiktok",
      -  "channable"
      -]New value: +[
      +  "shopify",
      +  "meta",
      +  "google",
      +  "klaviyo",
      +  "google_analytics",
      +  "google_merchant",
      +  "prestashop",
      +  "odoo",
      +  "gorgias",
      +  "mirakl",
      +  "tiktok",
      +  "channable",
      +  "openai_ads"
      +]
  4. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses the crucial behavioral fact that the link hands off to Nuira and the provider's own consent screen, so calling this tool connects nothing by itself. This prevents an agent from reporting a source as connected — context the annotations cannot convey. Only link expiry or one-time-use semantics are unstated.

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?

Four sentences, each doing work, with the hand-off caveat placed last as a punchline. The opening sentence is slightly tangled ('A link per data source that connects it to this brand, or reconnects one that is failing, plus whether it is connected already'), which costs a little readability but no content.

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

Completeness4/5

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

For a one-parameter tool with no output schema, the description covers return shape (link plus connected status), triggers, and the consent hand-off. Missing only secondary operational details such as link lifetime or what to tell the user if the link is stale.

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?

Schema coverage is 0%, so the description must carry the meaning, and it does: 'Pass source to get one link' explains optionality and the difference between one link versus the full per-source set. The enum itself supplies the valid values, so the remaining gap is minor.

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?

The description states a specific resource and outcome: a per-source connect/reconnect link plus a connected-already indicator, scoped to 'this brand'. It also distinguishes the tool from get_data_status by naming the latter as a trigger rather than a substitute.

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?

It gives explicit trigger conditions ('user asks to connect or reconnect a store, ad account or email platform') and a second, concrete entry point ('when get_data_status shows a source missing or in error'). It also explains the narrowing behavior of the optional source parameter, so the agent knows when to pass it and when to omit it.

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