Skip to main content
Glama

List custom connectors

list_connectors
Read-only

The outside services this site's pages can use (custom connectors), with their actions, whether the owner has saved the key, today's call count and the last error. Custom connectors: let a site's pages use an outside service that has an HTTPS API (the owner's CRM, a newsletter tool, a courier's rate API, their own back end).

  • set_connector declares the service and the few actions the pages may run. Pages can only run those actions, with the fields each one lists; they can not reach any other address.

  • The key for the service is saved by the owner in the dashboard (set_connector returns the link). Never ask the owner to paste a key, token or password into the chat, and never put one in a connector, a page or a file.

  • In a page: k.connect('', '', { field: value }) resolves to the values named in the action's "returns" (null when there are none), and rejects with an Error whose message can be shown. In React: window.k.connect(...).

  • Actions that only read (GET) run in previews too. Actions that change something are not sent in a draft preview (the call resolves to null and a notice says so); use test_connector to try them for real.

  • An action that takes what a visitor types must not ask for passwords, card numbers, OTP/TAC or PINs. The privacy notice (/privacy) names the outside service automatically.

  • For Komers store features (products, checkout, chat, leads) use the Komers tools, not a connector.

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": {
      "site": "<site>"
    },
    "name": "list_connectors"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesSite slug (e.g. "kopitiam-muar") or id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this a non-destructive, non-open-world read. The description adds value beyond them by specifying the fields returned (key-saved status, call count, last error) even though no output schema exists, plus operational facts such as GET actions running in previews and mutating actions being suppressed in drafts. It stops short of saying anything about ordering, truncation, or auth requirements for the listing call itself.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loading is good: the first sentence fully answers what the tool returns. However, most of the following bullets document connector semantics generally (page-side k.connect usage, key-handling policy, privacy notice behavior) rather than this listing operation, which makes the description long relative to a one-parameter read tool.

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 simple read with clear annotations and no output schema, the definition covers what is returned and how connectors relate to the wider toolset. The main residual gap is that nothing says whether all connectors are always returned or how large sets are handled.

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?

There is a single parameter, 'site', with 100% schema description coverage giving both slug and id forms. The description never mentions the parameter, so it adds nothing beyond the schema, but the schema carries the burden adequately — the baseline 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?

The opening sentence names a specific operation and enumerates exactly what comes back: each connector's actions, whether the owner saved the key, today's call count, and the last error. It also implicitly separates itself from set_connector (which declares a connector) and test_connector (which exercises one for real).

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?

The closing bullet gives a genuine routing rule away from this tool ('For Komers store features ... use the Komers tools, not a connector'), and the bullets point to set_connector for declaration and test_connector for real calls. What is missing is an explicit statement of when an agent should call list_connectors itself (e.g., to discover existing connectors before declaring a new one).

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