Skip to main content
Glama

Verify TOTP and complete connection

termix_docker_verify_totp_complete_connection

Verify a TOTP code to complete an SSH connection. Provide the session ID and code to finish authentication.

Instructions

Verify TOTP and complete connection. Verifies the TOTP code and completes the SSH connection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
totpCodeNo
sessionIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already communicate readOnly=false, idempotent=false, and destructive=false. The description adds only that the SSH connection is 'completed', with no detail about invalid-code handling, session state changes, or consequences of calling it more than once. No annotation contradiction exists.

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

Conciseness3/5

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

The description is very short and front-loaded, but the second sentence merely restates the first. One sentence is essentially redundant, and the remaining content does not earn the space with additional useful detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutating tool with two undocumented parameters, no output schema, and many related TOTP/connection siblings, this description is incomplete. It omits the workflow context, how to obtain sessionId, expected outcomes, and how this tool differs from similar file/metrics variants.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description needed to explain totpCode and sessionId. It only acknowledges the TOTP code and the SSH connection; sessionId is never described, including where it comes from, whether it is required, or how it identifies the pending connection.

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 clear action: verifying a TOTP code and completing an SSH connection. However, it does not distinguish this Docker variant from the closely named sibling termix_files_verify_totp_complete_connection or explain how it fits in the connection-establishment flow.

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

Usage Guidelines2/5

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

No guidance is given on when to use this tool versus alternatives. An agent cannot tell whether it should follow termix_docker_establish_ssh_session_docker, whether termix_docker_complete_warpgate_authentication is a competitor, or when the files/metrics TOTP variants apply.

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

Deploy Server

Other Tools