Skip to main content
Glama

frs__UpdateFace

Update a single face's details in an FRS face set by face ID, including its external image ID or custom external fields.

Instructions

[FRS] 根据人脸ID(face_id)更新单张人脸信息。

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_id": "<face_id>",
      "face_set_name": "<face_set_name>",
      "project_id": "<project_id>"
    },
    "name": "frs__UpdateFace"
  }
}

Input Schema

NameRequiredDescriptionDefault
face_idYes人脸库ID,由系统内部生成的唯一ID。
project_idYes项目ID,获取方法请参见[获取项目ID/账号租户名/AK/SK](https://support.huaweicloud.com/api-face/face_02_0056.html)。
face_set_nameYes人脸库名称。
external_fieldsNoJson字符串不校验重复性,自定义字段的key值长度范围为[1,36],string类型的value长度范围为[1,256],具体参见[自定义字段](https://support.huaweicloud.com/api-face/face_02_0012.html)。。这里是待修改的参数,external_image_id和external_fields至少选一个。
external_image_idNo用户指定的图片外部ID,与当前图像绑定。用户没提供,系统会生成一个。该ID长度范围为1~36位,可以包含字母、数字、中划线或者下划线,不包含其他的特殊字符。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and largely drops it. It does not say whether the update is partial or full replacement, what happens if face_id is unknown, whether permissions or quota apply, or what the response looks like — notable gaps for a mutation tool with zero annotation coverage.

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?

A single short sentence with the selector (face_id) front-loaded after the bracketed service tag; nothing is redundant. Its tightness comes partly at the cost of missing guidance, but as a structure it is clean and appropriately sized.

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

Completeness2/5

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

For a 5-parameter mutation tool with a nested object parameter, no annotations, and no output schema, one sentence is not enough. The description should at minimum state what is being modified (external_image_id / external_fields) and the partial-update behavior, none of which appears in prose.

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 parameter meaning is already documented in the schema; the description only names face_id as the selector. It adds no extra semantics such as the constraint that external_image_id and external_fields (at least one) are the modifiable payload, which lives only in the schema text.

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 pairs a specific verb (更新/update) with a specific resource and scope (单张人脸信息, selected by face_id), so an agent immediately knows this mutates one face record. It does not explicitly name a sibling (e.g. AddFacesBy* or DeleteFaceByFaceId) to sharpen the boundary, leaving only the verb to differentiate it.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no prerequisites (the face must already exist, required face_set_name/project_id), and no routing to alternatives such as AddFaces* for creation or ShowFaces* for reading. The agent must infer the selection context entirely from the tool name.

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