Skip to main content
Glama

OpenFactory

land_platform_fix

Land a staged fix to production: verifies the green-scenario gate and that every commit names the fix that produced it (Openfactory-Goal), then pushes via the blessed pipeline (monorepo: ai-deploy; openfactory.tech: fast-forward main + push). Returns immediately — poll get_platform_fix until 'landed', wait out the deploy, then re-run the scenario against the production URL.

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": {
      "fix_id": "<fix_id>",
      "scenario_id": "<scenario_id>",
      "scenario_run_id": "<scenario_run_id>"
    },
    "name": "land_platform_fix"
  }
}

Input Schema

NameRequiredDescriptionDefault
fix_idYesPlatform fix id (status must be 'staged').
api_keyNoMCP API key
scenario_idYesRegression scenario id covering this fix.
session_tokenNoSession token
scenario_run_idYesA PASSED run id of that scenario (against the staging URL), <24h old. Landing is refused without a green run.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/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 well: it discloses the two enforced gates (green scenario, Openfactory-Goal commit naming), that the call returns immediately asynchronously, and what pipeline actions occur per target. It omits auth/permission requirements and failure modes beyond gate refusal.

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 imperative followed by the post-call workflow in a compact two-sentence block. The parenthetical pipeline specifics (monorepo: ai-deploy; fast-forward main) are dense but earn their place for understanding what 'landing' means.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an async mutation with an output schema, the description supplies everything an agent needs to invoke it correctly and act afterward: prerequisites, immediacy of return, the polling loop, and the post-deploy verification step.

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 coverage is 100%, so the required ids and their constraints (staged status, PASSED run <24h old against staging) are already documented in the schema. The description only echoes the gate conditions rather than adding format or sourcing detail beyond it.

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?

Opens with a concrete verb+resource+destination: 'Land a staged fix to production.' It immediately scopes the operation (staged fix only) and names the follow-up sibling get_platform_fix, so an agent can distinguish this terminal action from staging and polling tools.

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?

Usage context is clear: the fix must already be staged with a green scenario run, and after the call the agent should poll get_platform_fix, wait out the deploy, and re-run the scenario. It does not explicitly contrast against nearby alternatives like apply_fix or stage_platform_fix, so it stops short of full when/when-not guidance.

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.