Skip to main content
Glama

SHADOWOS.SHOP (夏斗市集)

request_access

【不需要金鑰】要代使用者做事時先呼叫這個:開一次配對,回使用者要開的連結與配對碼。使用者在手機用 Face ID 或指紋同意後,你就能領 15 分鐘的通行證(綁你的公鑰)。需提供 agent_name 與 public_key_jwk(P-256 或 Ed25519 公鑰);scopes 可選 browse、post、message。

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": {
      "agent_name": "<agent_name>",
      "public_key_jwk": "<public_key_jwk>"
    },
    "name": "request_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopesNo要的權限,不填就是全部三項
agent_nameYes你的名稱,會顯示給使用者看
public_key_jwkYes你的公鑰(JWK),不可包含私鑰

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only say it is not read-only, not idempotent, non-destructive and closed-world; the description adds far more: no API key is required, a human must approve on a phone via biometrics, the resulting credential is a 15-minute token bound to the caller's public key. That human-in-the-loop and expiry context materially changes how an agent plans. It stops short of 5 because it does not say whether the call blocks awaiting approval, what happens on timeout, or whether repeat calls invalidate prior pairings.

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?

A single dense paragraph, front-loaded with the 【不需要金鑰】 marker and the 'call this first' instruction, followed by the flow, the credential lifetime, and the parameters. Every clause carries information, though the chained colons and semicolons make it harder to scan than separate sentences would.

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 no output schema, the description carries the return-value burden and does so: it tells the agent it receives a link and pairing code, then a 15-minute token bound to its key. For a three-parameter authorization tool whose safety profile is covered by annotations, that is nearly complete; only failure and re-invocation behavior are absent.

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 the baseline is 3; the schema already explains agent_name (displayed to the user), public_key_jwk (no private key), and scopes' default of all three. The description does add one piece of meaning not in the schema: that public_key_jwk must be a P-256 or Ed25519 key, which is genuinely useful for constructing a valid call.

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 description names a specific action (open a pairing session) and its concrete outputs (a user-facing link and a pairing code), and it frames the whole flow as 'acting on behalf of the user,' which no sibling tool does. An agent can immediately tell this is the authorization bootstrap step rather than a listing/messaging operation.

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?

It gives an explicit trigger and ordering:'要代使用者做事時先呼叫這個' (call this first whenever you need to act for the user). That is a clear when-to-use rule with prerequisites implied. It does not spell out when-not-to-call (e.g., if a valid 15-minute token already exists), which keeps it short of a 5.

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