Skip to main content
Glama

connector_register

Registers a third-party connector after validating its source against the enterprise whitelist, then stores it in a tenant-isolated registry with duplicate-name rejection and audit logging.

Instructions

注册第三方连接器(G5b 准入面):来源过 plugin-gate 白名单校验(Git URL / 主机 / 本地路径,白名单外拒绝)→ 注册表落库(config/connectors.json,租户隔离 + 同租户重名拒绝)→ 审计留痕。与工具注册分列——连接器清单见 connector_list。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes连接器类型
nameYes连接器标识(租户内唯一,1-64 位字母数字开头词法)
sourceYes来源串(Git URL / 主机 / 本地路径——须在企业白名单内)
tenantNo归属租户(缺省 default)
endpointNo接入端点回显(不含凭证)
capabilitiesNo能力标签(发现面过滤维度)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.9

TDQS

A4.4/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses a complete pipeline: plugin-gate whitelist validation (with rejection outside whitelist), persistence to config/connectors.json with tenant isolation and duplicate-name rejection, and audit trail. This goes well beyond the schema, revealing side effects and failure conditions.

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

Conciseness5/5

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

The description is a single dense sentence that front-loads the core action, then uses arrows to efficiently present the pipeline (whitelist → persistence → audit) and ends with the connector_list reference. Every element earns its place with no redundancy.

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?

It covers the admission process, persistence, audit, failure conditions, and sibling tool routing. The main gap is the absence of a stated return value/response format, which is more relevant since there is no output schema; the description nevertheless provides enough context for safe invocation.

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 the baseline is 3. The description reinforces the source whitelist requirement and names uniqueness constraints, but it adds no new semantics for name, kind, tenant, endpoint, or capabilities beyond what the schema already describes.

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 clearly states the action and resource: '注册第三方连接器' (register third-party connector). It also differentiates from tool registration ('与工具注册分列') and points to connector_list for listing, giving a specific verb-resource pair and distinguishing it from siblings like connector_list and device_register.

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 description explicitly separates this from tool registration and directs listing to connector_list, which are clear usage hints. However, it doesn't provide a detailed conditional for when to choose this over other resource-registration tools (e.g., device_register, model_register) beyond the connector resource type, so it is clear but not exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools