Skip to main content
Glama

安全配置 IsingQ API Key

isingq_api_key_setup

Configures IsingQ cloud API credentials through a secure input flow that directs users to create a key in the console and keeps secrets out of chat.

Instructions

仅当用户请求配置云服务凭据时打开安全输入入口。先引导用户登录https://console.isingq.com/并在API Key页面创建Key,不在对话中接收或显示秘密;本地求解不要求云Key。返回配置状态不证明远端鉴权成功。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "isingq_api_key_setup"
  }
}

Input Schema

NameRequiredDescriptionDefault
forceNo已有 Key 时是否由用户明确要求重新配置

Output Schema

NameRequiredDescriptionDefault
okYes工具调用是否成功
dataNo成功时返回的数据
errorNo
update_noticeNo可选的已完成后台新版提示;不要求用户回应。不出现时不得主动谈论更新。
runtime_identityNo宿主后台核对实际加载来源;不在普通业务回复中打印。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.9.1
    • addedOutput schema / properties / runtime_identity
      Added value: +{
      +  "description": "宿主后台核对实际加载来源;不在普通业务回复中打印。",
      +  "type": "object"
      +}
    • addedOutput schema / properties / update_notice
      Added value: +{
      +  "description": "可选的已完成后台新版提示;不要求用户回应。不出现时不得主动谈论更新。",
      +  "type": "object"
      +}
  2. First observedv0.5.0

TDQS

A4.5/5.0
Behavior4/5

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

The annotations only say this is a non-read-only, non-destructive, non-idempotent operation. The description adds behavior those annotations do not cover: it never receives or displays secrets in the conversation, it requires the user to obtain a key from the external console first, and it warns that a returned configuration status does not prove that remote authentication succeeded. These are exactly the details an agent needs before acting safely. The definition does not say what happens to an existing key when force is not used, which keeps it below 5.

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

Conciseness5/5

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

The definition is four compact sentences, and the gating condition is front-loaded correctly. Every clause adds information: the trigger condition, the console URL, the secret-handling rule, the local-solve exception, and the status caveat. None is filler.

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

Completeness5/5

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

The definition is complete given the tool's complexity. Because an output schema exists, the definition need not describe the return fields, yet it still supplies the one non-obvious return caveat: status is not proof of remote authentication. The prerequisites and security constraints an agent must know before invoking are all present.

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%: the single boolean parameter, force, is fully documented in the schema as "whether the user explicitly requests reconfiguration when a key exists". The description never mentions force or the reconfigure condition, so it adds no meaning beyond the schema. A baseline 3 is appropriate.

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

Purpose5/5

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

The definition gives a specific verb and resource: it opens a secure input entry to configure IsingQ cloud credentials. It explicitly separates this operation from local solving ("本地求解不要求云Key"), so an agent can distinguish it from isingq_solve and from the read-oriented siblings without needing to inspect their schemas.

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

Usage Guidelines5/5

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

The opening clause states a hard gate: open only when the user asks to configure cloud credentials. The closing clause names the condition under which the tool should not be used (local solving needs no key). Both when and when-not are explicit, so no inference is needed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.