Skip to main content
Glama

apig__CheckAnApp

Verify whether a Huawei Cloud APIG application exists by app ID, returning only its ID, name, and remark for non-owner validation.

Instructions

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

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>"
    },
    "name": "apig__CheckAnApp"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesAPP的编号

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden. It does disclose two useful behaviors: the call is permitted for non-owners, and the response is restricted to basic fields (id, name, remark). It does not say how a non-existent APP is signaled (error vs. empty result) or what a successful check looks like, which matters for a verification 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?

The purpose is front-loaded and every clause adds something (existence check, caller permission, visible fields). There is mild redundancy between '校验app是否存在' and '校验APP是否真实存在', which repeats the same idea.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read-style check with no annotations or output schema, the description covers purpose, caller eligibility, and the limited response shape. The remaining gap is how non-existence is reported, which the agent would still have to discover by calling.

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% and the single app_id parameter is already documented as the APP's identifier in the path. The description adds no format, source, or constraint detail beyond the schema, 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 (verify/check) and resource (app existence), and adds what the response will contain (id, name, remark only). It stops short of differentiating from the sibling apig__CheckAppV2, so an agent cannot tell the two apart from this text alone.

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

Usage Guidelines4/5

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

It explicitly says non-owners of the APP may call this to verify that the APP genuinely exists, which is clear usage context including a permission condition. There is no when-not guidance and no named alternative, so it falls short of a 5.

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