Skip to main content
Glama

独行录 / opcmenu

设置我的身份

set_persona
Idempotent

登录;确认角色再改;personas全替换,省略缩为一个,先get_my_profile保留多角色。OTHER须personaOther,仅FOUNDER处理creatorType。→get_onboarding_status→补缺→complete_onboarding。

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": {
      "persona": "<persona>"
    },
    "name": "set_persona"
  }
}

Input Schema

NameRequiredDescriptionDefault
personaYes
personasNo全部身份(多重身份,自动含主身份并去重);不传 = 收缩为仅主身份
creatorTypeNo创造者类型(persona=FOUNDER 时建议带上),取值:INDIE_DEV(独立开发者) | AI_BUILDER(AI 应用 / Agent 开发者) | GAME_DEV(独立游戏开发者) | CREATOR(自媒体 / 创作者) | DESIGNER(独立设计师 / 插画师) | RESEARCHER(独立研究者 / 民间高手) | CONSULTANT(独立咨询 / 自由专家) | PHOTOGRAPHER(独立摄影 / 写真 / 跟妆) | BRAND_MAKER(独立品牌 / 手作 / 主理人) | HARDWARE(独立硬件 / 机器人) | OTHER(其他创造者)
personaOtherNopersona=OTHER 时必填的自定义身份

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / personas / description
      Previous value: -"全部身份(多重身份,自动含主身份并去重);不传 = 收缩为仅主身份"New value: +"全部身份(多重身份,自动含主身份并去重);不传 = 收缩为仅主身份"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Goes well beyond the supplied annotations (idempotentHint=true, destructiveHint=false) by disclosing that personas is a full replacement and that omitting it silently collapses the user to a single persona — a data-loss trait the annotations do not signal. It also states auth requirements and the conditional branches (OTHER requires personaOther, only FOUNDER consumes creatorType). It stops short of saying what the response contains, which matters slightly given destructiveHint=false understates the overwrite behavior.

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

Conciseness3/5

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

Very short and information-dense with no filler, but written as semicolon-separated fragments and trailing arrows rather than sentences, which makes the ordering of prerequisites hard to parse. It is terse to the point of obscurity for a non-Chinese-native or low-context reader.

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?

For a 4-parameter mutation with annotations and no output schema, the definition covers auth, prerequisite reads, replacement semantics, conditional fields, and the onboarding follow-up chain. What is missing is the outcome of the call — whether it returns the updated profile or merely an acknowledgement — which the absence of an output schema leaves entirely unaddressed.

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 75% and the schema already documents personas ('不传 = 收缩为仅主身份'), personaOther ('persona=OTHER 时必填'), and creatorType's enum values in detail. The description largely restates these, adding only the mild refinement that creatorType is processed only for FOUNDER versus the schema's softer '建议带上'. Baseline 3 is appropriate since the schema does the heavy lifting.

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

Purpose4/5

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

The description makes clear this writes the caller's own persona/identity set, most concretely through 'personas全替换,省略缩为一个' which defines the write semantics of the resource. It does not explicitly contrast with near siblings such as set_my_role_profile or set_my_preferences, so an agent must infer the split from the name alone.

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?

Gives concrete preconditions and alternatives: '登录' (must be authenticated), '确认角色再改' (confirm the role before changing it), and '先get_my_profile保留多角色' which names the exact call to make first when multi-role data must survive. It also supplies a downstream workflow chain (→get_onboarding_status→补缺→complete_onboarding), so the agent knows both when to call this and what follows.

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