Skip to main content
Glama

独行录 / opcmenu

改我某条链接的可见范围

set_link_visibility
Idempotent

登录;按url及可选type改本人链接为public/friends/private。

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": {
      "url": "<url>",
      "visibility": "<visibility>"
    },
    "name": "set_link_visibility"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / type / description
      Previous value: -"可选,进一步限定类型"New value: +"可选,进一步限定类型"
  2. First observed

TDQS

B3.4/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, so safety is partly covered. The description adds genuinely useful context beyond that — a login requirement and the ownership restriction ('本人') — but says nothing about behavior when the URL does not exist, belongs to someone else, or what the response indicates.

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?

A single compact sentence with the prerequisite ('登录') front-loaded ahead of the action, so the agent reads the gating condition first. Nothing is wasted, though the extreme terseness leaves important behavior implicit.

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 simple 3-parameter mutation with full schema coverage, annotations, and no output schema, the description covers auth, scope, action, and target values. It falls short on edge-case behavior (URL not found, not owned) and outcome reporting, which an agent would need for a mutation tool.

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 url, type, and the visibility enum are already documented in the schema. The description restates the url/type/visibility relationship ('按url及可选type') without adding format, matching, or disambiguation semantics beyond what is structured. Baseline 3 is appropriate.

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 ('改本人链接' – change my own link) plus the field being changed (visibility to public/friends/private), which is unambiguous. It does not explicitly distinguish itself from sibling set_* tools, but the resource ('link') is clear enough to differentiate from role, preference, or status setters.

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

Usage Guidelines3/5

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

Usage is implied rather than spelled out: '本人链接' signals this only applies to links the caller owns, and '登录' signals authentication is required. However, there is no explicit statement of when to use this versus an alternative, or what happens if the URL is not owned by the caller.

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