Skip to main content
Glama

Prepare a local connector

rig.connector.prepare

Mint a single-use, ten-minute bootstrap token so ironfang rig connect on this machine can forward the run's callbacks to local routes. The result carries the token once, the gateway to dial, the command to complete with a http://127.0.0.1 target per route label, and the release to verify. Put the token in IRONFANG_CONNECT_TOKEN, never in a file, a log or a shell history. The connector forwards only to targets given on its command line; the cloud never chooses a destination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoA label for the machine the connector runs on.
routesNoBind the token to these route labels only; default every label the run declares.
run_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only say non-readonly, non-idempotent, non-destructive, open-world. The description goes well beyond: the token is single-use with a ten-minute lifetime, is returned exactly once, must be held in IRONFANG_CONNECT_TOKEN rather than a file/log/history, and the cloud never selects a destination. That is exactly the security and lifecycle context an agent cannot get from annotations.

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 each following sentence carries a distinct operational fact (result contents, secret handling, trust boundary). It is dense and slightly long, but none of the sentences are filler.

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 compensates by enumerating what the result carries: the token, the gateway to dial, the completion command with a 127.0.0.1 target per route label, and the release to verify. Combined with the secret-handling and trust-boundary notes, an agent has enough to call and use the result correctly.

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 67%, and the schema itself already documents both `name` and `routes` (binding and default-to-all-labels). The description adds only the target format (http://127.0.0.1 per route label), which is marginal beyond the schema. Baseline 3 is appropriate.

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 states a concrete verb and artifact: "Mint a single-use, ten-minute bootstrap token" so a local connector can forward callbacks. An agent immediately knows this produces a credential-bearing bootstrap payload. It does not explicitly contrast itself with the closest sibling, rig.connector.status, so it stops short of a 5.

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 clear context for use (firing up `ironfang rig connect` on this machine to forward the run's callbacks) and states a hard constraint: the connector forwards only to targets named on its command line. There are no explicit when-not conditions or named alternatives (e.g. when to prefer rig.connector.status), so it is context-rich but not fully routing.

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.

Resources