Skip to main content
Glama

开白标站 / 改站点设置

build_site_setup
Read-only

Generate a signed off-chain request to create or update a branded site's settings, then personal_sign the message and PUT the signature to the provided path without spending gas.

Instructions

生成开白标站(或修改站点设置)的签名请求:不上链、不花 gas。用户钱包对返回的 sign.message 做 personal_sign,再把 request.body 里的 signature 换成签名结果,PUT 到 request.path(和 agent 工具同一个 API 前缀,例如 https:///api/v1/site-owners/<地址>)。签名 5 分钟内有效。一个钱包一个站。

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": {
      "account": "<account>"
    },
    "name": "build_site_setup"
  }
}

Input Schema

NameRequiredDescriptionDefault
logoNo
nameNo品牌名
siteNo站点名(子域名),小写字母数字和 -,3–31 位;第一次开站必填
styleNo配色:default / midnight / neon / paper / retro / mono
accountYes用户钱包地址(交易的签名人和收款人)
marketsNo额外上架的市场 slug(自己的市场总会展示),用 list_markets 查
featuresNo功能开关:perp 交易、token 代币、lp、info 详情、invite 邀请
seoTitleNo
templateNo首页模板:terminal 交易终端 / community Meme 社区 / brand 项目官网 / minimal 极简列表 / single 单币专区(只上架一个市场)/ yield LP 理财
seoDescriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description resolves the apparent tension by explaining that this only produces a signable payload with no on-chain action and no gas — the write happens in the caller's subsequent PUT. It adds concrete behavioral facts (5-minute validity, one-site-per-wallet, the exact delivery step) that annotations cannot express. It stops short of saying what happens when an address already has a site or whether a second call overwrites the first, so not a 5.

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?

Purpose and the no-gas guarantee are front-loaded, then the signing flow, with no filler sentences. It is one dense run-on that packs the API prefix hint and the example URL into a parenthetical, which is efficient but slightly hard to scan.

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

Completeness4/5

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

With 10 parameters, a nested features object and no output schema, the description carries the return-shape burden well by naming sign.message, request.body and request.path, so an agent knows what to do with the response. Remaining gaps are minor: it does not clarify the create-vs-update distinction beyond the schema note that site is required the first time, nor what happens on repeated calls.

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 70% and the high-value parameters (site, style, template, markets, features, name) already carry descriptions and enums in the schema. The description adds no parameter-level meaning of its own — account, logo, seoTitle and seoDescription remain undocumented in both places. With the schema doing the heavy lifting, baseline 3 applies.

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 first clause names a specific verb and resource: generating a signed request to create a whitelabel site or change its settings. It immediately scopes the tool with '不上链、不花 gas', which separates it from any sibling that actually submits transactions, and the resource (site setup) is unique in the build_* family.

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

Usage Guidelines4/5

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

The description gives a usable operating procedure (personal_sign the returned sign.message, swap the signature into request.body, PUT to request.path) plus two constraints: the signature expires in 5 minutes and one wallet maps to one site. It does not name an explicit alternative tool or a 'do not use when' case, which keeps it below a 5.

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