Skip to main content
Glama

独行录 / opcmenu

更新我的资料

update_my_profile
Idempotent

【需要登录】更新当前用户资料,立即生效(资料修改不走审核)。所有字段可选,只传想改的;links 传则整组替换(要增删单条用 add_profile_link / remove_profile_link 更方便)。建议先 get_my_profile 读现状再改。

【canOffer 是全站撮合的轴心】search_people 搜的就是它、需求信息流的 matchScore 按它算、get_need_recommendations 拿它给作者推人。留空 = 从撮合池里掉出去,谁也搜不到你。帮用户入驻/整理资料时一定要顺手把它写上,而且要写具体(「能给早期项目做 0→1 的小程序开发,两周内出可用版本」远胜「技术合作」)。

【换头像】avatarUrl 先用 upload_image_from_url 转成独行录地址;换头像与 App 同一道内容安全(二维码、联系方式导流也拦),被拒返回 image_content_rejected,资料一个字段都不改。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bioNo一句话简介
introNo完整介绍
linksNo整组替换全部链接
canOfferNo我能提供什么(供给侧)。全站撮合的轴心字段:search_people 搜它、需求流的匹配分算它。写具体的能力/资源/交付物,别写形容词
locationNo
nicknameNo
avatarUrlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / links / items / properties / visibility / description
      Previous value: -"可见范围 public(公众)/friends(好友)/private(仅自己),缺省 public"New value: +"可见范围 public(公众)/friends(好友)/private(仅自己)。不传则按类型取更私密的默认值:手机=仅自己,微信/企微/QQ/WhatsApp=好友可见,其余 public。要公开联系方式必须显式传 public"
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations cover safety (idempotent, non-destructive), but the description adds substantial context beyond them: login requirement, no-review immediacy, whole-group replacement semantics for links, the matching-pool consequence of leaving canOffer empty, and a specific failure mode (image_content_rejected leaves all fields unchanged).

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?

Bracketed headers and bold emphasis make it scannable and front-loaded, and each block carries distinct information. It is on the longer side but nearly every sentence adds actionable detail rather than restating the schema.

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 7-param mutation with no output schema, the description covers mutation semantics, side effects, the matching consequence, and an error path. Only the unannotated minor fields (nickname, location) and post-update return behavior are untouched, which is a small gap.

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 57%, with nickname/location undocumented in both places. The description compensates for the critical parameters: links is whole-group replacement, canOffer has concrete content guidance, and avatarUrl must be converted via upload_image_from_url first. It just doesn't cover every field.

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 (更新当前用户资料) and immediately scopes behavior ('立即生效,资料修改不走审核'). It also names the sibling tools it is not (add_profile_link / remove_profile_link) and points to get_my_profile, so an agent can distinguish it from adjacent profile tools without opening schemas.

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?

Explicit when-to-use guidance: read get_my_profile first, prefer add/remove_profile_link for single-link edits, and always fill canOffer during onboarding. Both the alternative and the condition that selects it are stated.

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