Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Read test sign-in code

tzcloud_read_test_signin_code
Read-onlyIdempotent

Read the unspent sign-in codes for one of your test end users, newest first, instead of a mailbox. First start sign-in for that address at the realm's test sign-in page, returned by tzcloud_add_test_end_users, or its email sign-in page. Without a start, no code is held. Pass binding to select one start. A code lasts ten minutes, allows five attempts and confirms only in the browser that started sign-in. The call works only for your account and application. On production or workforce realms, a minted token needs test_end_users. Your session needs none.

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>"
    },
    "name": "tzcloud_read_test_signin_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoTest user fixture-domain email, lowercased; use it or `end_user`, never both. Without an unexpired match, refused `not_test_end_user`.
bindingNoOptional: your own binding hash, base64url of the SHA-256 of the binding cookie's value the sign-in start set, selecting that ticket's code alone; leave it out and you get every unspent code, newest first.
end_userNoTest user id or label from `tzcloud_add_test_end_users`, or use `email`, never both; no matching id or label draws `no_such_end_user`.
applicationYesYour account's application `id` from `tzcloud_list_applications`, not its name or label.
environmentYesRequired. The environment whose realm the call addresses, `development` or `production`.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent safety, and the description adds substantial behavior beyond them: the 10-minute code lifetime, a five-attempt limit, browser-bound confirmation, per-account/application scoping, and the `test_end_users` token requirement on production or `workforce` realms. This is exactly the operational context an agent needs before calling.

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 purpose is front-loaded in the first clause, and each following sentence carries operational content (prerequisite, TTL, attempts, scope, auth). It is dense but nearly waste-free; only 'Your session needs none' is terse to the point of ambiguity.

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 could say more about what an unspent code record contains (the code value, expiry, binding), but it covers prerequisites, scoping, lifetime, and auth requirements thoroughly. For a read-only lookup tool of this complexity, it is close to 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 coverage is 100%, so every parameter's meaning is already documented, including the `binding` hash and the email/end_user exclusivity. The description reinforces `binding` as selecting one start and implies the email prerequisite, but adds no syntax or format detail beyond the schema, so the baseline of 3 applies.

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 specific verb and resource ('Read the unspent sign-in codes for one of your test end users') plus ordering ('newest first') and contrasts the source with 'a mailbox', which is precisely how it differs from the email-sign-in siblings. An agent can identify it and its scope without opening the schema.

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

Usage Guidelines4/5

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

Gives an explicit prerequisite chain: a sign-in must first be started at the realm's test sign-in page (or the email sign-in page) or 'no code is held', and `binding` narrows to one start. Scope limits ('only for your account and application') are stated. The mailbox alternative is described by function rather than named as a sibling tool, so routing is clear but not fully explicit.

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