Skip to main content
Glama

People: assign role

manage_people_assign_role
Destructive

Give one data role to several people at once (empty data_role means full access). Changes Junction's own settings as the person asking, only as far as their role allows in the Junction portal. Tell the user what you are about to do and call this only after they agree. It answers with a preview first; show it, and only call again with confirm set to true after the user agrees. Company administrators only. Never pass a password, key or token; anything that needs one is done in the portal.

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": {
      "emails": "<emails>",
      "data_role": "<data_role>"
    },
    "name": "manage_people_assign_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailsYesthe people, up to 200
confirmNoset true only after the user has seen the preview this action answers with first and agreed
data_roleYesrole id from roles.list, or empty text for full access

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the destructiveHint/readOnlyHint annotations, it discloses the two-step preview-then-confirm protocol, that changes are applied as the caller and bounded by their role, the admin restriction, and the credential prohibition. This is exactly the extra behavioral context annotations cannot carry.

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?

The action and its edge case are front-loaded, followed by the confirmation protocol and then permissions. The closing portal/credential sentence is somewhat tangential but still earns its place as a guardrail against misuse.

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, non-idempotent batch mutation with no output schema, the description covers prerequisites, the preview/confirm loop, and scope limits, so an agent has everything needed to call it safely.

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 emails, data_role and confirm are already documented in the schema, including the empty-role-means-full-access rule and the confirm semantics. The description restates these rather than adding new syntax or constraints, so the baseline 3 applies.

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?

"Give one data role to several people at once" states a specific verb (assign), resource (data role), and scope (batch of people), with the empty-role edge case spelled out. That is clearly distinguishable from manage_people_update or manage_people_remove even without naming them.

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?

Explicitly gates use: confirm with the user first, show the preview, only re-call with confirm=true after agreement, and company administrators only. It also states a when-not (never pass a password, key or token; those actions belong in the portal).

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