Skip to main content
Glama

Zhenghe — 正和支付路由与资本保全金库

jic_auth_challenge

【JIC 第 1 步】拿登录挑战。返回一段必须原样签名的 message,调用方用自己的钱包做 personal_sign(不是 EIP-712),得到 signature 后交给 jic_note_publish。私钥永不上传到服务器——这里只产生 nonce 文本。换来的 JWT 有效期 2 小时,过期重走本步即可。

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": {
      "address": "<address>"
    },
    "name": "jic_auth_challenge"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes签名钱包地址 0x…(必填)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses that the returned message must be signed verbatim, specifies personal_sign rather than EIP-712, states the private key is never uploaded, and gives the 2-hour JWT lifetime plus expiry recovery. This is exactly the behavioral context an agent needs.

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?

Front-loaded with the step marker and role, then each subsequent clause conveys a distinct, necessary fact (return value, signing method, security posture, token lifetime, recovery). No filler sentences.

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?

For a one-parameter challenge endpoint with no output schema and no annotations, the description covers what is returned, how to consume it, where it flows next, and the credential lifetime. Nothing essential to correct invocation is missing.

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 single address parameter is already documented as the signing wallet address, so the schema does the heavy lifting. The description corroborates that the caller uses their own wallet but adds no format or validation detail beyond the schema.

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?

States a specific verb+resource (obtain a login challenge) and explicitly frames itself as step 1 of a named flow, then names the sibling (jic_note_publish) where the resulting signature goes. An agent can place this tool in the auth sequence without opening the schema.

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?

Gives clear context: call this first, sign the returned message, pass the signature to jic_note_publish, and re-run this step when the 2-hour JWT expires. It does not explicitly say what would make this tool the wrong choice versus alternatives, but the sequencing guidance is strong.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources