Skip to main content
Glama

test_account_checkout

The one operation that returns a test account's secrets: email, password, the current TOTP code if it has a seed and, for a provision account, a real session so the caller need not sign in at all. Meant for whatever signs in to the product, an agent included. Type the values into the sign-in and do not repeat them in your reply or write them to a file. Prefer a short-lived account (expires_in on create) and a short lease. run_ref is required and is written to the activity log with who asked, so every use is traceable to a run. The result is never kept for replay. The checkout is a lease of ttl_seconds (default 900, from 60 to 3600): when it ends, the sessions Helm7 minted for the account are revoked, so a credential that leaks from a finished run stops working quickly. Refused for an expired account.

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>",
      "accountId": "<accountId>",
      "run_ref": "<run_ref>"
    },
    "name": "test_account_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
run_refYesWhat is using the account: a run id, a job name. Up to 200 characters. Recorded in the activity log.
accountIdYesTest account identifier, e.g. tac_7k2m9x4qw1nv8bz3ct6d.
productIdYesProduct identifier, e.g. prd_7k2m9x4qw1nv8bz3ct6d.
ttl_secondsNoHow long the lease lasts. When it ends the sessions minted for this checkout are revoked.
idempotency_keyNoReplaying the same key returns the original result instead of acting twice. Strongly recommended for anything that creates a resource or spends money.
include_passwordNoprovision accounts: also return the password. Off by default, since the session is usually enough; turn it on only for a form sign-in. register accounts and a provision account with no session always get it. The request is recorded in the activity log.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, it discloses the lease model (ttl_seconds 60–3600), the consequence of expiry (Helm7-minted sessions revoked, leaked credentials stop working), traceability (run_ref logged with who asked), that results are never kept for replay, and the refusal case for expired accounts. These are exactly the operational traits an agent needs and that annotations cannot express.

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 and return contents are front-loaded, then safety instructions, then lease semantics. It is dense but most sentences carry distinct information; "The result is never kept for replay" and the expiry explanation overlap somewhat with the ttl_seconds schema text.

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?

With no output schema, the description still spells out what the caller receives and how it may be used (type into sign-in, never echo or persist). Refusals, lease bounds and audit behavior are all covered, leaving nothing essential for correct invocation unstated.

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 decision-level meaning: choose short leases, the lease ending causes session revocation, and run_ref is the audit hook. It omits include_password and idempotency_key, but both are well documented in the schema.

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?

"The one operation that returns a test account's secrets" names a specific verb (checkout/return) and resource, and enumerates exactly what comes back: email, password, current TOTP code, and a session for provision accounts. That explicitly separates it from siblings like test_account_get or test_account_totp.

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?

It states the intended consumer ("whatever signs in to the product, an agent included") and gives actionable advice to "Prefer a short-lived account (expires_in on create) and a short lease." It does not name an alternative sibling for metadata-only lookups, so the when-not guidance is implied rather than 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