Skip to main content
Glama

Update team member

update_team_member
DestructiveIdempotent

Muda o cargo de um membro ou gera uma senha temporária nova para ele. Dono e gerente podem usar, mas o gerente só age sobre quem está abaixo dele (operador, especialista, técnico) e só atribui cargo abaixo do seu. Ninguém altera a própria conta por aqui. Permissões recurso a recurso ficam em update_team_member_permissions.

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": {
      "member_id": "<member_id>"
    },
    "name": "update_team_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoCargo novo.
member_idYesID do membro (de list_team_permissions).
reset_passwordNotrue gera uma senha temporária nova; ela volta UMA vez nesta resposta.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / role / enum
      Previous value: -[
      -  "technician",
      -  "operator",
      -  "manager",
      -  "specialist"
      -]New value: +[
      +  "technician",
      +  "operator",
      +  "manager",
      +  "specialist",
      +  "gestor"
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, but the description adds material authorization and hierarchy rules that the annotations cannot express. One tension is left unaddressed: resetting the password produces a new value on each call, which sits awkwardly with the idempotentHint=true annotation, and the description does not say whether the previous password or active sessions are invalidated.

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?

Three tightly packed sentences: capability first, then authorization rules, then the sibling hand-off. Every clause carries information an agent needs, with no restatement of the title or schema.

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?

For a three-parameter mutation with no output schema, the definition covers capability, authorization, exclusions and sibling routing well. It stops short of describing side effects (password/session invalidation, whether a role change resets permissions), which matter given destructiveHint=true.

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 enum values and the one-time password return are already documented in the schema, which sets the baseline at 3. The description does add real meaning beyond the enum by constraining which roles a manager may assign relative to their own, but says nothing further about member_id or reset_password behavior.

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?

States two specific operations on a specific resource: changing a member's role and generating a new temporary password. It also explicitly separates itself from update_team_member_permissions, so an agent can route between the two without opening either schema.

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

Usage Guidelines5/5

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

Names the permitted callers (owner and manager), the hierarchy constraint for managers (only over operator/specialist/technician, and only assigning roles below their own), and an explicit exclusion (nobody edits their own account here). It also redirects per-resource permission edits to the named sibling.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources