Skip to main content
Glama

Change a member's role

update_team_member
DestructiveIdempotent

Change the role of a person on the site (owner only): viewer (read only) or member (read and change the setup).

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

Input Schema

NameRequiredDescriptionDefault
roleYes
siteNoSite domain (example.com), id or public id (tb_…). Optional with a site key, or when the account has one site.
emailYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare the mutation as non-read-only, idempotent, and destructive. The description adds useful behavioral context beyond that by stating the owner-only authorization requirement and explaining what each role can do ('viewer read only' vs 'member read and change the setup'). It does not explicitly warn that a downgrade immediately removes access, but the role definitions convey the effect.

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?

The description is a single front-loaded sentence with no filler. Every clause contributes: the action, the resource, the authorization restriction, and the role meanings.

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 simple role-update mutation with rich annotations and no output schema, the description covers the essential authorization and role semantics. It does not describe response behavior or explicitly state side effects such as immediate permission loss, but it is otherwise sufficient to call the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is low at 33%, so the description should compensate. It meaningfully explains the role enum values and their privileges, which is the main semantic ambiguity; the site parameter already has a rich schema description, and email is a standard required email field.

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?

The description states a specific verb and resource: change the role of a person on the site. It also gives the scope ('owner only') and the allowed roles, making it easy to distinguish from invite_team_member or remove_team_member without opening the schema.

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?

It provides an important prerequisite ('owner only') and explains the two role meanings, but does not explicitly say when to use this instead of invite_team_member or remove_team_member. Usage is implied by 'change the role' rather than stated with alternatives.

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