Skip to main content
Glama
huaqing0
by huaqing0

clash.optimize.verify_baseline

Verify baseline fingerprint for drift detection. Compares current settings against original baseline and returns drift details if configuration changed.

Instructions

v1.0-D: Read-only baseline drift verification. Re-collects the current baseline fingerprint and compares it with the original baseline from diagnosis. Returns matched=true if unchanged, or matched=false with drift details if the active Profile, run mode, config chain, proxy group selections, DNS, TUN, system proxy, or ports have changed. Per v1.0-D protocol step 1: if drift is detected, re-diagnose instead of executing proposedActions. Does NOT modify any configuration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
originalBaselineYesThe baselineFingerprint from the original optimizer report.
Behavior5/5

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

With no annotations, the description fully bears the transparency burden. It explicitly states 'Does NOT modify any configuration' and 'Read-only' upfront. It also enumerates the specific conditions checked for drift (Profile, run mode, etc.), providing complete behavioral insight.

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?

The description is three sentences, front-loaded with the core purpose, and every sentence adds value: read-only intent, drift comparison details, protocol step, and safety note. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite having a nested object parameter and no output schema, the description covers return values (matched=true/false with details), the specific aspects checked, and the action on drift. This is complete for a verification tool, requiring no further elaboration.

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%, and the description merely restates the parameter purpose as 'The baselineFingerprint from the original optimizer report.' It does not add significant meaning beyond what the schema already provides, so the baseline score of 3 is appropriate.

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 clearly states it is a 'Read-only baseline drift verification' tool that re-collects the current baseline fingerprint and compares it to the original. It specifies exactly what it does, with a specific verb and resource, and implicitly distinguishes from other optimize tools by focusing on drift detection.

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

Usage Guidelines5/5

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

The description includes an explicit protocol step: 'Per v1.0-D protocol step 1: if drift is detected, re-diagnose instead of executing proposedActions.' This provides clear when-to-use and when-not-to-use guidance, and the mention of 're-diagnose' gives actionable context without needing sibling comparison.

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