Skip to main content
Glama

relay_status

Read-onlyIdempotent

Check a relay: the user opened https://synthhub.roomi-fields.com/connect/ (or ran osc-bridge connect) and gave you its pairing code. Returns the MIDI output and input ports of their machine, and devices: the driver the user confirmed for each port on the page (use it directly, no detection needed). Nothing is sent to the hardware.

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": {
      "code": "<code>"
    },
    "name": "relay_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesThe pairing code the relay page or program shows (e.g. 'K7QM-2XPA').
user_idNoYour anonymous SynthHub id, if you kept it from an earlier session (see the server instructions). Optional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / user_id / description
      Previous value: -"Your anonymous osc-bridge id, if you kept it from an earlier session (see the server instructions). Optional."New value: +"Your anonymous SynthHub id, if you kept it from an earlier session (see the server instructions). Optional."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, and openWorld behavior. The description adds meaningful context beyond that: it says nothing is sent to the hardware and that the returned driver is user-confirmed and should be used directly without detection. It does not cover error or expiry behavior for pairing codes, but the added behavioral detail is strong.

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 description is short and front-loads the core action. The second sentence is somewhat dense, but every part conveys useful operational context about the return value and hardware behavior.

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?

For a read-only status tool with rich annotations and no output schema, the description supplies enough context: what triggers it, what it returns, and that it does not affect hardware. It could more fully explain pairing-code failure modes or alternatives, but it is broadly complete.

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 description coverage is 100%, and both the pairing code and optional user_id are documented in the schema. The description reinforces the pairing-code context but does not add format or semantic details beyond what the schema already provides, so 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 specific verb and resource: 'Check a relay', and explains that it returns MIDI ports and confirmed devices. It does not explicitly distinguish itself from siblings such as relay_detect, relay_listen, or relay_send, so it falls short of full sibling differentiation.

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?

Usage is implied by the condition that the user opened the relay page or ran osc-bridge connect and provided a pairing code. However, there is no explicit when-not guidance or comparison to alternative relay tools, leaving the agent to infer when this is preferred over relay_detect or relay_listen.

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.