Skip to main content
Glama
kitepon
by kitepon

agent_configure

Change model or reasoning effort for active coding agent sessions without restarting or losing conversation context. Supports Claude, Codex, Grok, Composer, and Cursor via their CLI commands.

Instructions

起動済みのClaude/Codex/Grok/Composer/Cursor agent sessionを再起動せず、会話contextを保ったままmodel/reasoning effortを変更する。各harnessのCLI標準model操作を使う。Cursorのreasoning_effort変更はmodelと同時指定する。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNo変更後のmodel。省略時はmodelを変更しない
session_idYes
reasoning_effortNo変更後のreasoning effort。省略時はeffortを変更しない

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYes
schemaYes
harnessYes
providerYes
session_idYes
reasoning_effortYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.28.0
    • addedOutput schema / properties / harness
      Added value: +{
      +  "enum": [
      +    "claude-code",
      +    "codex-cli",
      +    "grok-cli",
      +    "cursor-cli"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / provider / enum
      Previous value: -[
      -  "claude",
      -  "codex",
      -  "grok",
      -  "composer"
      -]New value: +[
      +  "claude",
      +  "codex",
      +  "grok",
      +  "composer",
      +  "cursor"
      +]
    • changedOutput schema / required
      Previous value: -[
      -  "schema",
      -  "session_id",
      -  "provider",
      -  "model",
      -  "reasoning_effort"
      -]New value: +[
      +  "schema",
      +  "session_id",
      +  "provider",
      +  "harness",
      +  "model",
      +  "reasoning_effort"
      +]
  2. Addedv0.27.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It explains that the operation is non-restarting, preserves conversation context, and mutates model/reasoning settings, with a useful Cursor-specific constraint. It does not mention failure modes or side effects, but the core behavior is transparent.

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 compact and front-loaded: it states the core behavior first, then the method, then the special Cursor caveat. Every sentence adds information and there is 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?

Given three parameters and available output schema, the description is sufficiently complete. It explains the operation context, the non-restart behavior, and the key harness-specific coupling. It could add a bit more guidance on failure conditions or where to get valid model identifiers, but the essential calling context is present.

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 documents model and reasoning_effort with 'omit means no change' semantics, and 67% of parameters have descriptions. The description adds the cross-parameter Cursor caveat that reasoning_effort must be changed together with model, but it does not provide value formats or allowed model identifiers beyond what the schema implies.

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 identifies the action (change model/reasoning effort), the resource (already-started agent sessions for multiple harnesses), and the key constraint (no restart, context preserved). This distinguishes it from agent_launch and other session-oriented siblings.

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 gives clear usage context: target existing sessions, avoid restarting, and use each harness's standard CLI model operation. It does not explicitly name alternatives or state when not to use the tool, but '起動済み' and '再起動せず' effectively separate it from launch/restart flows.

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