Skip to main content
Glama

team_role

Destructive

Change someone's role or a member's apps (owners only), one at a time. role: owner, member or guest (a client). A company always keeps an owner. Made a client, they keep only Chat and leave the channels open to the team; what they kept to themselves in the other apps is deleted after 30 days, as when someone leaves. apps: the apps a member opens, as Settings → Team ticks them (an owner opens every app, a client only Chat); the user's Activity can undo it.

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": {
      "person": "<person>",
      "author": "<author>"
    },
    "name": "team_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
appsNoa member's apps, as team_invite takes them; [] for none, null for every app open to the team
roleNo
modelNoyour model id
authorYeswho's acting: your product, like claude or codex
personYestheir id, from team_list

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description goes well beyond them: it explains that a demoted client keeps only Chat, keeps channels open to the team, and that their private data in other apps is deleted after 30 days. It also notes that the apps change can be undone via the user's Activity, distinguishing reversible from irreversible effects.

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?

Front-loaded with the purpose and permission qualifier, then parameter semantics, then consequences — a sensible order. The prose is dense and run-on with em-dashes and a slightly redundant clause ('as when someone leaves'), but almost every sentence carries operative information.

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

Completeness5/5

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

For a destructive, five-parameter mutation with no output schema, the description covers permissions, the owner invariant, app-access rules, data-deletion timing, and reversibility — everything an agent needs before calling. The undocumented meta params (author, model) are self-describing in the schema.

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?

With 80% schema coverage the schema already carries most param documentation, yet the description still adds meaning: the role enum is glossed (guest = a client), the invariant that a company always keeps an owner is stated, and the owner/client app-access rule is explained. The apps cross-reference to team_invite and Settings → Team helps an agent populate the array correctly.

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 and resource (change someone's role or apps) plus a scope qualifier (owners only, one at a time), which is far more informative than the title alone. It does not explicitly distinguish itself from siblings like team_invite or team_remove, so an agent must infer the boundary rather than being routed to the right tool.

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

Usage Guidelines4/5

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

Gives clear preconditions (owners only) and a usage constraint (one at a time), and explains the consequence of demoting someone to client, which effectively clarifies when this differs from removing a person. It stops short of naming an alternative tool or stating when not to call it (e.g., use team_remove to offboard).

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.