Skip to main content
Glama

vphone_status

Retrieves the current bridge connection state without sending messages, helping you check whether the virtual iOS device link is disconnected, connecting, connected, reconnecting, or in error.

Instructions

Get the current connection status.

Returns the current state of the bridge connection without sending any messages to the bridge. This queries the internal state machine.

States:

  • disconnected: No active connection

  • connecting: Connection in progress

  • connected: Active connection ready for requests

  • reconnecting: Connection lost, attempting recovery

  • error: Connection failed

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": "vphone_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
stateYesConnection state machine states.
connectedYes
uptime_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description does meaningful work: it declares this is a side-effect-free read of internal state that sends nothing over the wire, and it enumerates every possible state value including error and reconnecting. It stops short of covering freshness (whether state is cached) or failure modes of the query itself.

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

Conciseness5/5

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

Front-loaded with the purpose in the first sentence, followed immediately by the key distinguishing behavior, then a compact bulleted state list. There is no filler and every line earns its place.

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?

For a zero-parameter status getter with an output schema, this covers what an agent needs: what it reads, that it has no side effects, and what each state means. Nothing required to call it correctly 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?

The tool takes zero parameters, so the baseline is 4; there is nothing for the description to disambiguate at the input level. The enumerated states add useful meaning about what the returned value can be, even if that overlaps the output schema.

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 ('Get the current connection status') and clarifies the scope is the bridge connection state machine. It implicitly distinguishes itself from message-sending siblings like vphone_ping by noting it does not contact the bridge, though no sibling is named explicitly.

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 rather than stated: 'without sending any messages to the bridge' suggests this is the cheap local check versus an active probe, but there is no explicit 'use this when...' or exclusion of alternatives such as vphone_ping or vphone_connect. An agent must infer the routing.

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