Skip to main content
Glama

独行录 / opcmenu

更新我的资料

update_my_profile
Idempotent

登录;确认后立即patch公开资料,canOffer须具体供给。links全替换,单条add/remove_profile_link;avatar先upload_image_from_url,图片安全失败整次不写。get_my_profile→确认→更新→get_my_card。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "update_my_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
bioNo一句话简介
introNo完整介绍
linksNo整组替换全部链接
canOfferNo具体供给/能力/资源/交付物,勿空泛形容;search_people及需求流匹配依据
locationNo
nicknameNo
avatarUrlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / canOffer / description
      Previous value: -"我能提供什么(供给侧)。全站撮合的轴心字段:search_people 搜它、需求流的匹配分算它。写具体的能力/资源/交付物,别写形容词"New value: +"具体供给/能力/资源/交付物,勿空泛形容;search_people及需求流匹配依据"
    • changedInput schema / properties / links / items / properties / type / description
      Previous value: -"链接类型 key,见 LINK_TYPES,如 website/github/wechat/douyin;未知用 other"New value: +"LINK_TYPES类型key,如website/github/wechat/douyin;未知other"
    • changedInput schema / properties / links / items / properties / url / description
      Previous value: -"链接地址(联系方式可填账号/二维码图 URL)"New value: +"URL;联系可填账号/二维码图URL"
    • changedInput schema / properties / links / items / properties / visibility / description
      Previous value: -"可见范围 public(公众)/friends(好友)/private(仅自己)。不传则按类型取更私密的默认值:手机=仅自己,微信/企微/QQ/WhatsApp=好友可见,其余 public。要公开联系方式必须显式传 public"New value: +"public公众/friends好友/private自己;默认手机private,微信/企微/QQ/WhatsApp friends,其余public;公开联系须显式public"
  2. Changed5 schema fields changed
    • changedInput schema / properties / canOffer / description
      Previous value: -"我能提供什么(供给侧)。全站撮合的轴心字段:search_people 搜它、需求流的匹配分算它。写具体的能力/资源/交付物,别写形容词"New value: +"我能提供什么(供给侧)。全站撮合的轴心字段:search_people 搜它、需求流的匹配分算它。写具体的能力/资源/交付物,别写形容词"
    • changedInput schema / properties / links / items / properties / label / description
      Previous value: -"备注名,可选"New value: +"备注名,可选"
    • changedInput schema / properties / links / items / properties / type / description
      Previous value: -"链接类型 key,见 LINK_TYPES,如 website/github/wechat/douyin;未知用 other"New value: +"链接类型 key,见 LINK_TYPES,如 website/github/wechat/douyin;未知用 other"
    • changedInput schema / properties / links / items / properties / url / description
      Previous value: -"链接地址(联系方式可填账号/二维码图 URL)"New value: +"链接地址(联系方式可填账号/二维码图 URL)"
    • changedInput schema / properties / links / items / properties / visibility / description
      Previous value: -"可见范围 public(公众)/friends(好友)/private(仅自己)。不传则按类型取更私密的默认值:手机=仅自己,微信/企微/QQ/WhatsApp=好友可见,其余 public。要公开联系方式必须显式传 public"New value: +"可见范围 public(公众)/friends(好友)/private(仅自己)。不传则按类型取更私密的默认值:手机=仅自己,微信/企微/QQ/WhatsApp=好友可见,其余 public。要公开联系方式必须显式传 public"
  3. 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"
  4. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the supplied annotations (idempotentHint, destructiveHint=false), the description discloses real behavioral traits: login is required, changes take effect immediately upon confirmation ('确认后立即patch'), the links field is a full replacement, and image-safety failure on the avatar aborts the entire write ('整次不写' — atomic all-or-nothing). The all-or-nothing clause is the most valuable disclosure here. One tension worth noting: wholesale link replacement discards prior links, which sits awkwardly with destructiveHint=false, though it reflects the field's declared replace semantics rather than a direct contradiction.

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?

Every clause carries distinct information — no filler sentences. The confirmation-first constraint and the field-level caveats are front-loaded, with the read→confirm→write→verify flow compressed into a final arrow sequence. The clipped, comma-spliced style packs density at some cost to readability, which is why it isn't a 5.

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-parameter mutation tool with no output schema and only idempotent/destructive annotations, the description covers the essentials: auth requirement, immediate application, atomicity on avatar failure, and a verify step via get_my_card. What remains thin is per-field guidance for the plain text fields (bio, intro, nickname, location), which an agent must infer from the schema alone.

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 57%, so the description needs to carry some of the load. It does add operational meaning for avatarUrl (must be uploaded via upload_image_from_url first) and reinforces that canOffer must be concrete rather than vague, and that links is a whole-group replacement — though the latter two are largely restated from the schema. It says nothing about bio, intro, nickname, or location, leaving roughly half the parameters documented only in the schema.

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 states a specific verb and resource ('patch公开资料' — patch the public profile) and makes clear it operates on the caller's own profile. It distinguishes itself from the sibling add_profile_link/remove_profile_link by declaring that links here are replaced wholesale. The telegraphic phrasing and the trailing arrow sequence make it slightly less immediately readable than a clean sentence, keeping it at 4.

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 names concrete alternatives and the condition that selects them: single-link edits should go through add/remove_profile_link, and an avatar must first go through upload_image_from_url. The prescribed sequence 'get_my_profile→确认→update→get_my_card' gives an explicit operating flow with a confirmation gate. It stops short of saying when a caller should prefer update_my_guest_profile or update_my_signup_profile, but the sibling names alone don't establish those behaviors.

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