Skip to main content
Glama

workspace__CreateAndAuthorizeBucket

Adds and authorizes a default OBS bucket for a project, automatically creating the bucket if it does not exist.

Instructions

[WORKSPACE] 添加并授权默认桶,桶不存在时会自动创建OBS桶。

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": "workspace__CreateAndAuthorizeBucket"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden of disclosure. It does earn credit for one genuine behavioral fact that goes beyond the name and schema: if the bucket does not exist, an OBS bucket is created automatically. It omits what 'authorize' actually grants (which identity or service gets access, and with what permissions), whether the operation is idempotent, and what happens on 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?

The definition is a single front-loaded sentence with no filler, and the auto-creation caveat is sensibly appended. It is efficient, though it is terse to the point that structure cannot help with the missing usage detail.

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 mutation tool that creates and authorizes a cloud resource, with no annotations and no output schema, the definition covers the main side effect but leaves the authorization scope, failure modes, and result shape unstated. It is adequate as a minimum, but not complete.

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 (project_id), and its schema description covers it at 100%, so the schema already does the work here. The description adds no meaning beyond the schema, such as whether project_id scopes the default bucket or the authorization grant. With complete schema coverage, the baseline of 3 is appropriate.

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 definition pairs a concrete verb, '添加并授权' (add and authorize), with a concrete resource, the default OBS bucket in the workspace, so an agent can tell what the call accomplishes. It falls short of a 5 because '默认桶' is left undefined (it never says which bucket this defaults to or what scope it belongs to) and because the definition never distinguishes this tool from the closely named siblings such as workspaceapp__AuthorizeObs or workspace__CreateBucketCredential.

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

Usage Guidelines2/5

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

The definition says nothing about when to choose this tool over the alternatives, when not to call it, or what prerequisites must hold first. At best, the phrase '默认桶' hints that this tool is for initial workspace bucket setup, but the agent has to infer even that.

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