Skip to main content
Glama

set_default_model

Persistently change the default Gemini model for a chosen capability in models.json without restarting; specify the kind and model ID, and force if lookup fails.

Instructions

Persistently change a default model (models.json; no restart needed).

kind: text, image, video, tts, music, transcribe, embedding, decision, research, research_max, agent. model: new model id. If the free probe says not_found, pass force=true.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>",
      "model": "<model>"
    },
    "name": "set_default_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
forceNo
modelYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the important traits: this is a persistent mutation, it targets models.json, and no restart is required. It says nothing about failure modes beyond the probe case, whether the change is reversible, or what the call returns on success, leaving gaps for a write operation.

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?

Three short lines, front-loaded with the core action and effect before the per-parameter notes. The fragment style is dense but readable; nothing is redundant, though the dangling "free probe" reference costs a little clarity.

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?

For a three-parameter persistent mutation with no annotations and no output schema, the description covers parameters and persistence reasonably well. It is still missing failure behavior, how to source a valid model id, and identification of the probe tool, which an agent needs to call this correctly the first time.

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

Parameters4/5

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

Schema description coverage is 0% and the kind field has no enum in the schema, so the enumerated list of valid kinds supplied in the description is genuinely essential information. model is described as the new model id and force gets a conditional trigger, though the description doesn't say how to discover valid model ids or what force overrides exactly.

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?

States a specific verb and resource ("persistently change a default model") plus the concrete effect (writes models.json, no restart needed). It never references a sibling such as list_capabilities, so an agent gets the action but no explicit differentiation from other tools that touch model configuration.

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?

The line "If the free probe says not_found, pass force=true" gives one conditional usage rule, which is more than nothing. However, there is no statement of when to call this versus alternatives, no prerequisites, and the "free probe" is not named, so the agent must guess which sibling produces that signal.

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