Skip to main content
Glama
morfiade-app

io.github.morfiade-app/morfiade-mcp

Official

set_proxy

DestructiveIdempotent

Set a profile's proxy, replacing the current one, or clear it with an empty string. Takes effect on next launch; run check_proxy to verify.

Instructions

Save a proxy in a profile's settings, replacing the current one; an empty string removes it. Takes effect on the next launch: a running profile keeps its old proxy until stop_profile and start_profile. Run check_proxy afterwards to see whether it works.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoProxy protocol; defaults to http. Ignored when the proxy string already starts with a scheme
proxyYesProxy as host:port, host:port:login:password, or scheme://login:password@host:port where scheme is http, socks4 or socks5; empty string removes the proxy
profileYesProfile name exactly as list_profiles returns it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.1
    • addedInput schema / properties / profile / description
      Added value: +"Profile name exactly as list_profiles returns it"
    • addedInput schema / properties / proxy / description
      Added value: +"Proxy as host:port, host:port:login:password, or scheme://login:password@host:port where scheme is http, socks4 or socks5; empty string removes the proxy"
    • addedInput schema / properties / type / description
      Added value: +"Proxy protocol; defaults to http. Ignored when the proxy string already starts with a scheme"
  2. First observedv0.2.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already mark the tool as destructive and idempotent; the description adds crucial behavioral nuance beyond that: the effect is deferred until the next launch, and running profiles are unaffected until restarted. This goes beyond what annotations convey and helps the agent anticipate 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.

Conciseness5/5

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

The description is two sentences: the first states the core action and the removal case, the second covers timing and verification. Every clause earns its place, and the most critical information is front-loaded. There is no redundancy or fluff.

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?

For a setter with three parameters and no output schema, the description covers the action, the effect timing, and the recommended verification step. It also implicitly signals that existing proxies are overwritten, and the schema handles format details. Nothing an agent needs to call it correctly is missing.

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?

The schema already provides full descriptions for all three parameters (100% coverage), including the empty-string removal behavior and the default protocol. The description adds no additional parameter-specific information, so the baseline 3 applies; it does not need to compensate for gaps.

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 states a specific verb and resource: 'Save a proxy in a profile's settings, replacing the current one; an empty string removes it.' This clearly distinguishes it from siblings like check_proxy (which verifies) and list_profiles (which lists), leaving no ambiguity about the tool's function.

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 provides clear timing guidance ('Takes effect on the next launch: a running profile keeps its old proxy until stop_profile and start_profile') and recommends a follow-up action ('Run check_proxy afterwards to see whether it works'). It does not explicitly enumerate when not to use it or name alternative setters, but the context is strong enough for an agent to decide.

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