Skip to main content
Glama

OpenFactory

enable_app_ide

Enable code-server (Web IDE) for the app. Returns the IDE URL at https://ide-<slug>.apps.openfactory.tech. Always private + owner-only by spec (gateway-side enforcement lands in M1.5).

Idempotent — calling on an already-running IDE returns the existing binding without re-provisioning.

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": {
      "app_id": "<app_id>"
    },
    "name": "enable_app_ide"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesApp ID (UUID from create_app).
api_keyNoMCP API key
session_tokenNoSession token

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With zero annotations the description carries the full burden, and it does disclose the key traits: idempotency ('returns the existing binding without re-provisioning'), the access model (always private, owner-only, enforced at the gateway), and the returned URL shape. It stops short of stating failure modes (e.g., what happens if the app is not deployed) or any provisioning cost/side effects.

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 action and return value, then idempotency. The parenthetical 'gateway-side enforcement lands in M1.5' is internal roadmap detail that does not help an agent invoke the tool and is the one expendable clause.

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?

An output schema exists, so return values need not be spelled out, and the description covers the important behavioral points for a provisioning action. The remaining gap is preconditions and error behavior for a mutation tool with no annotations.

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 app_id, api_key, and session_token are already documented in the schema. The description adds no additional meaning about parameter usage or formats, so the baseline of 3 applies.

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?

Specific verb plus resource: 'Enable code-server (Web IDE) for the app', plus the resulting URL pattern. It is clearly distinguishable from disable_app_ide and get_app_ide_status by verb alone, though no sibling is named explicitly.

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?

Usage context is implied (you call this to turn the IDE on), and the idempotency note helps an agent decide it is safe to retry. However, there is no explicit statement of prerequisites (e.g., app must exist or be deployed) or guidance pointing to get_app_ide_status/disable_app_ide as alternatives.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.