Skip to main content
Glama

apig__CheckAppV2

Verifies whether a specified app exists through Huawei Cloud APIG, allowing callers without app ownership to confirm existence and retrieve basic ID and name details.

Instructions

[APIG] 校验app是否存在,非APP所有者可以调用该接口校验APP是否真实存在。这个接口只展示app的基本信息id 、name、

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": "apig__CheckAppV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYes应用编号
project_idYes项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。
instance_idYes实例ID,在API网关控制台的“实例信息”中获取。

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 provided, so the description carries the full burden, and it does disclose two behavioral traits not derivable from the schema: the authorization model (callers need not be the app owner) and the narrow response shape (only id and name are returned, not full app details). It omits what happens when the app does not exist (error vs. empty result), which is the key behavior for an existence check.

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 sentences, front-loaded with the core purpose and followed by the permission and response-scope notes. The trailing 'id 、name、' is abruptly truncated and the dangling comma suggests incomplete text, a minor blemish but no padding.

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 three-path-parameter check tool with no annotations and no output schema, the description covers the permission model and partial return contents, which is better than average. However, the not-found result semantics and any error indication are absent, which is precisely the information an agent needs to interpret a check 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 description coverage is 100%, with all three path parameters (app_id, project_id, instance_id) documented and exemplified in the schema. The description adds no meaning about their formats or where the values come from, so the baseline of 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 ('校验app是否存在' - verify whether the app exists) and adds scope ('只展示app的基本信息id 、name'). It is clear what the tool does, but it does not distinguish itself from the closely named sibling apig__CheckAnApp, leaving an agent to guess which validity check to use.

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?

It gives one useful usage cue: non-owners are permitted to call it to verify that an app actually exists. It does not state when to prefer this over apig__CheckAnApp or apig__ShowDetailsOfAppV2, and it gives no exclusions or preconditions beyond the implied instance/project scoping.

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