Skip to main content
Glama

roma__CreateAppCodeAutoV2

Generates a random App Code automatically for a specified ROMA app instance and project, so you can create credentials without manually supplying a code value.

Instructions

[ROMA] 创建App Code时,可以不指定具体值,由后台自动生成随机字符串填充。

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__CreateAppCodeAutoV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYes应用编号
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
instance_idYes实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose the key behavioral trait — server-side random string generation — but says nothing about permissions, idempotency, uniqueness, or whether the generated code is returned in the response, which matters for a create tool with no output schema.

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?

A single short sentence with the important qualifier stated up front and no redundant wording. It is slightly too terse to serve as a complete definition, but nothing is wasted.

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 simple three-parameter create tool this covers the core idea, and the absence of an output schema means return values need not be explained. However, with no annotations and no mention of what the caller gets back (presumably the generated code), the definition stops short of fully equipping an agent to use the result.

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%, with all three path parameters (app_id, project_id, instance_id) documented in-schema, so the baseline is 3. The description adds only the negative information that no code-value parameter is needed, without clarifying how the generated value relates to app_id or instance_id.

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 gives a specific verb+resource (创建App Code) and states the defining trait: the value is auto-generated by the backend rather than supplied. This distinguishes it implicitly from the sibling roma__CreateAppCodeV2 that presumably takes an explicit code value, though it never names that sibling.

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: the phrase '可以不指定具体值' tells the agent this tool is the choice when no code value is available. There is no explicit when-to-use/when-not framing and no pointer to the sibling that accepts a caller-supplied value.

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