Skip to main content
Glama

create_client

Create an Agenterm remote connection token and invitation. For each optional parameter, use its default unless the user explicitly requests a different value. Do not infer non-default settings from the task or choose them independently. If the user specifies no settings, call with an empty object. Present the entire display_text, translating only its natural-language prose into the user's language. Do not paraphrase, summarize, add, omit, or reorder any content. Preserve all sections and code blocks. Copy commands, URLs, device tokens, and short codes verbatim. Show each original URL as visible text; do not replace it with a Markdown link label. Show the expiry deadline (expires_at) in the user's time zone if known, or UTC otherwise, and label the zone. Keep control_token private and reuse it across turns, including after a wait times out. After presenting the invitation, wait for the device with list_client.

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

Input Schema

NameRequiredDescriptionDefault
multi_deviceNoTrue permits multiple simultaneous devices and reuses the invitation until expiry. False allows one device and a single-use invitation.
connection_modeNoLeave empty to let the recipient choose a mode. Set to temporary to allow only temporary connections.
timeout_secondsNoInvitation lifetime in seconds, as a positive integer. Default 900 (15 minutes). Expiry prevents invitation redemption; it does not disconnect devices that have already connected.

Output Schema

NameRequiredDescriptionDefault
expires_atYesInvitation expiry deadline as a UTC RFC 3339 timestamp.
display_textYesEnglish connection instructions with Markdown code blocks, also returned as text content.
control_tokenYesPrivate scoped control credential in token:key format; never share with the target device.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / connection_mode
      Added value: +{
      +  "default": "",
      +  "description": "Leave empty to let the recipient choose a mode. Set to temporary to allow only temporary connections.",
      +  "enum": [
      +    "",
      +    "temporary"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / properties / temporary_assistance
      Removed value: -{
      -  "default": false,
      -  "description": "Use a temporary installation for terminal assistance and remove it after disconnecting. Defaults to false. Run the invitation's one-click installer on the target device. P2P is unavailable for this mode.",
      -  "type": "boolean"
      -}
  2. Changed1 schema field changed
    • addedInput schema / properties / multi_device / default
      Added value: +false
  3. Changed14 schema fields changed
    • removedOutput schema / properties / device_token
      Removed value: -{
      -  "description": "Device connection credential; it cannot authorize MCP control. Use the separate control_token for control access.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / display_text / description
      Previous value: -"Fixed English connection template with Markdown code blocks, identical to the tool's text content. Present all sections in order in the user's language; keep commands, URLs and tokens unchanged. Each command must be placed in its own Markdown code block. Express the lifetime in readable equivalent units. If the user's time zone is known, convert expires_at and label the time zone; otherwise show UTC. Do not infer the time zone from language or server settings."New value: +"English connection instructions with Markdown code blocks, also returned as text content."
    • removedOutput schema / properties / invitation
      Removed value: -{
      -  "description": "Private invitation credential for target-client authorization; expires at expires_at.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / invitation_url
      Removed value: -{
      -  "description": "Private browser address for viewing the device invitation, available with or without short codes. Treat it as a credential.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / macos_linux_command
      Removed value: -{
      -  "description": "macOS/Linux connection command containing private invitation access.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / multi_device
      Removed value: -{
      -  "description": "True permits multiple simultaneous devices and reuses the invitation until expiry. False allows one device and a single-use invitation.",
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / short_code
      Removed value: -{
      -  "description": "Random short code for up to 10 successful redemptions of a single-device connection token; omitted in multi-device mode or when short codes are disabled. Treat it as a credential.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / short_code_expires_at
      Removed value: -{
      -  "description": "Initial UTC expiry of the short code, matching the token’s initial expiry; the deadline changes with the token lifecycle; omitted in multi-device mode or when short codes are disabled.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / short_code_url
      Removed value: -{
      -  "description": "Scheme-free private browser address for viewing connection instructions; valid while the short code is valid. Treat it as a credential.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / temporary_assistance
      Removed value: -{
      -  "description": "Use a temporary installation for terminal assistance and remove it after disconnecting. Defaults to false. Run the invitation's one-click installer on the target device. P2P is unavailable for this mode.",
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / token_identifier
      Removed value: -{
      -  "description": "Public identifier for recognizing the connection token; not an authentication secret.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / token_initial_expires_at
      Removed value: -{
      -  "description": "Initial UTC expiry of the connection token before the first device connects; also applies to one-click commands.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / windows_powershell_command
      Removed value: -{
      -  "description": "Windows connection command containing private invitation access.",
      -  "type": "string"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "device_token",
      -  "control_token",
      -  "multi_device",
      -  "invitation",
      -  "invitation_url",
      -  "expires_at",
      -  "token_initial_expires_at",
      -  "macos_linux_command",
      -  "windows_powershell_command",
      -  "display_text"
      -]New value: +[
      +  "control_token",
      +  "display_text",
      +  "expires_at"
      +]
  4. Changed4 schema fields changed
    • addedInput schema / properties / temporary_assistance
      Added value: +{
      +  "default": false,
      +  "description": "Use a temporary installation for terminal assistance and remove it after disconnecting. Defaults to false. Run the invitation's one-click installer on the target device. P2P is unavailable for this mode.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / invitation_url
      Added value: +{
      +  "description": "Private browser address for viewing the device invitation, available with or without short codes. Treat it as a credential.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / temporary_assistance
      Added value: +{
      +  "description": "Use a temporary installation for terminal assistance and remove it after disconnecting. Defaults to false. Run the invitation's one-click installer on the target device. P2P is unavailable for this mode.",
      +  "type": "boolean"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "device_token",
      -  "control_token",
      -  "multi_device",
      -  "invitation",
      -  "expires_at",
      -  "token_initial_expires_at",
      -  "macos_linux_command",
      -  "windows_powershell_command",
      -  "display_text"
      -]New value: +[
      +  "device_token",
      +  "control_token",
      +  "multi_device",
      +  "invitation",
      +  "invitation_url",
      +  "expires_at",
      +  "token_initial_expires_at",
      +  "macos_linux_command",
      +  "windows_powershell_command",
      +  "display_text"
      +]
  5. Changed3 schema fields changed
    • removedOutput schema / properties / client_token
      Removed value: -{
      -  "description": "Device connection credential; it cannot authorize MCP control. Use the separate control_token for control access.",
      -  "type": "string"
      -}
    • addedOutput schema / properties / device_token
      Added value: +{
      +  "description": "Device connection credential; it cannot authorize MCP control. Use the separate control_token for control access.",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "client_token",
      -  "control_token",
      -  "multi_device",
      -  "invitation",
      -  "expires_at",
      -  "token_initial_expires_at",
      -  "macos_linux_command",
      -  "windows_powershell_command",
      -  "display_text"
      -]New value: +[
      +  "device_token",
      +  "control_token",
      +  "multi_device",
      +  "invitation",
      +  "expires_at",
      +  "token_initial_expires_at",
      +  "macos_linux_command",
      +  "windows_powershell_command",
      +  "display_text"
      +]
  6. Changed2 schema fields changed
    • changedInput schema / properties / timeout_seconds / default
      Previous value: -300New value: +900
    • changedInput schema / properties / timeout_seconds / description
      Previous value: -"Invitation lifetime in seconds, as a positive integer. Default 300 (5 minutes). Expiry prevents invitation redemption; it does not disconnect devices that have already connected."New value: +"Invitation lifetime in seconds, as a positive integer. Default 900 (15 minutes). Expiry prevents invitation redemption; it does not disconnect devices that have already connected."
  7. Changed3 schema fields changed
    • changedOutput schema / properties / short_code / description
      Previous value: -"Single-use random short code for looking up a single-device connection token; omitted in multi-device mode or when short codes are disabled. Treat it as a credential."New value: +"Random short code for up to 10 successful redemptions of a single-device connection token; omitted in multi-device mode or when short codes are disabled. Treat it as a credential."
    • changedOutput schema / properties / short_code_expires_at / description
      Previous value: -"UTC expiry of the short code, independent of the invitation expiry; omitted in multi-device mode or when short codes are disabled."New value: +"Initial UTC expiry of the short code, matching the token’s initial expiry; the deadline changes with the token lifecycle; omitted in multi-device mode or when short codes are disabled."
    • addedOutput schema / properties / short_code_url
      Added value: +{
      +  "description": "Scheme-free private browser address for viewing connection instructions; valid while the short code is valid. Treat it as a credential.",
      +  "type": "string"
      +}
  8. Changed7 schema fields changed
    • changedOutput schema / properties / client_token / description
      Previous value: -"Private credential for this target group. Pass as client_token with management access (including stdio and no-password mode) or as the MCP bearer token for device-scoped access."New value: +"Device connection credential; it cannot authorize MCP control. Use the separate control_token for control access."
    • addedOutput schema / properties / control_token
      Added value: +{
      +  "description": "Private scoped control credential in token:key format; never share with the target device.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / display_text / description
      Previous value: -"Fixed English plain-text connection template, identical to the tool's text content. Translate only headings and explanatory prose into the user's conversation language. Preserve all sections, order and line breaks; keep commands, URLs, tokens, validity numbers and expiry timestamps unchanged. Do not omit content or add Markdown formatting."New value: +"Fixed English connection template with Markdown code blocks, identical to the tool's text content. Present all sections in order in the user's language; keep commands, URLs and tokens unchanged. Each command must be placed in its own Markdown code block. Express the lifetime in readable equivalent units. If the user's time zone is known, convert expires_at and label the time zone; otherwise show UTC. Do not infer the time zone from language or server settings."
    • addedOutput schema / properties / short_code
      Added value: +{
      +  "description": "Single-use random short code for looking up a single-device connection token; omitted in multi-device mode or when short codes are disabled. Treat it as a credential.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / short_code_expires_at
      Added value: +{
      +  "description": "UTC expiry of the short code, independent of the invitation expiry; omitted in multi-device mode or when short codes are disabled.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / token_initial_expires_at
      Added value: +{
      +  "description": "Initial UTC expiry of the connection token before the first device connects; also applies to one-click commands.",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "client_token",
      -  "multi_device",
      -  "invitation",
      -  "expires_at",
      -  "macos_linux_command",
      -  "windows_powershell_command",
      -  "display_text"
      -]New value: +[
      +  "client_token",
      +  "control_token",
      +  "multi_device",
      +  "invitation",
      +  "expires_at",
      +  "token_initial_expires_at",
      +  "macos_linux_command",
      +  "windows_powershell_command",
      +  "display_text"
      +]
  9. Changed1 schema field changed
    • addedOutput schema / properties / token_identifier
      Added value: +{
      +  "description": "Public identifier for recognizing the connection token; not an authentication secret.",
      +  "type": "string"
      +}
  10. Changed1 schema field changed
    • changedOutput schema / properties / display_text / description
      Previous value: -"User-facing connection instructions containing credentials and commands for both platforms."New value: +"Fixed English plain-text connection template, identical to the tool's text content. Translate only headings and explanatory prose into the user's conversation language. Preserve all sections, order and line breaks; keep commands, URLs, tokens, validity numbers and expiry timestamps unchanged. Do not omit content or add Markdown formatting."
  11. Changed2 schema fields changed
    • removedOutput schema / properties / next_action
      Removed value: -{
      -  "additionalProperties": false,
      -  "description": "Next step to perform. Invitation creation returns the exact tool call and deadline; other tools return human-readable guidance.",
      -  "properties": {
      -    "arguments": {
      -      "additionalProperties": false,
      -      "description": "Arguments for the next tool call.",
      -      "properties": {
      -        "client_token": {
      -          "description": "Private credential for this target group. Pass as client_token with management access (including stdio and no-password mode) or as the MCP bearer token for device-scoped access.",
      -          "type": "string"
      -        },
      -        "wait_ms": {
      -          "description": "Server-side connection wait duration in milliseconds.",
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "client_token",
      -        "wait_ms"
      -      ],
      -      "type": "object"
      -    },
      -    "instructions": {
      -      "description": "Workflow guidance for completing the next action.",
      -      "type": "string"
      -    },
      -    "tool": {
      -      "description": "Name of the next MCP tool to call.",
      -      "type": "string"
      -    },
      -    "until": {
      -      "description": "UTC RFC 3339 deadline for following this action.",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "tool",
      -    "arguments",
      -    "until",
      -    "instructions"
      -  ],
      -  "type": "object"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "client_token",
      -  "multi_device",
      -  "invitation",
      -  "expires_at",
      -  "next_action",
      -  "macos_linux_command",
      -  "windows_powershell_command",
      -  "display_text"
      -]New value: +[
      +  "client_token",
      +  "multi_device",
      +  "invitation",
      +  "expires_at",
      +  "macos_linux_command",
      +  "windows_powershell_command",
      +  "display_text"
      +]
  12. Changed1 schema field changed
    • addedInput schema / properties / timeout_seconds
      Added value: +{
      +  "default": 300,
      +  "description": "Invitation lifetime in seconds, as a positive integer. Default 300 (5 minutes). Expiry prevents invitation redemption; it does not disconnect devices that have already connected.",
      +  "maximum": 9223372036,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  13. Changed4 schema fields changed
    • addedInput schema / properties / multi_device / description
      Added value: +"True permits multiple simultaneous devices and reuses the invitation until expiry. False allows one device and a single-use invitation."
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +false
    • addedOutput schema / properties
      Added value: +{
      +  "client_token": {
      +    "description": "Private credential for this target group. Pass as client_token with management access (including stdio and no-password mode) or as the MCP bearer token for device-scoped access.",
      +    "type": "string"
      +  },
      +  "display_text": {
      +    "description": "User-facing connection instructions containing credentials and commands for both platforms.",
      +    "type": "string"
      +  },
      +  "expires_at": {
      +    "description": "Invitation expiry deadline as a UTC RFC 3339 timestamp.",
      +    "type": "string"
      +  },
      +  "invitation": {
      +    "description": "Private invitation credential for target-client authorization; expires at expires_at.",
      +    "type": "string"
      +  },
      +  "macos_linux_command": {
      +    "description": "macOS/Linux connection command containing private invitation access.",
      +    "type": "string"
      +  },
      +  "multi_device": {
      +    "description": "True permits multiple simultaneous devices and reuses the invitation until expiry. False allows one device and a single-use invitation.",
      +    "type": "boolean"
      +  },
      +  "next_action": {
      +    "additionalProperties": false,
      +    "description": "Next step to perform. Invitation creation returns the exact tool call and deadline; other tools return human-readable guidance.",
      +    "properties": {
      +      "arguments": {
      +        "additionalProperties": false,
      +        "description": "Arguments for the next tool call.",
      +        "properties": {
      +          "client_token": {
      +            "description": "Private credential for this target group. Pass as client_token with management access (including stdio and no-password mode) or as the MCP bearer token for device-scoped access.",
      +            "type": "string"
      +          },
      +          "wait_ms": {
      +            "description": "Server-side connection wait duration in milliseconds.",
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "client_token",
      +          "wait_ms"
      +        ],
      +        "type": "object"
      +      },
      +      "instructions": {
      +        "description": "Workflow guidance for completing the next action.",
      +        "type": "string"
      +      },
      +      "tool": {
      +        "description": "Name of the next MCP tool to call.",
      +        "type": "string"
      +      },
      +      "until": {
      +        "description": "UTC RFC 3339 deadline for following this action.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "tool",
      +      "arguments",
      +      "until",
      +      "instructions"
      +    ],
      +    "type": "object"
      +  },
      +  "windows_powershell_command": {
      +    "description": "Windows connection command containing private invitation access.",
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "client_token",
      +  "multi_device",
      +  "invitation",
      +  "expires_at",
      +  "next_action",
      +  "macos_linux_command",
      +  "windows_powershell_command",
      +  "display_text"
      +]
  14. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only convey that this is a non-readonly, non-idempotent, non-destructive, closed-world write; the description adds genuinely new behavioral facts: control_token is sensitive and must be reused across turns even after a wait times out, and display_text must be reproduced verbatim with zones labeled on expires_at. What it does not cover is multiplicity behavior on repeated calls (non-idempotent creation of additional invitations), which is why this is a 4 rather than a 5.

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?

Purpose is front-loaded in the first clause, followed by parameter policy, then output-fidelity and lifecycle rules. It is longer than most definitions and has some near-repetition around verbatim display_text handling ('do not paraphrase, summarize, add, omit' plus 'copy commands, URLs, device tokens, and short codes verbatim'), but each rule constrains a distinct failure mode.

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-required-parameter creation tool with a full output schema, the definition covers invocation policy, output presentation, secret handling for control_token, time-zone rendering of expires_at, and the next step via list_client. Nothing an agent needs in order to call it and handle its result correctly is missing.

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 each of the three parameters is fully documented in the schema, so the baseline is 3. The description adds only a cross-cutting default policy (never deviate from defaults unless the user asks) rather than per-parameter meaning, which is useful but does not materially extend the schema's semantics.

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?

States a concrete verb and resource: 'Create an Agenterm remote connection token and invitation.' This is distinct from the sibling set (list_client, close_client, execute_command, etc.), which are lifecycle/execution tools on an existing connection, and the description explicitly names list_client as the follow-up step, so an agent can place this tool in the workflow without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit invocation policy: use each optional parameter's default unless the user explicitly requests otherwise, do not infer non-default settings, and call with an empty object when the user specifies nothing. It also states the sequencing rule ('After presenting the invitation, wait for the device with list_client'), naming the alternative action and its trigger.

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