Skip to main content
Glama

AI SHOP (ShadowOS Market)

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.4/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does substantial work: it discloses that no key is needed to call it, that a human must approve via Face ID/fingerprint, that the resulting token expires in 15 minutes, and that the token is bound to the supplied public key. It stops short of stating what happens on user refusal, whether a pairing code is single-use, or whether repeated calls stack multiple sessions.

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?

Front-loaded with the key constraint (no key required) and the call-first rule, then the flow, then parameters — a sensible ordering. It is dense but readable; the trailing sentence partly repeats what agent_name and scopes already say in the schema.

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 multi-step auth flow with no annotations and no output schema, the description covers what to send, what comes back (link plus code), who must act (the user, biometrically), and how long the result lasts. That is enough for an agent to drive the round trip correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description adds genuine constraint not present in the schema: public_key_jwk must be a P-256 or Ed25519 key and must be a public key only. The scopes list and default-to-all-three behavior merely restate 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 action (opens a pairing session) and names exactly what it returns (the link and pairing code the user must open), plus the outcome (a 15-minute pass bound to the caller's public key). It is clearly the authorization/entry step relative to the obligation siblings like create_listing or send_message, so an agent can identify it 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?

The opening clause '要代使用者做事時先呼叫這個' gives an explicit ordering and condition (call this first whenever acting on the user's behalf). It does not name an alternative or state a when-not case, but no sibling appears to be a competing auth path, so the guidance is clear rather than exhaustive.

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