Skip to main content
Glama

roma__AssociateSignatureKeyV2

Bind a ROMA signature key to one or more API publish records so the key takes effect for API access control.

Instructions

[ROMA] 签名密钥创建后,需要绑定到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>",
      "project_id": "<project_id>",
      "publish_ids": "<publish_ids>",
      "sign_id": "<sign_id>"
    },
    "name": "roma__AssociateSignatureKeyV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
sign_idYes签名密钥编号
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
instance_idYes实例ID
publish_idsYesAPI的发布记录编号

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It reveals only that the operation has a prerequisite and an effect (the key becomes active) but says nothing about permissions, idempotency, whether binding a key that is already bound errors, or what happens to the listed publish records. For a mutation tool with zero annotation coverage this leaves most behavior undisclosed.

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

Conciseness3/5

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

It is a single short sentence with no filler, but it is not front-loaded on the action — the agent has to read to the end to infer that this is an association operation rather than a note about key lifecycle.

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?

No output schema, no annotations, and four required parameters, yet the description omits the result of the call, batch semantics of publish_ids, and failure conditions. It gives only the lifecycle prerequisite, which is not enough for an agent to invoke this mutation confidently.

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 all four parameters are already documented in the schema and the baseline is 3. The description adds nothing about sign_id, publish_ids (e.g., whether multiple API publish records are bound in one call), or instance/project scoping.

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

Purpose3/5

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

The description only states a precondition ("after a signature key is created, it needs to be bound to an API to take effect") and never says explicitly that this tool performs the binding. The verb+resource must be inferred from the tool name, so purpose is implied rather than stated, and nothing distinguishes it from the sibling DisassociateSignatureKeyV2 or apig__AssociateSignatureKeyV2.

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 implies the correct moment to use the tool (only after a key exists, and before it can take effect), which is genuine sequencing guidance. It names no alternative, no exclusion, and no note on when to prefer this over the apig__ counterpart or over disassociation.

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