Skip to main content
Glama

Verify Login

verify_login

Prove a sign-in works end to end: signs in for real through this Bridge environment exactly as the SDK does (from one of the app's allowed origins), exchanges the session for tokens, and verifies the access token against the published JWKS. Returns verified with the steps and evidence (key id, algorithm, issuer, audience, subject, workspace, expiry, claims checked) — never the tokens. When verified is false, failure names the reason (WRONG_PASSWORD, USER_NOT_FOUND, NO_PASSWORD_SET, NO_ACTIVE_WORKSPACE, ORIGIN_NOT_ALLOWED, MFA_REQUIRED, …) and its fix. Use the credentials from create_test_user. Same as bridge test-user verify. If sign-in works here but not in the app, the app code is the difference: call get_integration_guide with topic=auth and the framework the app uses.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appNoId of the Bridge app to act on for this call (see list_apps). Omit to use the current app.
emailYesEmail of the user to sign in as.
originNoOrigin to sign in from; must be one of the app's allowed origins. Defaults to the app's UI URL.
passwordYesTheir password. Used for this one sign-in; never stored or returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false) only give the safety profile; the description adds that it performs a real sign-in, never stores or returns tokens, enumerates concrete failure reasons with fixes, and describes the evidence returned. This is substantial context beyond the structured fields and is consistent with the annotations.

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?

Front-loaded with the core purpose and efficient throughout, but it is a dense single paragraph packing return values, failure modes, and alternatives. Every sentence earns its place, though slightly heavy.

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 fully carries the return-value burden, explaining the `verified` result, the evidence fields, and the `failure`/`fix` structure on failure. Nothing needed to call it correctly is missing.

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 meaning beyond the schema by tying email/password to credentials from create_test_user and clarifying that origin must be an allowed origin. It doesn't add much syntax detail, so a 4 rather than 5.

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+resource ('Prove a sign-in works end to end') and elaborates the exact mechanism (signs in through the Bridge environment as the SDK does, exchanges session for tokens, verifies against JWKS). This clearly separates it from read-only siblings like get_auth_config or debug_auth_issue.

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?

Gives concrete when-to-use ('Use the credentials from create_test_user') and an explicit alternative path for the contrasting scenario ('If sign-in works here but not in the app... call get_integration_guide with topic=auth'). Both the precondition and the fallback tool are named.

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.