Skip to main content
Glama

frs__CreateFaceSet

Creates a Huawei Cloud FRS face set to store facial feature data for recognition workflows, with configurable capacity and optional custom fields.

Instructions

[FRS] 创建用于存储人脸特征的人脸库。您最多可以创建10个人脸库,每个人脸库最大容量为10万个人脸特征。如有更大规格的需求请联系客服。

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": {
      "face_set_name": "<face_set_name>",
      "project_id": "<project_id>"
    },
    "name": "frs__CreateFaceSet"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID,获取方法请参见[获取项目ID/账号租户名/AK/SK](https://support.huaweicloud.com/api-face/face_02_0056.html)。
face_set_nameYes人脸库名称。
external_fieldsNo用户自定义数据,自定义字段不能以系统保留字段vector、bounding_box、external_image_id、face_id、create_time、_id、_all、_source等字段命名。Json字符串不校验重复性,自定义字段的key值长度范围为[1,36],string类型的value长度范围为[1,256],具体参见[自定义字段](https://support.huaweicloud.com/api-face/face_02_0012.html)。
face_set_capacityNo人脸库最大的容量,填写1万整数倍的数字,例如:30000。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add genuinely useful behavioral facts: the 10-set account limit and the 100k-feature per-set ceiling. However, it omits anything about idempotency, what happens when the name already exists, required permissions/auth, or what the call returns—all material for a create/mutation operation.

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?

Three compact sentences, front-loaded with the create action and resource, followed by limits and the escalation path. No filler, though the support-contact sentence is marginally less useful to an agent than a return-value or precondition statement would have been.

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

Completeness3/5

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

For a 4-parameter mutation tool with nested objects, no annotations, and no output schema, the description covers quotas but leaves the agent without preconditions, error/duplicate behavior, or result shape. It is adequate to identify the tool but incomplete for calling it confidently.

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 description coverage is 100%, so the schema already documents project_id, face_set_name, external_fields, and the capacity multiple-of-10,000 rule, making 3 the baseline. The description adds only the 100k ceiling that relates to face_set_capacity; it says nothing extra about naming rules or the custom-field restrictions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource in both name and text ('创建...人脸库' - create a face set) and states what the resource is for ('用于存储人脸特征'), so an agent can tell it apart from DeleteFaceSet/ShowFaceSet by the verb alone. It stops short of explicitly contrasting itself with those siblings or stating that the set must not already exist.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: 'create' plus the quota note ('最多可以创建10个人脸库') tells an agent that this is a one-time provisioning step with a hard limit, and '如有更大规格的需求请联系客服' implies an escalation path. There is no explicit when-to-use vs. ShowFaceSet/ShowAllFaceSets guidance and no stated precondition about name uniqueness.

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