Skip to main content
Glama
Antigravity Codex Monitor

Antigravity Codex Monitor

设置本机默认 Codex 模型

set_default_codex_model

Set or clear the persistent default Codex model used for all local conversations, so you can standardize which model runs without re-selecting it each session.

Instructions

Set or clear the persistent default Codex model for all local conversations.

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>",
      "conversation_id": "<conversation_id>"
    },
    "name": "set_default_codex_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNo
modelYes
conversation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.5

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. 'Persistent' usefully signals a durable, cross-conversation mutation, but it never says how 'clear' is expressed, whether existing conversations are affected, what permissions are needed, or how the change can be reverted.

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?

A single front-loaded sentence with no filler and the mutation scope stated up front. Its brevity is efficient, though it leaves no room for the guidance the tool needs.

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

Completeness2/5

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

For a no-annotation, no-output-schema mutation tool with 0% parameter documentation, the description does far too little. The unexplained required conversation_id and the ambiguous 'clear' semantics are gaps an agent would hit on first invocation.

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

Parameters2/5

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

Schema description coverage is 0% and the description explains none of the three parameters. It is especially unclear why a required 'conversation_id' is needed to set a global default 'for all local conversations', and 'cwd' is never mentioned at all.

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?

The description gives a specific verb pair ('Set or clear') and a precise resource ('the persistent default Codex model'), plus scope ('for all local conversations'). It implicitly separates itself from sibling set_codex_model_policy by saying 'default model' rather than 'policy', but never names or contrasts an alternative explicitly.

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 when-to-use guidance, no stated prerequisites, and no mention of the closely named sibling set_codex_model_policy or list_codex_models. An agent must infer that this is the tool for changing the global default rather than a per-conversation or policy-level setting.

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