Skip to main content
Glama

apig__CancelingAuthorizationV2

Revokes an app's authorization to call a specified API, preventing that app from invoking the API after removal.

Instructions

[APIG] 解除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": {
      "app_auth_id": "<app_auth_id>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "apig__CancelingAuthorizationV2"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/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 burden. It does disclose the downstream effect (the APP loses the ability to invoke the API), which is real behavioral value beyond the name, but omits whether the removal is permanent or reversible, whether re-authorization is required to restore access, permission requirements, and idempotency for repeated calls.

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 action and immediately followed by its consequence; there is no padding. The only minor noise is the '[APIG]' tag prefix, which carries no operational meaning for an agent.

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 three-parameter destructive mutation with no annotations and no output schema, the description supplies the essential effect plus the consequence that matters to an agent planning a call. It is not fully complete, since error and idempotency behavior remain unstated, but it covers the core of what is needed to invoke correctly.

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% and all three required path parameters (project_id, instance_id, app_auth_id) are documented in the schema, so the baseline is 3. The description adds no meaning about how app_auth_id is obtained or what happens if the identifier is stale or already revoked.

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?

States a specific verb (解除授权 / revoke) and a specific resource (the API-to-APP authorization relationship), plus the resulting state. An agent can distinguish it from grant-side siblings such as CreateAuthorizingAppsV2 without opening the schema, though no sibling is named explicitly.

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 by the stated consequence ('APP will no longer be able to call this API'), which tells the agent what the tool achieves but not when to prefer it. There is no guidance on prerequisites, no when-not case, and no reference to a restore/regrant path if the revocation was a mistake.

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