Skip to main content
Glama

Bridge Preflight Check

bridge_preflight

Checks a configured agent target and optional rival PR warnings, returning target health, auth readiness, browser readiness, or agent-card status before task handoff.

Instructions

Checks the configured target (OpenClaw Gateway, browser chat, A2A Agent Card, local Codex app-server, or ACP agent) and optional rival PR warnings. Inspect targetHealthy/authReady (and browserReady for browser targets or agentCard for A2A targets).

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": {
      "targetId": "<targetId>"
    },
    "name": "bridge_preflight"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoIdNo
targetIdYes
issueQueryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses the expected result fields (targetHealthy, authReady, browserReady, agentCard), which acts as a substitute for a missing output schema, but it says nothing about permissions, side effects, failure modes, or whether the check is read-only.

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?

Two tight sentences with no filler, and the resource enumeration is front-loaded before the result-field guidance. The density of jargon (A2A Agent Card, ACP agent) mildly reduces readability but nothing is redundant.

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

Completeness3/5

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

For a 3-parameter check tool with no output schema and no annotations, the description is only partially complete: it compensates on return values but leaves all three parameters and the caller's prerequisites undocumented.

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 three parameters, and the description never names repoId, targetId, or issueQuery. Only an indirect link exists: 'the configured target' suggests targetId selects among the enumerated target kinds, while repoId and issueQuery remain entirely undefined.

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?

States a specific verb ('Checks') and resource (the configured target), and enumerates the five target kinds it covers, so an agent knows the scope. It does not explicitly differentiate itself from siblings like bridge_verify_git or bridge_handoff_start, leaving the 'preflight' distinction implicit.

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 name and phrase 'optional rival PR warnings' imply a pre-operation sanity check, and the second sentence tells the agent which fields to inspect after the call. However, there is no explicit when-to-use statement, no mention of ordering relative to handoff_start/handoff_attach, and no when-not guidance.

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