Skip to main content
Glama

optimize_mirrors

Read-only

Manage repository mirrors: list configured ones, test speeds, and run health checks to get recommendations.

Instructions

[MIRRORS] Smart repository management. Actions: 'status' (list configured repos), 'test' (test repo speeds), 'health' (full health check). Examples: optimize_mirrors(action='status', auto_test=True) lists and tests all repos; optimize_mirrors(action='health') checks for issues and gives recommendations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of mirrors for suggestions (default 10)
actionYesOperation to perform: 'status' (list mirrors), 'test' (test speeds), 'suggest' (get recommendations), 'health' (full check)
countryNoOptional country code for suggestions (e.g., 'US', 'DE') - action='suggest' only
auto_testNoIf true, test mirrors after listing - action='status' only
mirror_urlNoSpecific mirror URL to test - action='test' only
Behavior4/5

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

The readOnlyHint annotation already indicates safe read-only behavior, and the description adds useful context beyond that: it explains what each action does (e.g., 'auto_test' after listing, 'health' provides recommendations) and gives concrete examples. This clarifies behavior without contradicting annotations.

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?

The description is compact, containing a brief summary and action list in a single sentence, with examples that make it actionable. It is front-loaded with a label ('[MIRRORS]') and could be slightly better structured by separating the action list from examples, but it remains efficient.

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?

While the core actions are covered, the description omits the 'suggest' action entirely, despite it being a valid enum value. It also does not address return values or edge cases, and given the tool's multi-action nature, this gap reduces completeness beyond what the schema provides.

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 parameters are fully described in the schema. The description adds marginal value by showing usage examples (e.g., auto_test=True) but does not provide deeper meaning or relationships beyond what the schema already documents.

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 identifies the tool as 'Smart repository management' and lists specific actions ('status', 'test', 'health'), making the purpose fairly clear and distinguishing it from sibling tools that handle packages or updates. However, it omits the 'suggest' action from the enum, leaving an incomplete picture of the tool's full capability.

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?

Action descriptions provide implied usage (e.g., 'test' for speed testing, 'health' for full checks), and examples show how to invoke actions. But there is no explicit guidance on when to use this tool versus alternatives, nor any exclusions or prerequisites, leaving the selection criteria somewhat implicit.

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/chrisjohntapp/suse-mcp'

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