Skip to main content
Glama

独行录 / opcmenu

记一条破冰匹配偏好

set_my_match_preference
Idempotent

【需要登录】确认原意后记想要/避开方向,同条更新范围;recorded=false未写,失效需求或scopeDowngraded到TEMP。≤20满撤最旧。先list_my_match_preferences;pause_need_icebreak停单需,revoke_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": {
      "polarity": "<polarity>",
      "scope": "<scope>",
      "text": "<text>"
    },
    "name": "set_my_match_preference"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoscope=TEMPORARY 时的天数,缺省 30
textYes一句陈述,直接描述想/不想认识什么样的人(服务端会归一并裁到 60 字;别带指令或裁决词,那种整条丢弃)
scopeYesPROFILE长期/NEED仅指定在架需求配needId/TEMPORARY近N天配days
needIdNoNEED需求id取list_my_needs;非本人在架则降级TEMPORARY
polarityYesWANT 想认识这类人 | AVOID 别再给我推这类人

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / needId / description
      Previous value: -"scope=NEED 时的需求 id,从 list_my_needs 拿;不是本人在架需求会被降级成 TEMPORARY"New value: +"NEED需求id取list_my_needs;非本人在架则降级TEMPORARY"
    • changedInput schema / properties / scope / description
      Previous value: -"PROFILE 长期一直记着 | NEED 只对某条在架需求生效(配 needId)| TEMPORARY 最近 N 天(配 days)"New value: +"PROFILE长期/NEED仅指定在架需求配needId/TEMPORARY近N天配days"
  2. Changed2 schema fields changed
    • changedInput schema / properties / needId / description
      Previous value: -"scope=NEED 时的需求 id,从 list_my_needs 拿;不是本人在架需求会被降级成 TEMPORARY"New value: +"scope=NEED 时的需求 id,从 list_my_needs 拿;不是本人在架需求会被降级成 TEMPORARY"
    • changedInput schema / properties / scope / description
      Previous value: -"PROFILE 长期一直记着 | NEED 只对某条在架需求生效(配 needId)| TEMPORARY 最近 N 天(配 days)"New value: +"PROFILE 长期一直记着 | NEED 只对某条在架需求生效(配 needId)| TEMPORARY 最近 N 天(配 days)"
  3. Added

TDQS

A3.8/5.0
Behavior4/5

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

Goes well beyond the idempotentHint/destructiveHint annotations: it declares a login requirement, a cap of ≤20 with eviction of the oldest entry (≤20满撤最旧), need-ID downgrade to TEMPORARY (失效需求或scopeDowngraded到TEMP), and return semantics (recorded=false 未写). The eviction side effect sits in slight tension with destructiveHint=false, but it is explicitly disclosed rather than hidden, so no contradiction is flagged. Only the shape of the success response beyond recorded=false is left vague.

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?

Extremely compact — every clause carries information (auth, cap, downgrade, return, prerequisite, alternatives) with no filler. However, the dense telegraphic style joined by semicolons is hard to parse, and the login requirement is front-loaded ahead of the core purpose, weakening front-loading of the main action.

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 5-parameter mutation tool with no output schema, the description covers the important unknowns: auth, capacity/eviction behavior, need-ID downgrade, partial-write signal (recorded=false), sequencing and sibling alternatives. What remains thin is the exact returned payload and error conditions, which are secondary but not negligible.

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%, and the schema itself already explains days' default of 30, the 60-character normalization of text, the PROFILE/NEED/TEMPORARY scope mapping and the needId downgrade. The description adds only the TEMP downgrade outcome, which duplicates the schema. Baseline 3 applies since the schema does the explanatory work.

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 concrete verb and resource in Chinese: 记想要/避开方向 (record a WANT/AVOID direction) with 同条更新范围 (same-entry scope update). It is distinguishable from revoke_my_match_preference and list_my_match_preferences, which it names. The telegraphic phrasing (确认原意后, 范围) makes the purpose legible but not instantly clear.

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?

Gives an explicit prerequisite (先 list_my_match_preferences) and a prerequisite of intent confirmation (确认原意后). It routes the agent away with two named alternatives: pause_need_icebreak for pausing a single need and revoke_my_match_preference for revocation. No explicit 'do not use when' clause, but the routing is clear.

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