Skip to main content
Glama

mrs__UpdateSyncIamUser

Synchronizes IAM users and groups to the MRS cluster Manager, including associated groups for specified users, to align cluster access with IAM identities.

Instructions

[MRS] 将IAM用户和用户组同步到manager,指定用户的情况下,会将该用户关联的IAM用户组也同步到manager。

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": {
      "cluster_id": "<cluster_id>",
      "project_id": "<project_id>"
    },
    "name": "mrs__UpdateSyncIamUser"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYes集群ID
project_idYes项目ID
user_namesNo指定同步的IAM用户。
group_namesNo指定同步的IAM用户组。
is_all_syncNo是否是全量同步。true为全量同步,false为指定用户、用户组同步。默认值为false。

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?

With no annotations, the description carries the full burden. It usefully discloses a cascade trait: specifying users also syncs their associated IAM user groups. But it omits that this is a mutating write operation, whether the sync is asynchronous (implied by the existence of CancelSyncIamUser), what permissions are required, or what happens on failure — all material for a sync 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 front-loaded sentence that identifies the action and the key conditional behavior, with no filler. It is appropriately sized, though the cascade clause is slightly buried at the end of a comma-chained sentence.

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 mutating sync operation with no annotations and no output schema, the description leaves major gaps: return/response behavior, whether a trackable sync task is created, and how is_all_sync=true differs operationally from the per-user path. The cascade note is valuable but insufficient for the tool's complexity.

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 cluster_id, project_id, user_names, group_names and is_all_sync are already documented in the schema. The description adds the meaningful relationship between user_names and group_names (the cascade), but does not explain interaction with is_all_sync or validation constraints. Baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb (同步/sync) and resources (IAM users and user groups) plus the destination (manager), which distinguishes it from siblings like CancelSyncIamUser and ShowSyncIamUser that operate on the same sync domain. It does not explicitly name the sibling alternatives, but the action itself is unambiguous.

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 guidance, no prerequisites (e.g. cluster/project must exist, IAM users must already be present), and no exclusion against CancelSyncIamUser or ShowSyncIamUser. The only usage-relevant hint is the conditional 'when users are specified', which describes behavior rather than tool selection.

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