Skip to main content
Glama

Set the chat model

set_model

Select the actual current provider’s main chat model, or fast model only when fast is true. Cannot set credentials, endpoints or install models.

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": {
      "model": "<model>"
    },
    "name": "set_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
fastNo
modelYes
dashboardIdNoWhich live dashboard (browser tab) runs it; from get_dashboard_state. Optional when one tab stands out: the tab the user last approved an action in, the only live tab, or the only tab on screen. Refused before any approval when the target is ambiguous or disconnected.
idempotencyKeyNo
expectedRevisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so the mutation profile is known. The description adds useful negative scope about credentials/endpoints/model installation, but says nothing about persistence, invalid model names, or what a failed selection does, which matters for a non-idempotent write.

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?

Two tightly packed sentences: the positive action and its conditional modifier come first, then the hard exclusions. No filler and no repetition of schema or title text.

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 five-parameter mutation with low schema coverage and no output schema, the description covers the core model/fast semantics but omits the concurrency-control parameters (expectedRevision, idempotencyKey) and any indication of conflict or error behavior. Adequate to call the tool in the happy path, incomplete for safe retries.

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 description coverage is only 20% (only dashboardId is documented), so the description must compensate and it partially does by explaining the 'fast' flag's selection logic. It adds nothing about model format, idempotencyKey, or expectedRevision concurrency semantics, leaving three of five parameters unexplained anywhere.

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 (select) and resource (the current provider's main chat model) and clarifies the conditional fast-model variant. The negative scope ('cannot set credentials, endpoints or install models') sharply bounds what it does, though it doesn't name which sibling to use for adjacent configuration tasks.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance or comparison against alternatives such as set_setting or set_simulation. The only conditional guidance ('fast model only when fast is true') is about parameter behavior rather than tool selection, so usage must be inferred.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.