diff --git a/skills/using-services/SKILL.md b/skills/using-services/SKILL.md
index 7173c48..167acf4 100644
--- a/skills/using-services/SKILL.md
+++ b/skills/using-services/SKILL.md
@@ -2,11 +2,11 @@
license: "MIT"
name: using-services
description: >-
- Discover and invoke HTTP/MCP services already registered in the global
- catalog. Use when the user asks the Agent to call an API, search for an
- existing service, or query a backend that was registered via the
- registering-services skill. 调用某个 API、查找已有服务、访问已注册的后端服务时使用。
-version: 1.0.4
+ Find and call HTTP/MCP services registered in the global Apps & Services
+ catalog, or connect a catalog MCP service to this Agent. For an MCP server
+ this Agent already has, skip this skill and search ToolCatalog by the server
+ ID. 调用目录里登记的 API、查找本 Agent 尚未接入的现成服务时使用。
+version: 1.1.0
type: meta
risk_level: low
status: enabled
@@ -19,7 +19,7 @@ tags:
- meta
metadata:
author: desirecore
- updated_at: '2026-09-18'
+ updated_at: '2026-11-17'
i18n:
default_locale: en-US
source_locale: zh-CN
@@ -30,17 +30,17 @@ metadata:
name: 使用服务
short_desc: 发现并调用全局目录中已注册的服务
description: >-
- 发现并调用全局应用与服务目录中已经注册过的 HTTP/MCP 服务。Use when 用户让 Agent 调用某个 API、查找已有服务,或访问通过 registering-services 注册的后端。
+ 查找并调用全局「应用与服务」目录里登记的 HTTP/MCP 服务,或把其中的 MCP 服务接入本 Agent;本 Agent 已接入的 MCP 服务端不用本技能,按服务端 ID 用 ToolCatalog 检索其工具。Use when 用户要调用目录里的 API 或找尚未接入的现成服务。
body: ./SKILL.zh-CN.md
translated_by: human
en-US:
name: Using Services
short_desc: Discover and invoke registered services from the catalog
description: >-
- Discover and invoke HTTP/MCP services already registered in the global catalog. Use when the user asks the Agent to call an API, search for an existing service, or query a backend that was registered via the registering-services skill.
+ Find and call HTTP/MCP services registered in the global Apps & Services catalog, or connect a catalog MCP service to this Agent. For an MCP server this Agent already has, skip this skill and search ToolCatalog by the server ID. Use when the user asks to call an API from the catalog or to find an existing service this Agent has not connected yet.
body: ./SKILL.md
- translated_by: ai:chatgpt
- source_hash: sha256:b841f1996c1d428f
+ translated_by: human
+ source_hash: sha256:1ed16897ea44ed91
market:
icon: >-
@@ -83,9 +83,37 @@ exists; this meta-skill is the fallback for ad-hoc discovery.
- The user gives you a one-off URL to fetch — use `HttpRequest` directly
- You already have the per-service `svc-` Skill activated — follow it
instead, it's more specific
+- The named service is already one of this Agent's MCP servers — find its
+ tools as in Step 0; no catalog lookup is needed
## L2: How to discover and call
+### Step 0 — Check whether it is already one of this Agent's MCP servers
+
+A service the user names ("use the xxx service") may already be one of this
+Agent's MCP servers; the server ID is the name it was connected under. Then no
+catalog lookup is needed:
+
+1. If the system prompt lists the MCP servers available this turn (only newer
+ clients have that section), check there first; a missing section does not
+ mean the server is not connected.
+2. Search `ToolCatalog` by the server ID, for example
+ `ToolCatalog(query="", max_results=20)`. Put only the ID itself in
+ the query, not a wildcard such as `__*`: the search has no wildcards and
+ would find nothing. If the number of results equals `max_results`, there may
+ be more; raise it and search again.
+3. Once found, use the tool names in the result; do not build names from the
+ naming pattern (see Step 4, item 3). If the result marks a tool as not
+ declared yet, load it the way the result says and call it from the next model
+ request on; if what you find is the server's authentication tool, complete
+ authentication as its description says first. You are done with this skill
+ at that point.
+4. Only if nothing is found, look up the catalog from Step 1.
+
+Confirm the connection only in the ways above; do not read this Agent's config
+file or config endpoints for it: the environment variables and headers in MCP
+config may hold plaintext credentials.
+
### Step 1 — List the catalog
Fetch the registry:
@@ -159,7 +187,13 @@ the Agent's `mcp_servers` config:
1. If you haven't added the MCP service to your Agent yet, POST to
`http://127.0.0.1:/api/agents//mcp-servers` with `{ serverId: '', config: }`
2. Next query, MCP discovery will auto-expose tools from the server
-3. Call the tools by their MCP-declared names directly
+3. Once connected, the tools are registered in this Agent's tool pool as
+ `__`; when that name breaks the model API's character or
+ length rules, the model sees a different, rewritten name. Do not guess call
+ names from the remote declaration or the naming pattern: search `ToolCatalog`
+ by the server ID as in Step 0 and use the names in the result; for tools the
+ result marks as not declared, load them the way the result says before
+ calling.
### Step 5 — Handle the response
diff --git a/skills/using-services/SKILL.zh-CN.md b/skills/using-services/SKILL.zh-CN.md
index d48b615..032493c 100644
--- a/skills/using-services/SKILL.zh-CN.md
+++ b/skills/using-services/SKILL.zh-CN.md
@@ -26,9 +26,21 @@
- 用户给了一次性 URL —— 直接 `HttpRequest` 即可
- 你已激活了 `svc-` 专属 Skill —— 跟着它走,更具体
+- 用户点名的服务已是本 Agent 接入的 MCP 服务端 —— 按 Step 0 直接找到它的工具,不必查目录
## L2:如何发现并调用
+### Step 0 — 先确认是不是本 Agent 已接入的 MCP 服务端
+
+用户点名的服务(如「用 xxx 这个服务」)可能就是本 Agent 已接入的 MCP 服务端,服务端 ID 就是接入时用的名字。这时不需要查目录:
+
+1. 系统提示词里若列出了本轮可用的 MCP 服务端(较新的客户端才有这一段),先在其中核对;没有这一段不代表没有接入。
+2. 用 `ToolCatalog` 按服务端 ID 检索,例如 `ToolCatalog(query="<服务端 ID>", max_results=20)`。query 只写 ID 本身,不要写 `__*` 这类通配:检索不支持通配,会一个都查不到。返回条数等于 `max_results` 时可能还有更多,调大后再查。
+3. 命中后以结果里的工具名为准,不要按命名习惯拼名字(见 Step 4 第 3 条)。结果标明某个工具尚未声明时,按结果给出的加载方式加载,下一次模型请求起再调用;查到的是该服务端的认证工具时,按它的说明先完成认证。到这里就不必继续本技能。
+4. 查不到时再从 Step 1 查目录。
+
+确认接入情况只用以上方式,不要为此读取本 Agent 的配置文件或配置接口:MCP 配置里的环境变量和请求头可能含明文凭据。
+
### Step 1 — 列目录
拉取注册表:
@@ -100,7 +112,7 @@ MCP 服务不走 `HttpRequest`,它通过 Agent 的 `mcp_servers` 配置暴露
1. 若你的 Agent 还没接入该 MCP,POST `http://127.0.0.1:/api/agents//mcp-servers`
传 `{ serverId: '', config: }`
2. 下轮 query 时 MCP discovery 会自动暴露该服务器的工具
-3. 直接用 MCP 工具名调用即可
+3. 接入生效后,工具在本 Agent 的工具池里注册为 `__<工具名>`;名字不符合模型接口的字符或长度要求时,模型看到的是改写后的另一个名字。所以不要按远端声明名或命名习惯猜调用名:按 Step 0 用 `ToolCatalog` 以服务端 ID 检索,以结果里的名字为准;结果标明未声明的,按结果给出的加载方式加载后再调用。
### Step 5 — 处理响应
diff --git a/skills/using-services/catalog-metadata.v1.json b/skills/using-services/catalog-metadata.v1.json
index 852cb89..c9a5a22 100644
--- a/skills/using-services/catalog-metadata.v1.json
+++ b/skills/using-services/catalog-metadata.v1.json
@@ -11,12 +11,12 @@
"zh-CN": {
"name": "使用服务",
"summary": "发现并调用全局目录中已注册的服务",
- "description": "发现并调用全局应用与服务目录中已经注册过的 HTTP/MCP 服务。Use when 用户让 Agent 调用某个 API、查找已有服务,或访问通过 registering-services 注册的后端。"
+ "description": "查找并调用全局「应用与服务」目录里登记的 HTTP/MCP 服务,或把其中的 MCP 服务接入本 Agent;本 Agent 已接入的 MCP 服务端不用本技能,按服务端 ID 用 ToolCatalog 检索其工具。Use when 用户要调用目录里的 API 或找尚未接入的现成服务。"
},
"en-US": {
"name": "Using Services",
"summary": "Discover and invoke registered services from the catalog",
- "description": "Discover and invoke HTTP/MCP services already registered in the global catalog. Use when the user asks the Agent to call an API, search for an existing service, or query a backend that was registered via the registering-services skill."
+ "description": "Find and call HTTP/MCP services registered in the global Apps & Services catalog, or connect a catalog MCP service to this Agent. For an MCP server this Agent already has, skip this skill and search ToolCatalog by the server ID. Use when the user asks to call an API from the catalog or to find an existing service this Agent has not connected yet."
}
},
"category": "productivity",
@@ -30,13 +30,13 @@
},
"release": {
"state": "known",
- "version": "1.0.4",
+ "version": "1.1.0",
"versionScheme": "semver"
},
"timestamps": {
"catalogUpdatedAt": {
"state": "known",
- "value": "2026-09-18",
+ "value": "2026-11-17",
"precision": "day"
},
"releasePublishedAt": {