Skip to main content
Glama

独行录 / opcmenu

设置我的身份

set_persona
Idempotent

登录;确认角色后更新;personas全量替换,省略会缩为一个,先get_my_profile保留已有多角色。OTHER填personaOther,仅FOUNDER处理creatorType。角色→get_onboarding_status→补资料→complete_onboarding。

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

B3.4/5.0
Behavior4/5

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

The definition discloses behavior the annotations do not: personas is a full replacement and omitting it shrinks the account to a single role — a data-loss consequence worth warning about, especially since annotations only say idempotentHint=true/destructiveHint=false. It also adds a login prerequisite and the OTHER→personaOther / FOUNDER→creatorType conditionals. It does not state whether the change is reversible or what is returned, 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.

Conciseness3/5

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

The text is short with no filler sentences, but it is a telegraphic run-on of semicolon-separated fragments and arrow chains that mixes login state, replacement semantics, field conditionals, and an onboarding workflow in no particular order. "登录" at the very front is not the most useful lead-in for an agent deciding whether to call this tool.

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

Completeness3/5

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

For a 4-parameter mutation tool with no output schema, the definition covers the key operational risk (role shrink) and the downstream onboarding path, which is reasonably complete. What is missing is a plain statement of effect and the relationship to set_my_role_profile, so the agent still has to guess at the tool's core purpose.

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 75% and already documents the personas replacement rule, personaOther being required when persona=OTHER, and creatorType being suggested for FOUNDER. The description adds one constraint beyond the schema ("仅FOUNDER处理creatorType"), which tightens a schema that only says "建议带上", but it supplies nothing for the `persona` field itself. Given the high coverage baseline, the marginal addition earns a 3.

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

Purpose3/5

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

The description implies an update of the caller's identity through elliptical phrasing ("确认角色后更新") and the personas replacement rule, but it never states plainly what the tool does, e.g. "set/replace the current user's persona(s)". It also gives no differentiation from the sibling set_my_role_profile, leaving the agent to infer scope from the enum values alone.

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 concrete sequencing guidance: call get_my_profile first to preserve existing multi-roles, and after setting the role go through get_onboarding_status → 补资料 → complete_onboarding. That names sibling tools and the order to use them, which is real routing value. It stops short of an explicit "when not to use this" statement or a contrast with set_my_role_profile.

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