Skip to main content
Glama

Ferrite

Land a branch onto a protected trunk

rcs_land
Idempotent

LAND a branch onto a protected trunk through the merge-result GATE (the trunk gate / branch protection): admitted ONLY if 'from' DESCENDS from the current 'into' tip (so the commit that was tested IS the commit that lands — the merge-queue insight; a stale branch behind the trunk is refused with status 'stale' — re-integrate via rcs_merge then re-test) AND, when the platform requires tests, 'from's tip carries a PASSING verdict (test_ref it first). A version-guarded fast-forward, so concurrent lands serialize. Returns {RcsLanded:{app,into,commit}}, or {RcsMerged:{status:'stale'|'conflict-retry'}}, or {Rejected} when the verdict gate fires.

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": "<app>",
      "from": "<from>",
      "into": "<into>"
    },
    "name": "rcs_land"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYes
fromYes
intoYes
tokenNofallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

एनोटेशन इसे अपरिवर्तनीय (idempotent) और अपेक्षाकृत सुरक्षित (destructive=false) बताते हैं, फिर भी विवरण ने इससे आगे जाकर यह बताया है कि परिवर्तन किस प्रकार संरक्षित है (version-guarded fast-forward, concurrent lands serialize), लिखे जा रहे सटीक संदर्भ (merge-queue insight) और विफलता आउटपुट के आकार। यह विराम बिंदुओं और परिणामों के बारे में जो जोड़ता है वह सीधे तौर पर एनोटेशन से परे है।

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

यह जानकारी से भरपूर और एक ही श्वास में पढ़ने योग्य है, जिसके कारण एकल वाक्य का प्रारूप तेजी से आगे बढ़ता है। हालाँकि, यह मात्रा में भारी है — कई वाक्यांश और नेस्टेड कोष्ठक ("(the trunk gate / branch protection)", कई परिणामी आकृतियाँ) एक पंक्ति में दबे हुए हैं। पहले क्या आना चाहिए यह स्पष्ट है, लेकिन इसे कुछ हद तक खोलने की आवश्यकता है।

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?

tc लौटने वाले आकार को बताता है, जो इस लिखने वाले संचालन के लिए पर्याप्त नहीं है क्योंकि आउटपुट-स्कीमा अनुपस्थित है (हाँ, यह वास्तव में इस अपेक्षा की पूर्ति करता है)। फिर भी, पूर्व-शर्तों और विफलता स्थितियों की कहानी पूरी है। यह भाग लगभग पूरा है, सिवाय app पैरामीटर की भूमिका स्पष्ट करने में।

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?

स्कीमा में केवल token पर डिस्क्रिप्शन है (25% कवरेज), इसलिए विपरीतता से तीन अनिवार्य पैरामीटर विवरण पर भार डालते हैं। यह 'from' और 'into' की भूमिका और पूर्व-आवश्यकताओं (from का टिप को जाँच पास करना होगा) को सफलतापूर्वक स्पष्ट करता है, लेकिन app के अर्थ (जहाँ RETURN, जैसे {RcsLanded:{app,into,commit}} में भी 'app' दिखता है) का अर्थ केवल नाम से स्पष्ट नहीं किया गया है।

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?

यह एक विशिष्ट क्रिया और संसाधन बताता है — "LAND a branch onto a protected trunk" — और इसे स्पष्ट रूप से रेखांकित करता है कि यह किसी सामान्य merge से भिन्न है (यह merge-result GATE, अर्थात् ट्रंक गेट/ब्रांच प्रोटेक्शन से होकर गुजरता है)। यह उस सहोदर रेखा को भी स्पष्ट करता है जिसे रास्ता देना चाहिए (rcs_merge) और साथ ही यह भी समझाता है कि इसके किसी भी परिणाम की व्याख्या कैसे होगी।

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

Usage Guidelines5/5

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

यह सटीक रूप से बताता है कि यह कब सफल होगा (from, into के टिप से descend होना चाहिए), कब यह अस्थिर होगा, और कब यह "test_ref it first" जैसी पूर्व-शर्त पर निर्भर करेगा। यह स्पष्ट रूप से "stale" स्थिति के लिए वैकल्पिक पथ का नाम भी लेता है (rcs_merge द्वारा फिर से एकीकृत करें) — यह जानकारी वह देता है जो एक एजेंट को आगे बढ़ने के लिए चाहिए।

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.