Skip to main content
Glama

roma__AddUserToApp

Sets user members and permissions for a ROMA application; pass an empty user list to clear all existing app members.

Instructions

[ROMA] - 设置应用的用户成员,为空数组时会清空已有应用成员列表

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": {
      "app_id": "<app_id>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "roma__AddUserToApp"
  }
}

Input Schema

NameRequiredDescriptionDefault
usersNo要添加的用户成员列表,空列表时代表清空应用的所有成员
app_idYes应用ID
project_idYes项目ID
instance_idYes实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior4/5

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

No annotations are supplied, so the description must carry full behavioral weight. It does disclose the single most important non-obvious trait: despite the name 'AddUserToApp', the operation is a full replacement, and passing an empty array wipes all existing members. Gaps remain around permission requirements, idempotency, and response behavior.

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?

One short sentence, front-loaded with the resource and immediately followed by the destructive edge case. It is efficient and contains no filler, though the bracketed '[ROMA]' tag adds little and the description is arguably too sparse given the mutation's stakes.

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?

The input schema fully documents the parameters and no output schema exists, so much of the burden is already met. However, for a 4-parameter mutation tool with zero annotations, the description should also cover required permissions and what happens to members whose roles are omitted.

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 description coverage is 100%, so the schema already documents all four parameters, including the nested users list, role enum, and the empty-list-clears semantics. The description restates the same empty-array meaning rather than adding new syntax or format detail, so 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: '设置应用的用户成员' (set the application's user members). This is clearly distinguishable from read-only siblings such as roma__CheckAuthUsersOfApp or the many List*BindedToApp tools. It does not explicitly differentiate itself from related write tools like roma__AssociateAppsForAppQuota.

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 only implied by the empty-array rule, which functions as an operational warning rather than guidance about when to use this tool. No alternatives are named and no preconditions such as permissions or required app state are given, so the agent must infer context.

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

Deploy Server

Other Tools