Skip to main content
Glama

servicestage__CreatePersonalAuth

Create a personal access token authorization for GitHub, GitLab, or Gitee repositories in a ServiceStage project to enable secure source code integration.

Instructions

[SERVICESTAGE] 创建指定Git仓库类型的私人令牌授权。

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

Input Schema

NameRequiredDescriptionDefault
repo_typeYes仓库类型。
project_idYes租户的project ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It says nothing about required credentials or scopes, whether an existing token authorization is overwritten, whether the operation is idempotent, or what the response contains. For a create/mutation tool with zero annotation coverage, this is a significant disclosure gap.

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 description is a single front-loaded sentence with a tag prefix and no filler. It is efficient, though its brevity edges into under-specification rather than true conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations and no output schema, the definition should explain more about the mutation's side effects, permission requirements, and result for a 2-parameter creation tool. As written, an agent knows what it creates but not what happens when it does so.

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 the schema already documents both project_id and repo_type, including the github/gitlab/gitee enum. The description only echoes the repository-type concept without adding format, constraint, or interaction detail, so baseline 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 description uses a specific verb (创建/create) and a specific resource (私人令牌授权/personal token authorization), qualified by the Git repository type. This implicitly separates it from siblings such as CreatePasswordAuth and CreateOAuth, though it never names those siblings to make the distinction explicit.

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 description gives no conditions for when to use it: no prerequisites, no statement about which repository types or tenants are supported, and no comparison with password-based or OAuth authorization. The agent must infer from the name alone when this tool applies.

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