Skip to main content
Glama

test_account_create

Makes a sign-in a tester can use to drive the product's real interface, kept per environment. mode provision creates the user in the environment's managed auth: Helm7 generates a strong password, stores only a hash in auth and an encrypted copy of its own, confirms the address, and tags the user (app_metadata.is_test = true, email +helm7test@) so analytics and revenue views can leave it out. Needs managed auth enabled, so run auth_enable first. mode external does the same in the Product's own auth service instead, with auth_provider (today: supabase): Helm7 reads the project URL and admin key from the environment's stored variables (NEXT_PUBLIC_SUPABASE_URL or SUPABASE_URL, and SUPABASE_SERVICE_ROLE_KEY), uses them for that one call and never returns them, so a Product whose auth lives elsewhere needs no key handed to the caller. The user is confirmed and tagged app_metadata.is_test; rotate and delete only ever touch a tagged user. mode register records an account somebody created elsewhere (a product hosted outside Helm7): send its email and password, and optionally a TOTP seed. Nothing here is ever returned: the password and seed are write-only, and list and get show a fingerprint and whether a seed exists. The one way to read them is test_account_checkout. Pass expires_in (for example 24h or 7d) or expires_at to make the account temporary: once it passes, the account is disabled, its stored secrets are wiped and, for provision, its auth user is removed, within about five minutes. Leave both out for a long-lived account. Test accounts must never pay for anything real; a flow that reaches a live paywall should stop there.

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": {
      "productId": "<productId>",
      "label": "<label>",
      "mode": "<mode>"
    },
    "name": "test_account_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYesprovision creates the user in managed auth. external creates it in the Product's own auth service (see auth_provider). register records an account that already exists.
roleNoWhat the account is for, in your words: member, admin, free-tier, paid. Shown beside it; Helm7 does not interpret it.
emailNoregister: required. provision: leave out to use <label>+helm7test@<domain>; if given it must still carry the +helm7test tag so it is recognisable as a test user.
labelYesLower case letters, digits and hyphens. Names the account and, for provision, its email local part. Unique within the environment.
notesNoFree text for people, up to 500 characters. Never put a secret here.
confirmNoRequired for destructive operations. Without it a destructive call returns its plan and refuses, exactly as dry_run would.
dry_runNoReturn the plan without applying it: the resources it would create, change or destroy, and an estimated monthly cost. Free, and has no side effects. Call this before any change you have not made before.
passwordNoregister: required. provision: leave out, Helm7 generates one. Write-only.
productIdYesProduct identifier, e.g. prd_7k2m9x4qw1nv8bz3ct6d.
expires_atNoMake the account temporary until this moment. Between 5 minutes and 90 days away. Exclusive with expires_in.
expires_inNoMake the account temporary: minutes, hours or days from now, e.g. 90m, 24h, 7d. From 5 minutes to 90 days. Exclusive with expires_at.
environmentNoEnvironment within a Product. Every Product has production; preview and development are optional. pr-<number> is the preview of an open pull request, made and removed by the GitHub integration on Pro.
totp_secretNoBase32 seed of the account's authenticator app, if it has two-factor sign-in. Helm7 stores it and generates codes with test_account_totp; it does not enrol it anywhere. Write-only.
auth_providerNoexternal only: which auth service holds the Product's users.
idempotency_keyNoReplaying the same key returns the original result instead of acting twice. Strongly recommended for anything that creates a resource or spends money.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare non-read-only, non-idempotent, non-destructive; the description adds substantial behavior beyond that: password generation and hashing, encrypted copy stored, address confirmation, tagging with app_metadata.is_test, the ~5 minute expiry cascade (disable, wipe secrets, remove auth user), and the write-only guarantee for password/TOTP seed. It also discloses that external mode reads env-stored credentials and never returns them.

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 first sentence front-loads the purpose well, but everything after it is a dense single block that interleaves mode behavior, credential handling, expiry semantics and policy into one paragraph. Nearly every sentence carries information, yet the lack of structure around the three modes makes it harder to scan than its length justifies.

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 15-parameter, no-output-schema, minimally annotated mutation tool, the description covers what an agent needs: mode selection, prerequisites, credential handling, expiry lifecycle, sibling routing for reads, and the safety policy. Return behavior is addressed ('Nothing here is ever returned... list and get show a fingerprint'), so the missing output schema is not a gap.

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?

Schema coverage is 100% so the baseline is 3, but the description adds real meaning the schema does not: which env variable names external mode reads (NEXT_PUBLIC_SUPABASE_URL/SUPABASE_URL and SUPABASE_SERVICE_ROLE_KEY), the consequences of expiry timers, and the requirement that a supplied email carry the +helm7test tag. Minor fields like idempotency_key, dry_run and confirm are left to the schema's own text.

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 states a concrete resource and intent ('a sign-in a tester can use to drive the product's real interface, kept per environment') and then differentiates the three modes with specific verbs (provision creates in managed auth, external creates in Product auth, register records an existing account). It explicitly routes the read path to test_account_checkout and notes rotate/delete only touch tagged users, though it never fully contrasts provision vs external in a single comparison sentence, so sibling differentiation is present but scattered.

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 explicit when-to-use per mode, states the prerequisite ('Needs managed auth enabled, so run auth_enable first'), explains when to pass expires_in/expires_at versus leaving both out for a long-lived account, and states a hard exclusion ('Test accounts must never pay for anything real; a flow that reaches a live paywall should stop there'). Alternatives and conditions are named rather than inferred.

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