Skip to main content
Glama

apig__CancelingAuthorization

Removes an API's authorization for a specified APP so it can no longer call that API. Provide the authorization relationship ID to cancel access.

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

Input Schema

NameRequiredDescriptionDefault
app_auth_idYes授权关系的ID

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 helpfully discloses the downstream consequence of the mutation (the app loses the ability to call the API), but it omits whether the revocation is reversible, what permissions are needed, whether it is idempotent, and what happens if the authorization ID is invalid or already revoked.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short, front-loaded sentences with no filler: the action first, then the consequence. Every sentence earns its place.

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 single-parameter mutation with no output schema, the description covers what the tool does and its effect, which is most of what is needed. It still leaves open permission requirements and reversibility, which matter for an irreversible access-revocation operation.

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?

There is only one parameter, app_auth_id, and its schema description coverage is 100% ('authorization relationship ID'). The description adds nothing about the parameter 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?

States a specific verb and resource: revoking an API-to-APP authorization relationship, plus the concrete consequence ('APP will no longer be able to call that API'). It does not distinguish itself from the sibling apig__CancelingAuthorizationV2, so it falls short of a 5.

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?

The description implies the usage context (revoke an app's access to an API) and makes the effect clear, but it never says when to use this tool over alternatives such as apig__CancelingAuthorizationV2, nor does it state prerequisites or exclusions. That is implied guidance only.

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