Skip to main content
Glama
MCP OpenAI Server

MCP OpenAI Server

by Akira-AA83

astra_investigate

Delegates an independent investigation to an autonomous OpenAI agent that calls project MCP servers itself to verify, audit or review a prompt, listing any temporary changes it makes.

Instructions

Delegate an investigation to an autonomous OpenAI agent (tier "deep" = GPT-6 Astra). The agent has direct access to the project's MCP servers (from the project's .mcp.json, .cursor/mcp.json or .vscode/mcp.json) and calls them on its own to answer the prompt. It may modify state to test something, but restores original values, never persists changes, and lists every modification in its answer. While it runs, the MCP servers it uses are locked for Claude Code (if the lock hook is installed). Use for independent second-opinion reviews, audits and verifications. Slow (30s-several minutes). Default tier is "reason"; request "deep" only for critical audits.

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": "astra_investigate"
  }
}

Input Schema

NameRequiredDescriptionDefault
tierNoCost/quality tier: "fast" = gpt-5-mini, "reason" = gpt-5, "deep" = gpt-6-astra. Default "reason". Use "deep" (gpt-6-astra, expensive) only for critical audits; "fast" for trivial tasks.reason
modelNoOptional exact model driving the investigation; overrides tier (gpt-6-astra, gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna, gpt-5.5, gpt-5.4, gpt-5.4-mini, gpt-5, gpt-5-mini, o3, o4-mini, gpt-4.1, gpt-4.1-mini, gpt-4o, gpt-4o-mini)
promptYesThe task for Astra. Be specific; Astra decides which MCP tools to call. Examples: 'verify the users table has an index on email', 'check that the PCG graph filters out vertical slopes'.
allowedServersNoOptional. Restrict Astra to these MCP servers (e.g. ["postgres"]). Default: all project servers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.3/5.0
Behavior5/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 it well: it discloses that the agent may modify state, restores original values, never persists changes, and enumerates every modification, and that it locks the MCP servers it uses for Claude Code while running. The latency warning and the default tier round out the operational picture.

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?

Front-loaded with the core action, then behavior, then latency, then tier advice — a sensible order with no wasted sentences. The tier default/deep caveat duplicates the schema's tier description, which is the only real redundancy.

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 4-parameter, no-output-schema, no-annotation tool, the description covers execution model, side effects, locking, latency and result content ("lists every modification in its answer"). It does not say what the return payload looks like beyond that or how failures/timeouts surface.

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 description coverage is 100%, so the schema already defines tier, model, prompt and allowedServers including the enum meanings and defaults. The description repeats the tier default and deep-tier caution but adds nothing about allowedServers or how model overrides interact with tier. Baseline 3 applies where the schema does the heavy lifting.

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 ("Delegate an investigation to an autonomous OpenAI agent") plus the mechanism (the agent calls the project's MCP servers itself). The scope and the kind of work it does for you (second-opinion reviews, audits, verifications) are clear enough to separate it from a plain chat sibling without reading the schema.

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 explicit use cases ("independent second-opinion reviews, audits and verifications") and tier-selection guidance ("request deep only for critical audits"), plus a latency budget of 30s to several minutes. It never names an alternative tool or states a when-not-to-use condition, so the routing is implied rather than exhaustive.

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

Deploy Server

Other Tools