Skip to main content
Glama

host_swap_instructions

Returns paths for API keys and model endpoints, enabling host agents to swap apps to free models by updating configuration files.

Instructions

Tell the host agent where to search the machine to swap in a model-radar model.

Returns: (1) Where model-radar stores API keys. (2) OpenAI-compatible base_url and model_id for the given model (or a recommended min_tier model). (3) Per-app search locations for Cursor, Claude Code, Open Interpreter, OpenClaw — with paths for Linux, Mac, Windows, and WSL (e.g. ~/.cursor, /mnt/c/Users//.cursor). The host can search these paths and set base_url + model_id + API key so the app uses a free model from model-radar.

Args: model_id: Specific model_id (e.g. llama-3.3-70b-versatile). Omit to get a recommended model at min_tier. provider: Limit to this provider when choosing a recommended model. min_tier: When model_id is omitted, recommend a model at this tier or better (default A).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
min_tierNoA
model_idNo
providerNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description fully discloses behavior: returns API key storage locations, base_url and model_id (or recommended), and per-app search paths for specific apps on multiple OS. It explains how the host can use this info, providing complete transparency about what the tool does and its output.

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 well-structured: first line states purpose, then 'Returns:' lists outputs, then 'Args:' details parameters. Every sentence adds value without redundancy, fitting the tool's complexity into a compact, readable format.

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?

Given the tool's complexity (multiple outputs, OS-specific paths, parameter interactions), the description covers all necessary information. The output schema exists but description already explains return values, making it complete for agent usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description compensates fully: it explains each parameter's purpose, defaults, and behavior (e.g., 'Omit to get a recommended model at min_tier'). This adds substantial meaning beyond the bare schema types and defaults.

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 the tool's purpose: 'Tell the host agent where to search the machine to swap in a model-radar model.' It specifies the verb ('tell'), the resource ('model-radar model'), and scope (search locations, API keys, base_url, model_id). This distinguishes it from sibling tools like list_models or configure_key.

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?

The description explains when to use the tool and how to use arguments: omit model_id for a recommended model, use provider to limit, and min_tier default. It doesn't explicitly state when not to use or provide alternatives, but the context is clear for this specialized tool.

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/srclight/model-radar'

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