Skip to main content
Glama
customaise

customaise

Official

get_bridge_status

Read-onlyIdempotent

Check extension attachment, sign-in, permissions, and remaining daily/weekly MCP call caps before long runs, or inspect a script's latest save status after a timeout.

Instructions

Report the bridge's own state: whether the extension is attached, the plan tier, whether you are signed in, whether remote approvals are enabled, the browser's agent permissions (agentPermissions: Full access, and scriptDecisions, whether agents may choose Script Decisions providers), and how much of the MCP cap is left today and this week. Costs NO cap units. Without scriptId it reads cached bridge state; with scriptId it queries the browser for the latest save status and durable commit receipt. After a timeout, inspect that status before retrying. Unknown means no retained proof, not proof of failure. Check this before a long run so you find out you have three calls left now rather than mid-task.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_bridge_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
scriptIdNoOptionally inspect the latest save for this script; reads the browser without spending a cap unit.
operationIdNoSave operation ID from export progress or a timeout. Requires scriptId.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.2.3
    • addedInput schema / properties / operationId
      Added value: +{
      +  "description": "Save operation ID from export progress or a timeout. Requires scriptId.",
      +  "maxLength": 128,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / scriptId
      Added value: +{
      +  "description": "Optionally inspect the latest save for this script; reads the browser without spending a cap unit.",
      +  "maxLength": 256,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observedv3.2.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive), it discloses that the call costs no cap units, that behavior differs by parameter (cached bridge state without scriptId vs a live browser query with it), and that "Unknown means no retained proof, not proof of failure" — a critical interpretation rule an agent could not infer from structured fields. It also explains the operational consequence: cap visibility before a long run.

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?

The purpose is front-loaded in the first clause and every subsequent sentence carries distinct value (cost, parameter fork, timeout interpretation, pre-run check). The opening sentence is a long parenthetical-heavy run-on that packs six status fields into one breath, which costs some scanability.

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?

With no output schema, the description carries the burden of describing what comes back and does so by enumerating the reported fields plus the Unknown-state caveat. For a zero-required-parameter read-only status tool, nothing essential is missing.

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?

Schema coverage is 100%, so baseline is 3; the description earns extra by explaining the semantic fork between the two parameters (cache read vs live browser query revealing save status and durable commit receipt) and by tying operationId's usefulness to timeout recovery. It still doesn't explain operationId directly in the description text, leaving that entirely to the schema.

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?

The description opens with a specific verb+resource ("Report the bridge's own state") and then enumerates exactly what that state comprises: extension attachment, plan tier, sign-in status, remote approvals, agent permissions/scriptDecisions, and remaining MCP cap. That enumeration clearly separates it from siblings like get_script_decisions or get_page_context, so an agent can route without opening the schema.

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?

It gives concrete timing guidance ("Check this before a long run so you find out you have three calls left now rather than mid-task") and a post-timeout workflow ("After a timeout, inspect that status before retrying"), which steers the agent away from blind retries. It does not explicitly name a sibling alternative or a when-not-to-call condition, so it stops short of the top band.

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