Skip to main content
Glama

独行录 / opcmenu

设置我的兴趣偏好

set_my_preferences
Idempotent

登录;确认后全替兴趣/描述及embedding,影响feed非匹配/推送。get_my_profile→确认→set;匹配set_my_match_preference。

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": {
      "interests": "<interests>"
    },
    "name": "set_my_preferences"
  }
}

Input Schema

NameRequiredDescriptionDefault
freeTextNo一句自由描述(与标签一起 embed),可选
interestsYes兴趣标签(整组替换,最多 20 个)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / freeText / description
      Previous value: -"一句自由描述(与标签一起 embed),可选"New value: +"一句自由描述(与标签一起 embed),可选"
    • changedInput schema / properties / interests / description
      Previous value: -"兴趣标签(整组替换,最多 20 个)"New value: +"兴趣标签(整组替换,最多 20 个)"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations only declare idempotentHint=true and destructiveHint=false; the description adds the crucial semantics that this is a FULL replacement rather than a merge, that the tags and free text are embedded together, and that the result affects feed matching and push. This is substantial context beyond the annotations. It does not contradict them, since re-running with the same input yields the same state.

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?

Every token carries meaning and the login prerequisite is front-loaded, but the arrow notation and dense abbreviations make it cryptic rather than readable. Brevity here comes at the cost of comprehension.

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 2-parameter tool with no output schema, it covers the prerequisite (login), the workflow (fetch profile, confirm, then set), the replacement semantics, the side effects on feed and push, and the sibling for matching. An agent has enough to invoke it correctly, though the confirmation step could be spelled out.

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 100%, so the schema already documents both interests (max 20 tags) and freeText (optional, embedded with tags). The description only echoes that both are replaced and embedded together. Baseline 3 is appropriate when 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 states a specific verb and resource: it fully replaces (全替) the interest tags, free-text description, and embedding. It also explicitly distinguishes itself from the sibling set_my_match_preference, which handles matching preferences. The telegraphic Chinese phrasing is understandable but compressed enough that it takes a second read.

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 a concrete sequence, get_my_profile → confirm → set, and names the alternative for matching (set_my_match_preference). It also flags that login is required. What is missing is any guidance on when NOT to overwrite existing preferences, and the confirmation step is not described in detail.

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