Skip to main content
Glama

dataartsstudio__AuthorizeActionApiToInstance

Enables API reviewers to grant, renew, or cancel an app's access to a specified DataArts Studio API until a set deadline.

Instructions

[DATAARTSSTUDIO] - API主动授权: API审核人可发起,API主动授权成功后,在有效期内,APP即可访问该API。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": {
      "project_id": "<project_id>"
    },
    "name": "dataartsstudio__AuthorizeActionApiToInstance"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeNo截止时间
api_idNoapi编号
app_idNoapp编号
apply_typeNo申请类型
project_idYes项目ID,获取方法请参见[项目ID和账号ID](projectid_accountid.xml)。
instance_idNo集群编号

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/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 usefully discloses that the caller must be an API reviewer, that the grant has a validity period after which APP access presumably lapses, and that the operation bundles authorization and renewal. It does not disclose idempotency, what happens when re-authorizing an already-authorized app, or whether cancellation is destructive.

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 followed by the effect, with no wasted prose. The '[DATAARTSSTUDIO] - ' prefix is minor noise but does not impede comprehension.

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 six-parameter mutation tool with an enum, no annotations, and no output schema, the description covers the outcome and the role prerequisite but leaves the enum semantics and the meaning of the 'time' parameter to the schema. Adequate but not complete for an authorization mutation.

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%, so the schema already documents all six parameters. The description only obliquely touches the parameters, hinting that 'authorization and renewal' correspond to the APPLY_TYPE_AUTHORIZE / APPLY_TYPE_RENEW enum values, while leaving the cancel and apply enum values unexplained. Baseline 3 is appropriate given the schema does the heavy lifting.

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 names a specific verb+resource ('API主动授权' / API active authorization) and explains the outcome: after authorization, the APP can access the API within the validity period. It is clear about what the operation achieves, but it never distinguishes itself from the closely named sibling dataartsstudio__AuthorizeApiToInstance, which an agent could easily confuse it with.

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 states who can initiate it ('API审核人可发起' - the API reviewer can initiate), which gives a precondition/prerequisite. However there is no explicit when-to-use vs alternatives guidance, no when-not guidance, and no mention of the sibling AuthorizeApiToInstance or the cancel/apply variants of the operation.

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