Skip to main content
Glama
huaqing0
by huaqing0

clash.profiles.refresh

Refresh a remote subscription profile by UID through the Clash Verge Adapter with light confirmation. Local profiles return not applicable.

Instructions

Refresh a remote subscription Profile through the authenticated local Clash Verge Adapter. Local profiles return NOT_APPLICABLE. Remote profiles require light confirmation. Capability remains fail-closed and returns BLOCKED when the Adapter is unavailable or unauthenticated. This is a Verge subscription refresh, not a Mihomo Provider refresh.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uidYesProfile UID to refresh (must match ^[A-Za-z0-9_-]{1,120}$)
confirmedNoMust be true to proceed (light confirmation). Not required for local profiles, which return NOT_APPLICABLE.
timeoutMsNoOptional refresh timeout in ms (clamped to [1000, 60000], default 30000)
Behavior5/5

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

No annotations provided; description fully compensates by disclosing behavior: remote require light confirmation, local NOT_APPLICABLE, fail-closed to BLOCKED when adapter unavailable/unauthenticated, and clarifies it is a Verge subscription refresh.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, front-loaded with purpose, each sentence adds value: purpose, local behavior, remote+fail behavior, disambiguation. No redundancy or fluff.

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?

Covers key scenarios (local, remote, fail-closed) and disambiguates from Mihomo refresh. Lacks details on success/error response format or typical effects, but no output schema exists to rely on.

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%; description adds minimal new meaning beyond schema. The mention of 'light confirmation' for the confirmed param repeats schema info. No additional parameter insights.

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?

Description clearly states action (refresh), target (remote subscription Profile via Clash Verge Adapter), and distinguishes from related sibling tools like Mihomo Provider refresh. Includes edge cases for local profiles (returns NOT_APPLICABLE).

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?

Provides clear context: use for remote subscription profiles, not local; remote require confirmation. Does not explicitly list when not to use compared to sibling refresh tools (e.g., clash.runtime.refresh_proxy_provider), but the differentiation Verge vs Mihomo is noted.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/huaqing0/clash-control-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server