Skip to main content
Glama

update_subuser

Idempotent

Replaces the permission nodes assigned to an existing server subuser with a new full list, enabling precise access-control updates.

Instructions

Replace the permission nodes assigned to an existing server subuser.

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": {
      "server_id": "<server_id>",
      "user_uuid": "<user_uuid>",
      "permissions": "<permissions>"
    },
    "name": "update_subuser"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYesShort server identifier
user_uuidYesSubuser UUID
permissionsYesFull list of permission nodes (e.g. ['control.console', 'file.read'])

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and idempotentHint=true, so the safety and repeat-call profile is covered structurally. The description adds the important behavioral nuance that this is a full replacement (not a merge) of permission nodes, but it says nothing about what happens to prior permissions removed by the new list, validation failures on unknown nodes, or required authorization.

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?

A single sentence with the key semantic ('Replace') front-loaded and zero padding. Nothing is wasted and nothing needs reordering.

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

Completeness3/5

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

With three required, fully documented parameters and annotations covering read-only and idempotency, the essentials are present. For a mutation tool that overwrites permissions, however, missing notes on validation, permission-node naming, or error behavior leave meaningful gaps.

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% and each parameter carries its own description, including an example format for the permissions array. The description adds no meaning beyond the schema, so the baseline 3 applies.

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?

The description states a specific verb and resource: 'Replace the permission nodes assigned to an existing server subuser.' The word 'existing' implicitly separates it from create_subuser, but no sibling is named explicitly, so differentiation relies on inference.

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?

Usage is implied rather than stated: 'Replace' signals a wholesale overwrite of the permission set, which distinguishes it from an additive grant, but there is no explicit when-to-use guidance, no mention of create_subuser/delete_subuser as alternatives, and no note on prerequisites such as the subuser already existing.

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