Skip to main content
Glama

roma__CreateAuthorizingAppsV2

Authorizes specified apps to access selected APIs in a target environment, enabling API access after app creation.

Instructions

[ROMA] APP创建成功后,还不能访问API,如果想要访问某个环境上的API,需要将该API在该环境上授权给APP。授权成功后,APP即可访问该环境上的这个API。

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": {
      "api_ids": "<api_ids>",
      "app_ids": "<app_ids>",
      "env_id": "<env_id>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "roma__CreateAuthorizingAppsV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
env_idYes需要授权的环境编号
api_idsYesAPI的编号列表。
app_idsYesAPP的编号列表
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
auth_tunnelNo授权通道类型:NORMAL
instance_idYes实例ID
visit_paramsNo访问参数列表。
auth_blacklistNo绿色通道授权黑名单。
auth_whitelistNo绿色通道授权白名单。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It only discloses one behavioral outcome, namely that a successful authorization grants the APP access to that API in that environment; it says nothing about idempotency, failure modes, the meaning of the green-channel whitelist and blacklist, or the effect of auth_tunnel, which are the behaviors an agent most needs before calling a write operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single compact paragraph with no redundant wording, but it is framed as background explanation rather than front-loading the operation itself, so the agent must read to the end to infer the action.

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?

For a 9-parameter mutation with no annotations and no output schema, the description covers the domain rationale well, which helps an agent understand why the tool exists. It still leaves gaps on the behavior of the operation and its results, relying entirely on the schema for parameter detail and providing nothing about the response.

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 all nine parameters, including env_id, api_ids, app_ids, auth_tunnel, visit_params, auth_whitelist, and auth_blacklist, are documented in the schema. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description explains the domain concept, that an APP cannot access an API until the API is authorized to the APP in a given environment, so the agent can infer that the tool creates that authorization binding. However, it never states the action in tool terms (for example, "creates an authorization binding between the listed apps and APIs in the given environment") and gives no distinction from near-identically named siblings such as apig__CreateAuthorizingAppsV2 or roma__CreateApiAclBindingV2.

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 through the prerequisite narrative: if an APP needs to reach an API in an environment, authorization must exist first. The description never says when to call this tool versus an ACL or binding tool, nor mentions prerequisites like the APP or API already existing, or whether repeated authorizations are allowed.

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