Skip to main content
Glama

独行录 / opcmenu

撤一条破冰匹配偏好

revoke_my_match_preference
Idempotent

【需要登录】确认后撤偏好,已撤幂等,返剩余。非定位事实可见性修改,PUBLIC事实须确认。list_my_match_preferences→撤;清过期防20条上限。

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": {
      "id": "<id>"
    },
    "name": "revoke_my_match_preference"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes偏好 id 或画像补充 id,从 list_my_match_preferences 的 prefs/facts 拿
visibilityNo仅画像:PUBLIC主页/PRIVATE仅匹配不公开;省略撤回

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / visibility / description
      Previous value: -"只对画像补充:PUBLIC 显示在主页 | PRIVATE 不公开(仍用于匹配);不带 = 撤回这条"New value: +"仅画像:PUBLIC主页/PRIVATE仅匹配不公开;省略撤回"
  2. Changed2 schema fields changed
    • changedInput schema / properties / id / description
      Previous value: -"偏好 id 或画像补充 id,从 list_my_match_preferences 的 prefs / facts 拿"New value: +"偏好 id 或画像补充 id,从 list_my_match_preferences 的 prefs/facts 拿"
    • changedInput schema / properties / visibility / description
      Previous value: -"只对画像补充:PUBLIC 显示在主页 | PRIVATE 不公开(仍用于匹配);不带 = 撤回这条"New value: +"只对画像补充:PUBLIC 显示在主页 | PRIVATE 不公开(仍用于匹配);不带 = 撤回这条"
  3. Changed2 schema fields changed
    • changedInput schema / properties / id / description
      Previous value: -"偏好 id,从 list_my_match_preferences 拿"New value: +"偏好 id 或画像补充 id,从 list_my_match_preferences 的 prefs / facts 拿"
    • addedInput schema / properties / visibility
      Added value: +{
      +  "description": "只对画像补充:PUBLIC 显示在主页 | PRIVATE 不公开(仍用于匹配);不带 = 撤回这条",
      +  "enum": [
      +    "PRIVATE",
      +    "PUBLIC"
      +  ],
      +  "type": "string"
      +}
  4. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, and the description partly repeats idempotency ('已撤幂等'). It does add genuine context beyond the annotations: login requirement, that the call returns remaining items, and that PUBLIC facts require confirmation. Because much of the value overlaps the annotations, a moderate score fits.

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?

It is compact and front-loads the login requirement, with no filler sentences. However, the heavy telegraphic compression and arrow notation make some clauses (e.g., '非定位事实可见性修改') harder to parse than a slightly longer phrasing would be.

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 full schema coverage, existing annotations, and no output schema, the description covers auth, idempotency, return value (remaining), confirmation rules, and a maintenance rationale. Little an agent needs to call it correctly is missing.

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 100%, so both parameters are fully documented in the schema, including the visibility enum and the id source. The description largely restates the id source (list_my_match_preferences) and the PRIVATE/PUBLIC visibility nuance already present in the schema. Baseline 3 is appropriate when the schema carries the detail.

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+resource ('撤偏好' / revoke preference) and even clarifies scope by excluding visibility-only modifications ('非定位事实可见性修改'). It is clearly a revoke of a match preference, distinguishable from siblings like list/set. Slightly diminished by telegraphic phrasing that makes the exact boundary a bit hard to parse.

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 workflow ('list_my_match_preferences→撤'), a prerequisite (login + confirmation), and a maintenance rule ('清过期防20条上限'). It does not enumerate other revoke_* siblings to steer away from, but the intended usage context is clearly conveyed.

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