Skip to main content
Glama

Get Digital Connector

getDigitalConnector
Read-onlyIdempotent

Get one saved connector by id: name, type, targetRef and its connection settings, as in listDigitalConnectors. Use when: a digital test config names a connectorId and you want to say which bot it reaches. Read-only. Needs digital:read. Returns 404 if the connector is not in your workspace.

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": {
      "id": "<id>"
    },
    "name": "getDigitalConnector"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / allOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "config": {
      -        "additionalProperties": true,
      -        "description": "The target object minus `transport`. Validated against the schema for\n`type` — see `GET /digital-testing/connector-types` for the fields each\ntype accepts.\n",
      -        "type": "object"
      -      },
      -      "description": {
      -        "maxLength": 2000,
      -        "type": "string"
      -      },
      -      "name": {
      -        "maxLength": 200,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "targetRef": {
      -        "description": "Immutable after creation — the stable key compliance reports aggregate\non. Renaming a connector must never split its report history.\n",
      -        "maxLength": 200,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "type": {
      -        "description": "Immutable after creation — determines every field in `config`.",
      -        "enum": [
      -          "web-widget",
      -          "connect-chat",
      -          "http-json"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "createdAt": {
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "id": {
      -        "format": "uuid",
      -        "type": "string"
      -      },
      -      "typeUpdatedAt": {
      -        "description": "Derived range key (`{type}#{updatedAt}`). Never accepted from a caller.",
      -        "type": "string"
      -      },
      -      "updatedAt": {
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "userId": {
      -        "type": "string"
      -      },
      -      "workspaceId": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "workspaceId",
      -      "type",
      -      "targetRef",
      -      "config",
      -      "typeUpdatedAt",
      -      "createdAt",
      -      "updatedAt"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "config": {
      +        "additionalProperties": true,
      +        "description": "The target object minus `transport`. Validated against the schema for\n`type` — see `GET /digital-testing/connector-types` for the fields each\ntype accepts.\n",
      +        "type": "object"
      +      },
      +      "description": {
      +        "maxLength": 2000,
      +        "type": "string"
      +      },
      +      "name": {
      +        "maxLength": 200,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "targetRef": {
      +        "description": "Immutable after creation — the stable key compliance reports aggregate\non. Renaming a connector must never split its report history.\n",
      +        "maxLength": 200,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "type": {
      +        "description": "Immutable after creation — determines every field in `config`.",
      +        "enum": [
      +          "web-widget",
      +          "connect-chat",
      +          "http-json",
      +          "lex-v2",
      +          "direct-line"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "createdAt": {
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "id": {
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "typeUpdatedAt": {
      +        "description": "Derived range key (`{type}#{updatedAt}`). Never accepted from a caller.",
      +        "type": "string"
      +      },
      +      "updatedAt": {
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "userId": {
      +        "type": "string"
      +      },
      +      "workspaceId": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "workspaceId",
      +      "type",
      +      "targetRef",
      +      "config",
      +      "typeUpdatedAt",
      +      "createdAt",
      +      "updatedAt"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description still adds genuinely new behavior: the required digital:read scope, workspace scoping, and a 404 when the connector is not in your workspace. That error and auth detail is exactly what an agent needs to interpret or recover from a call.

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-loads the verb, resource, and return fields, then moves through use case, safety, auth, and error behavior in compact sentences with no filler. The mid-sentence reference to listDigitalConnectors is slightly awkward but earns its place by establishing the sibling relationship.

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 one-parameter, read-only getter with an output schema and full annotation coverage, the description covers everything an agent needs: what it returns, when to reach for it, the required scope, and the not-found case. No meaningful gap remains that the structured fields don't already handle.

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?

The single `id` parameter has 0% schema description coverage, but the description only reinforces that it identifies a saved connector — the same information a caller infers from a one-param get-by-id schema. The mention of a connectorId appearing in digital test configs adds some meaning about where the value comes from, but no format or validation detail beyond the schema's uuid note.

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 resource ("Get one saved connector by `id`") and enumerates the returned fields (name, type, targetRef, connection settings), which tells an agent exactly what comes back. The anchor "as in listDigitalConnectors" distinguishes it from the list sibling without requiring the schema to be opened.

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?

Provides a concrete triggering scenario — a digital test config names a connectorId and you want to know which bot it reaches — which is far more actionable than generic "use to fetch a resource" text. It falls short of an explicit exclusion (e.g., "to enumerate all connectors use listDigitalConnectors"), so the when-not side is only implied by the list reference.

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.