Skip to main content
Glama
Hybrid SAGE

Hybrid SAGE

Official
by bioassembly

consult_codex

Get a bounded second opinion, design diagnosis, or code review from Codex by sending a scanned context snapshot to a read-only child, with no provider fallback.

Instructions

Ask Codex for a bounded second opinion, design diagnosis, or code review. Sends a scanned context snapshot to a tool-free read-only child; never silently falls back to another provider. Uses Codex authentication and quota, not a free local model.

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": {
      "prompt": "<prompt>"
    },
    "name": "consult_codex"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNo
promptYes
redactNo
workdirNo
model_idNoOptional exact Codex model; otherwise Codex's default.
timeout_secNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A3.7/5.0
Behavior4/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 substantial work: it discloses that the request goes to a tool-free, read-only child (no side effects), that a scanned context snapshot is transmitted (data exposure implications), that there is no silent provider fallback (failure behavior), and that it consumes Codex auth/quota (cost). It does not describe what a failed or timed-out call returns, which is the main remaining gap for a tool with a configurable timeout.

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?

Three short sentences, front-loaded with purpose and followed by the two facts an agent most needs (read-only child, no fallback, quota cost). No filler or restatement of the name.

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?

Behavioral and cost context is strong, but for a six-parameter tool with 17% schema coverage and no annotations or output schema, the parameter-level meaning is largely missing. An agent would know why to call it but would be guessing on files, workdir, redact, and timeout semantics.

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 only 17% — only model_id is documented in the schema — leaving files, prompt, redact, workdir, and timeout_sec to the description. The description gestures at scanning and implies redaction, but never explains what files/workdir mean, what redact does by default, or how timeout_sec bounds the call. This is a real compensation shortfall given five undocumented parameters.

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?

Names a concrete verb (ask) and a named resource (Codex) with three stated use cases: second opinion, design diagnosis, code review. The closing line ("Uses Codex authentication and quota, not a free local model") implicitly separates it from a local delegation sibling, but it never names the alternative, so the differentiation is inferential rather than explicit.

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?

Gives clear usage contexts (bounded second opinion, design diagnosis, code review) and a meaningful exclusion: it will not silently fall back to another provider, and it consumes Codex quota rather than a free local model. It stops short of naming which sibling to use instead when the agent wants a local/free path.

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