Skip to main content
Glama

roma__DeleteAppCodeV2

Deletes an App Code to revoke simple authentication access to the associated API, preventing further access through that code.

Instructions

[ROMA] 删除App Code,App Code删除后,将无法再通过简易认证访问对应的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": {
      "app_code_id": "<app_code_id>",
      "app_id": "<app_id>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "roma__DeleteAppCodeV2"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose one important effect — after deletion, the corresponding API can no longer be reached via simple authentication — but it omits whether the delete is permanent or recoverable, what permissions are required, and what happens if the app code is already gone or in use.

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?

Two short clauses, with the destructive consequence front-loaded right after the action. The "[ROMA]" prefix is low-value noise, but otherwise no sentence 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 destructive four-parameter operation with no annotations and no output schema, the definition covers purpose and one downstream effect but leaves the agent without reversibility, permission, or error-condition context. Adequate to invoke correctly, thin for invoking 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?

All four required path parameters (app_code_id, app_id, instance_id, project_id) are fully documented in the schema at 100% coverage, so the baseline of 3 applies. The description adds no additional meaning about their format or relationships beyond what the schema already provides.

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 ("删除App Code" / delete App Code), which is unambiguous about the operation. It does not distinguish this ROMA variant from lookalike siblings such as apig__DeleteAppCodeV2, but the core action is clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, no mention of alternatives such as ShowDetailsOfAppCodeV2 for verification before deleting, and no stated prerequisites. The only contextual signal is the consequence sentence, which implies caution rather than telling the agent when this tool is the right choice.

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