Skip to main content
Glama

roma__CreateSignatureKeyV2

Creates a ROMA API signature key to authenticate request sources and reject unauthenticated access. Use it to configure instance-level signing credentials for protected APIs.

Instructions

[ROMA] 为了保护API的安全性,建议租户为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": {
      "instance_id": "<instance_id>",
      "name": "<name>",
      "project_id": "<project_id>"
    },
    "name": "roma__CreateSignatureKeyV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。
sign_keyNo签名密钥的key。
sign_typeNo签名密钥类型:
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
instance_idYes实例ID
sign_secretNo签名密钥的密钥。
sign_algorithmNo签名算法。默认值为空,仅aes类型签名密钥支持选择签名算法,其他类型签名密钥不支持签名算法。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing about creation semantics: whether sign_key/sign_secret are auto-generated or supplied, uniqueness constraints on name, whether the call is idempotent, or what permissions are required. The only value added is domain context about what signature keys are for (rejecting unauthenticated request origins).

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

Conciseness2/5

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

It is a single sentence, so length is not the problem; the problem is that the one sentence is entirely preamble and the operative verb is never front-loaded. Every word is spent on motivation instead of telling the agent what the call does.

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

Completeness1/5

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

For a 7-parameter write operation with mandatory instance_id and project_id, no annotations, and no output schema, the description should at minimum state that it provisions a new signature key. It omits the action, side effects, and any indication of what the response contains, leaving the definition inadequate relative to the tool's complexity.

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 coverage is 100%, with per-property descriptions and enums for sign_type and sign_algorithm, so the schema already handles parameter meaning. The description adds no additional parameter information, which meets the baseline-3 expectation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never states the action. It reads as background marketing copy: 'it is recommended tenants provide a protection mechanism for API access... requests that do not meet authentication are rejected.' Neither 'create' nor 'signature key' appears, so an agent cannot tell from the text that this tool creates a signature key, nor distinguish it from UpdateSignatureKeyV2, AssociateSignatureKeyV2, or the apig__ duplicates.

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?

There is only a general rationale for why signature keys exist (source authentication), with no guidance on when to call this tool rather than the sibling Update/List/Associate tools, no prerequisites, and no statement that this is the creation entry point before binding keys to APIs.

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