Skip to main content
Glama

openai_server_control

Control an OpenAI-compatible HTTP server by starting, stopping, restarting, or checking status to handle chat completions and model listing.

Instructions

Control the OpenAI-compatible HTTP server (start/stop/restart/status)

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": {
      "action": "<action>"
    },
    "name": "openai_server_control"
  }
}

Input Schema

NameRequiredDescriptionDefault
portNo
actionYes
db_pathNo
store_typeNosqlite
access_tokensNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.11

TDQS

C2.9/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 and discloses almost nothing: it does not say whether restart destroys in-memory state, whether start is idempotent, what permissions the tokens require, or what status returns. The only hint of runtime behavior (port, store type, access tokens) lives in the schema, not the description.

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; the action enum is surfaced immediately. It is terse rather than padded, so the brevity is a structural strength even though content is thin elsewhere.

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?

This is a lifecycle-mutation tool with five parameters, no annotations, and no output schema, yet the description never covers failure modes, state effects, configuration parameters, or what status reports. An agent could guess at 'start' but would be flying blind on restart semantics and the four undocumented configuration parameters.

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 5 parameters, so the description must compensate and does not. Only the action enum is echoed; port, db_path, store_type, and access_tokens get no explanation of format, effect, or defaults.

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 specific verb (Control) and resource (the OpenAI-compatible HTTP server) and enumerates the four supported operations (start/stop/restart/status). An agent can tell what the tool manages, though it does not explicitly position itself against the you_* siblings, which appear to be a different domain entirely.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The action list implies usage — call this when the server needs to be started, stopped, restarted, or inspected — but there is no explicit guidance on when to choose each action, no prerequisites, and no note about when this tool should not be used.

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