Skip to main content
Glama
lj22503

InvestBrain

user_update_profile

Updates a local user profile with only the fields you provide, such as nickname, risk profile, investment style, goals, experience, or settings. Use it to keep investment preferences current without overwriting untouched data.

Instructions

更新本地用户 profile(只更新传入字段)。

Args:
    nickname / risk_profile / investment_style / experience_years / goals / settings: 需更新的字段
    user_id: 用户 ID(默认 local)

Returns:
    {updated: true/false, profile: {...}}

Input Schema

NameRequiredDescriptionDefault
goalsNo
user_idNolocal
nicknameNo
settingsNo
risk_profileNo
experience_yearsNo
investment_styleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses partial-update semantics ('只更新传入字段'), the default user_id='local', and the return shape {updated, profile}. It omits whether the profile must already exist, error/failure conditions, and permission requirements for a mutation tool.

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-loads the core action, then uses clean Args/Returns sections with no wasted prose. Appropriately sized for a 7-parameter mutation.

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 7-param mutation with a nested settings object and no annotations, the description covers partial-update behavior and the return value but is silent on existence preconditions, failure modes, and permissions. It gives an agent enough to attempt the call but not to predict edge-case outcomes.

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 0%, so the description must compensate. It names all seven parameters and groups six as 'fields to update' plus user_id with its default, which adds meaning beyond the bare schema. However, it provides no type, format, or allowed values for fields like risk_profile and investment_style, so compensation is only partial.

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?

States a specific verb+resource: '更新本地用户 profile' (update local user profile), which an agent can distinguish from user_create_profile and user_get_profile. It does not, however, explicitly name or contrast those siblings, so differentiation is implied by the verb rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use / when-not-to-use guidance and no mention of the alternatives (user_create_profile for creation, user_get_profile for reads). The parenthetical about only updating passed fields describes behavior, not the conditions that should route an agent here.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools