Skip to main content
Glama

独行录 / opcmenu

改我某条链接的可见范围

set_link_visibility
Idempotent

【需要登录】把当前用户某条链接(按 url 匹配,可加 type 限定)的可见范围改成 public/friends/private。

【例】「把我的手机号改成仅自己可见」。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes目标链接 url
typeNo可选,进一步限定类型
visibilityYespublic/friends/private

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare a non-destructive, idempotent mutation (readOnlyHint=false, idempotentHint=true, destructiveHint=false), so the description needn't restate that. It adds genuinely useful context beyond the annotations, namely the 【需要登录】 authentication requirement, though it says nothing about permission scope or side effects.

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?

Two compact sentences with the auth constraint front-loaded and the example appended; there is little wasted text. The parenthetical and bracketed example are helpful but slightly heavy for what could be a single sentence, keeping it just short of 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 simple three-parameter mutation with annotations covering the safety profile and no output schema, the description supplies the needed context: purpose, match key, allowed values, and auth requirement. It lacks only details on permissions or post-change effects, a minor omission.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description meaningfully adds to it by explaining that links are matched by url and that type optionally narrows the match, plus enumerating the allowed visibility values — going beyond the bare schema field descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (把...可见范围改成) and a specific resource (当前用户某条链接), plus the exact target values (public/friends/private). It clearly distinguishes itself from sibling link tools like add_profile_link and remove_profile_link, so an agent can identify it without opening the schema.

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 states the login requirement upfront and explains the match key (url, optionally narrowed by type), which tells the agent when this tool applies. It offers a concrete example but does not name alternatives or explicit when-not conditions, so it falls short of a 5.

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