Skip to main content
Glama
claude-agy-mcp
by PyModel

set_model

Saves the selected model and reasoning tier for all future tool calls on this machine, so users configure once and explicit per-call models still override.

Instructions

Choose the model and reasoning tier every tool uses from now on, on this machine. Ask the user first — "proceed with the default, or change model or effort?" — then call this once: with no arguments to accept the default, or with what they chose. The choice is saved and no tool asks again. An explicit model argument on a call still wins for that call. Set AGY_ASK_MODEL=false to skip the gate and route on the built-in chains.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoThe model the user chose: a display name ("Gemini 4 Neon (High)"), an id ("gemini-4-neon-high"), or a family selector ("gemini-neon@latest-high"). Omit to accept the default (AGY_DEFAULT_MODEL, Gemini Flash High out of the box).
effortNoThe tier the user chose. Omit to take the tier the model name carries.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.0
    • changedInput schema / properties / effort / enum
      Previous value: -[
      -  "low",
      -  "medium",
      -  "high"
      -]New value: +[
      +  "low",
      +  "medium",
      +  "high",
      +  "xhigh",
      +  "max"
      +]
    • changedInput schema / properties / model / description
      Previous value: -"The model the user chose: a display name (\"Gemini 3.8 Flash (High)\"), an id (\"gemini-3.8-flash-high\"), or a family selector (\"gemini-flash@latest-high\"). Omit to accept the default (AGY_DEFAULT_MODEL, Gemini Flash High out of the box)."New value: +"The model the user chose: a display name (\"Gemini 4 Neon (High)\"), an id (\"gemini-4-neon-high\"), or a family selector (\"gemini-neon@latest-high\"). Omit to accept the default (AGY_DEFAULT_MODEL, Gemini Flash High out of the box)."
  2. Addedv2.1.0

TDQS

A4.2/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 does well on persistence (choice is saved, no tool re-asks), precedence (per-call model wins), and defaults (AGY_DEFAULT_MODEL, Gemini Flash High out of the box). It does not say what happens on an invalid model/effort string, whether the change applies to already-running calls or subagents, or what is returned to confirm success.

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?

Front-loads the effect, then the ask-then-call workflow, then the caveats in descending priority. Every sentence adds a distinct operational fact with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-optional-parameter configuration tool with no output schema and no annotations, the description covers purpose, prerequisite user interaction, persistence, and precedence. It stops short of describing the confirmation or error response, which is the main remaining gap for a mutation of this kind.

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 both parameters and their accepted forms (display name, id, family selector, effort enum) are already fully documented in structured data. The description only reiterates the omit-to-accept-default behavior and adds the cross-call precedence rule, so the baseline 3 applies.

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?

States a specific verb and resource plus the scope of the effect: "Choose the model and reasoning tier every tool uses from now on, on this machine." The persistence scope (machine-wide, effective for all tools) distinguishes it clearly from per-call model overrides and from siblings like agy_status, which merely report.

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

Usage Guidelines5/5

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

Gives explicit when-to-use instructions including the user-facing prompt to ask first, the two invocation modes (no arguments for default vs. the chosen values), and the exclusion rule that an explicit model argument on a call still wins. It even names the escape hatch (AGY_ASK_MODEL=false) for skipping the gate.

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