Skip to main content
Glama

cloudide__CreateExtensionAuthorization

Set or update a plugin's authorization status for a CodeArts IDE Online instance, letting you agree, reject, or mark the request as unknown for later re-asking.

Instructions

[CLOUDIDE] 设置ide实例对插件的授权。同意、不同意、未知(下次重新询问)

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": {
      "extension_version": "<extension_version>",
      "identifier": "<identifier>",
      "instance_id": "<instance_id>",
      "status": "<status>"
    },
    "name": "cloudide__CreateExtensionAuthorization"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYes插件状态。
identifierYes插件标识(发布者.插件名)
instance_idYesCodeArtsIDEOnline实例ID
extension_versionYes插件版本

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?

With no annotations supplied, the description must carry the whole burden. It does disclose one non-trivial behavior — that UNKNOWN means the user will be re-prompted next time — but omits whether a prior decision is overwritten, whether the call is idempotent, and what permissions the caller needs.

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?

A single front-loaded sentence plus a compact parenthetical on the enum values; no filler. The bracketed '[CLOUDIDE]' prefix is noise, but everything else 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 four-required-parameter mutation with no annotations and no output schema, the description covers the intent and the status enum but leaves the mutation's side effects, error modes, and return behavior unaddressed. Adequate to invoke, thin for understanding consequences.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema by explaining the decision semantics of AGREE/REJECT/UNKNOWN, particularly that UNKNOWN defers to a future prompt. The other three parameters (identifier, instance_id, extension_version) get nothing beyond the schema labels.

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 uses a specific verb-plus-resource formulation: setting the IDE instance's authorization for an extension ('设置ide实例对插件的授权'). It is clearly distinguishable from the read-only sibling ShowExtensionAuthorization, though it never names that sibling 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: it is the write-side counterpart to ShowExtensionAuthorization, and the three status values hint at the decision flow. There is no explicit statement of when an agent should call this rather than inspect authorization first, and no prerequisites are given.

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