Skip to main content
Glama

Plan Harness Relay MCP client setup

setup_plan
Read-onlyIdempotent

Generates a validated, no-write MCP configuration patch for Codex, Claude Code, Cursor, OpenCode V2, or Google Antigravity so you can preview host setup before applying it.

Instructions

Generate a validated, no-write MCP configuration patch for Codex, Claude Code, Cursor, OpenCode V2, or Google Antigravity.

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": {
      "client": "<client>",
      "scope": "<scope>",
      "platform": "<platform>",
      "homeDirectory": "<homeDirectory>",
      "nodeExecutable": "<nodeExecutable>",
      "relayEntry": "<relayEntry>",
      "endpointDescriptor": "<endpointDescriptor>"
    },
    "name": "setup_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeYes
clientYes
platformYes
relayEntryYes
environmentNo
homeDirectoryYes
nodeExecutableYes
endpointDescriptorYes
workspaceDirectoryNo

Output Schema

NameRequiredDescriptionDefault
patchNo
readyYes
issuesYes
actionsYes
launcherNo
detectionYes
writeAuthorizedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.20
    • changedInput schema / properties / client / enum
      Previous value: -[
      -  "codex",
      -  "claude",
      -  "cursor",
      -  "opencode"
      -]New value: +[
      +  "codex",
      +  "claude",
      +  "cursor",
      +  "opencode",
      +  "antigravity"
      +]
  2. First observedv0.2.6

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered structurally. The description's 'validated, no-write' phrasing corroborates rather than extends that, and it never explains whether the returned patch must be applied manually or what validation failures look like — though the output schema carries the return shape.

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 client enumeration is placed where it is most useful. It is arguably under-specified for a nine-parameter tool, but as pure conciseness it wastes nothing.

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?

Nine parameters at 0% schema description coverage is a severe gap: critical inputs like relayEntry, nodeExecutable, endpointDescriptor, and workspaceDirectory are named nowhere in prose, so an agent must guess their formats and interrelationships. The existing output schema excuses it from explaining return values, but for a 7-required-parameter configuration generator the description is far too thin.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

No parameters are declared in this definition, so the baseline is 4; the description cannot add schema-level meaning here.

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 pairs a specific verb ('Generate') with a specific artifact ('validated, no-write MCP configuration patch') and enumerates the five supported clients, so an agent knows exactly what it produces. It stops short of naming a sibling such as setup_doctor to delineate when the config patch is the right output versus a diagnostic run.

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 prerequisites, and no mention of the closely related setup_doctor tool. The phrase 'no-write' only implicitly tells the agent this does not apply the configuration itself, leaving the apply-vs-generate workflow to inference.

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