Skip to main content
Glama
Antigravity Codex Monitor

Antigravity Codex Monitor

设置 Codex 模型策略

set_codex_model_policy

Set a persistent local Codex model override policy for a conversation, so delegated codex-worker runs consistently use your chosen model without repeating configuration.

Instructions

Set the persistent local Codex model override policy.

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": {
      "policy": "<policy>",
      "conversation_id": "<conversation_id>"
    },
    "name": "set_codex_model_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNo
policyYes
conversation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.5

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does contribute two useful facts — the setting is persistent and local — but says nothing about required permissions, which conversation(s) the change affects, whether it is reversible, or how it interacts with existing configuration.

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 key qualifiers (persistent, local, override) come before any subordinate clause. It is efficient, though the terseness contributes to the gaps noted elsewhere.

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

Completeness1/5

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

For a three-parameter mutation tool with no annotations, no output schema, and zero schema description coverage, one sentence is far from sufficient. Key facts an agent needs — what a policy string looks like, what conversation_id scopes, and what cwd controls — are absent everywhere.

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% across three parameters (cwd, policy, conversation_id), and the description does not compensate: the accepted format or valid values for "policy" are never given, and neither cwd nor conversation_id is mentioned despite both being part of the call. Only the word "local" loosely hints at cwd and "policy" loosely maps to the policy parameter.

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 uses a specific verb ("Set") and a scoped resource ("persistent local Codex model override policy"), which distinguishes it from the nearby model-configuration siblings such as set_default_codex_model by signalling an override rather than a default. The weakness is that "policy" itself is never unpacked, so the agent knows the category of operation but not precisely what a 'policy' is here.

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, no statement of prerequisites, and no named alternative for the adjacent choices (set_default_codex_model, set_codex_dispatch_speed). The word "override" weakly implies usage versus setting a default, but the agent must infer that.

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