Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Sign in test app user

tzcloud_sign_in_test_end_user

Sign one of your test end users in for the turnzero command, without a mailbox. With no shell, use tzcloud_request_route or tzcloud_write_route with test_end_user for one signed-in call instead. This call returns the command turnzero session in four forms. It signs nobody in yet. Run one form once with turnzero 0.37.0 or later. It writes the cookie to a jar that curl -b reads. The value never reaches your tool. The session ends at the earliest of one hour, the user's expiry and the realm token's life.

The command uses TURNZERO_CLOUD_MINTED_TOKEN, or this computer's token if unset. On production or workforce realms, its token needs test_end_users, even when your session requested the command. Without the grant there, a minted token's call and command are refused test_end_users_not_admitted. An expired or real user is refused not_test_end_user.

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": {
      "application": "<application>",
      "environment": "<environment>",
      "end_user": "<end_user>"
    },
    "name": "tzcloud_sign_in_test_end_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_userYesThe test end user's id from `tzcloud_add_test_end_users` or `tzcloud_list_end_users`, or its label, the address's local part. An identifier-shaped value is read as an id; any other as a label. An id no row holds is refused `no_such_end_user`.
applicationYesYour account's application `id` from `tzcloud_list_applications`, not its name or label.
environmentYesRequired. The environment whose realm the test end user signs in to, `development` or `production`.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations, it discloses that the call returns a command in four forms rather than completing sign-in, that the cookie lands in a jar read by `curl -b`, and that the credential never reaches the tool. It further explains the auth source (`TURNZERO_CLOUD_MINTED_TOKEN` or the machine token), the required `test_end_users` grant on production/workforce realms, and the resulting `test_end_users_not_admitted` refusal. Session lifetime (earliest of one hour, user expiry, realm token life) is also stated. readOnlyHint=false is consistent with creating a session.

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 most decision-critical fact — that this call signs nobody in and instead returns a command to run — appears in the third sentence, after a cryptic opener about 'the turnzero command, without a mailbox.' Sentences earn their place substantively, but the ordering and density of jargon ('four forms', 'the command `turnzero session`') make it slower to parse than it needs to be.

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?

With no output schema, the description carries the return-value burden and does so at a high level ('returns the command `turnzero session` in four forms', cookie written to a jar), plus auth prerequisites, error codes, and session lifetime. For a three-required-parameter tool with a non-obvious effect, this is close to complete; only the actual shape of the four command forms is left unspecified.

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%, so all three parameters are documented in the schema itself, including the id-vs-label resolution for `end_user` and the id-not-name constraint for `application`. The description adds only indirect parameter context (the environment's realm and the `test_end_users` grant requirement), not new meaning for individual fields. Baseline 3 applies.

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 opening clause names a specific verb and resource ('Sign one of your test end users in'), and the description explicitly separates this from the sibling routes (`tzcloud_request_route`/`tzcloud_write_route` with `test_end_user`). It also corrects a likely misreading by stating 'It signs nobody in yet' and that the call returns a command. The purpose is stated, but it is buried under dense, non-standard phrasing ('for the turnzero command, without a mailbox') that slows identification.

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?

It gives an explicit alternative and the condition that selects it: 'With no shell, use `tzcloud_request_route` or `tzcloud_write_route` with `test_end_user` for one signed-in call instead.' It adds a version prerequisite ('Run one form once with turnzero 0.37.0 or later') and states which users are rejected ('An expired or real user is refused `not_test_end_user`'). When-to-use, when-not, and prerequisites are all present.

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